Hi Andy,
On 24-08-23, Andy Shevchenko wrote:
> On Mon, Jul 01, 2024 at 03:53:39PM +0200, Marco Felsch wrote:
> > This series adds the intial support to handle EEPROMs via the MTD layer
> > as well. This allow the user-space to have separate paritions since
> > EEPROMs c
Hi Miquel,
On 24-07-17, Miquel Raynal wrote:
> Hi Marco,
>
> > > > > Overall I think the idea of getting rid of these misc/ drivers is goes
> > > > > into the right direction, but registering directly into NVMEM makes
> > > > > more sense IMO.
> > > >
> > > > So you propose to have two place
On 24-07-09, Miquel Raynal wrote:
> Hi Marco,
>
> > > > > >> I also found a thread from 2013 by Maxime Ripard (+Cc) suggesting
> > > > > >> adding
> > > > > >> EEPROMs to MTD [1]. The main purpose would have been unifying the
> > > > > >> EEPROM
> > > > > >> drivers under a single interface. I a
Hi Miquel,
On 24-07-08, Miquel Raynal wrote:
> Hi,
>
> > > >> >> Port the current misc/eeprom/at24.c driver to the MTD framework
> > > >> >> since
> > > >> >> EEPROMs are memory-technology devices and the framework already
> > > >> >> supports
> > > >> >
> > > >> > I was under the impression
Hi,
On 24-07-02, Bartosz Golaszewski wrote:
> On Mon, Jul 1, 2024 at 3:54 PM Marco Felsch wrote:
> >
> > All kernel users are shifted to the new MTD_EEPROM_AT24 Kconfig symbol
> > so we can drop the old one.
> >
>
> Nope, with this series arm64 still selects
On 24-07-01, Sergei Shtylyov wrote:
> On 7/1/24 4:53 PM, Marco Felsch wrote:
>
> > Provide a simple helper to make it easy to detect an master mtd device.
> >
> > Signed-off-by: Marco Felsch
> > ---
> > include/linux/mtd/mtd.h | 5 +
> > 1 file ch
MC551) += pmc551.o
diff --git a/drivers/misc/eeprom/at24.c b/drivers/mtd/devices/at24.c
similarity index 92%
rename from drivers/misc/eeprom/at24.c
rename to drivers/mtd/devices/at24.c
index 4bd4f32bcdab..713f40a1d95c 100644
--- a/drivers/misc/eeprom/at24.c
+++ b/drivers/mtd/devices/at24.c
@@ -
ied that the
list of recipients is quite large due to the defconfig changes.
Regards,
Marco
Signed-off-by: Marco Felsch
---
Marco Felsch (9):
mtd: core: add nvmem_write support
mtd: add mtd_is_master helper
mtd: add support to handle EEPROM devices
mtd: devices: add AT24 eepr
Provide a simple helper to make it easy to detect an master mtd device.
Signed-off-by: Marco Felsch
---
include/linux/mtd/mtd.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 8d10d9d2e830..bf3fc2ea7230 100644
--- a/include/linux
The EEPROM_AT24 Kconfig symbol is marked as deprecated. Make use of the
new Kconfig symbol to select the I2C EEPROM driver support.
Signed-off-by: Marco Felsch
---
arch/powerpc/configs/44x/warp_defconfig | 2 +-
arch/powerpc/configs/mpc512x_defconfig | 2 +-
arch/powerpc/configs
The EEPROM_AT24 Kconfig symbol is marked as deprecated. Make use of the
new Kconfig symbol to select the I2C EEPROM driver support.
Signed-off-by: Marco Felsch
---
arch/arm/configs/aspeed_g4_defconfig | 2 +-
arch/arm/configs/aspeed_g5_defconfig | 2 +-
arch/arm/configs/at91_dt_defconfig
The EEPROM_AT24 Kconfig symbol is marked as deprecated. Make use of the
new Kconfig symbol to select the I2C EEPROM driver support.
Signed-off-by: Marco Felsch
---
arch/loongarch/configs/loongson3_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/loongarch
All kernel users are shifted to the new MTD_EEPROM_AT24 Kconfig symbol
so we can drop the old one.
Signed-off-by: Marco Felsch
---
drivers/misc/eeprom/Kconfig | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/misc/eeprom/Kconfig b/drivers/misc/eeprom/Kconfig
index 3a9aaec2f2c7
must be set to the I2C device instead of the MTD device and the
name must be either the I2C device name or the name specified via the
label.
Signed-off-by: Marco Felsch
---
drivers/mtd/mtdcore.c | 32 +++-
include/uapi/mtd/mtd-abi.h | 2 ++
2 files changed, 33
The EEPROM_AT24 Kconfig symbol is marked as deprecated. Make use of the
new Kconfig symbol to select the I2C EEPROM driver support.
Signed-off-by: Marco Felsch
---
arch/mips/configs/cavium_octeon_defconfig | 2 +-
arch/mips/configs/db1xxx_defconfig| 2 +-
2 files changed, 2 insertions
The MTD framework does support the NVMEM framework already but only the
read support was implemented. This commit adds the write support if the
MTD device supports writing (MTD_WRITEABLE is set).
Signed-off-by: Marco Felsch
---
drivers/mtd/mtdcore.c | 17 -
1 file changed, 16
Make use of the new macro to get device defered information for free
and to cleanup the code a bit. No functional changes.
Signed-off-by: Marco Felsch
---
sound/soc/fsl/fsl_sai.c | 33 +++--
1 file changed, 11 insertions(+), 22 deletions(-)
diff --git a/sound/soc
Use a local variable to dereference the device pointer once and use the
local variable in further calls. No functional changes.
Signed-off-by: Marco Felsch
---
sound/soc/fsl/fsl_sai.c | 53 +
1 file changed, 27 insertions(+), 26 deletions(-)
diff --git a
e. It took a while to find the missing Kconfig. Make this easier
for others by printing a error if this the module isn't available but
required by the HW.
Signed-off-by: Marco Felsch
---
sound/soc/fsl/fsl_sai.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sound/so
On 20-08-25 20:05, Yu Kuai wrote:
> if of_find_device_by_node() succeed, imx_es8328_probe() doesn't have
> a corresponding put_device().
Why do we need the ssi_pdev reference here at all?
Regards,
Marco
20 matches
Mail list logo