OpenCloudOS-Kernel/drivers/w1/slaves
Rafał Miłecki 26e2fe4cab nvmem: add explicit config option to read old syntax fixed OF cells
[ Upstream commit 2cc3b37f5b6df8189d55d0e812d9658ce256dfec ]

Binding for fixed NVMEM cells defined directly as NVMEM device subnodes
has been deprecated. It has been replaced by the "fixed-layout" NVMEM
layout binding.

New syntax is meant to be clearer and should help avoiding imprecise
bindings.

NVMEM subsystem already supports the new binding. It should be a good
idea to limit support for old syntax to existing drivers that actually
support & use it (we can't break backward compatibility!). That way we
additionally encourage new bindings & drivers to ignore deprecated
binding.

It wasn't clear (to me) if rtc and w1 code actually uses old syntax
fixed cells. I enabled them to don't risk any breakage.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
[for meson-{efuse,mx-efuse}.c]
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
[for mtk-efuse.c, nvmem/core.c, nvmem-provider.h]
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
[MT8192, MT8195 Chromebooks]
Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
[for microchip-otpc.c]
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
[SAMA7G5-EK]
Tested-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20231020105545.216052-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: d2d73a6dd173 ("mtd: limit OTP NVMEM cell parse to non-NAND devices")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-17 12:01:55 +02:00
..
Kconfig w1: Fix Kconfig indentation 2023-05-08 08:14:50 +02:00
Makefile w1: new driver. DS2430 chip 2019-11-14 13:06:33 +08:00
w1_ds28e04.c w1: minor white-space and code style fixes 2023-04-20 14:15:06 +02:00
w1_ds28e17.c w1: use octal for file permissions 2023-04-20 14:15:06 +02:00
w1_ds250x.c nvmem: add explicit config option to read old syntax fixed OF cells 2024-05-17 12:01:55 +02:00
w1_ds2405.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2406.c w1: use octal for file permissions 2023-04-20 14:15:06 +02:00
w1_ds2408.c w1: minor white-space and code style fixes 2023-04-20 14:15:06 +02:00
w1_ds2413.c w1: use octal for file permissions 2023-04-20 14:15:06 +02:00
w1_ds2423.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2430.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2431.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2433.c w1: ds2433: do not use assignment in if condition 2023-04-20 14:15:06 +02:00
w1_ds2438.c w1: ds2438: remove redundant initialization of variable crc 2023-05-08 08:14:51 +02:00
w1_ds2780.c w1: minor white-space and code style fixes 2023-04-20 14:15:06 +02:00
w1_ds2780.h
w1_ds2781.c w1: minor white-space and code style fixes 2023-04-20 14:15:06 +02:00
w1_ds2781.h
w1_ds2805.c w1: use octal for file permissions 2023-04-20 14:15:06 +02:00
w1_smem.c
w1_therm.c w1: therm: constify pointers to hwmon_channel_info 2023-05-08 12:16:38 +02:00