From: H. Nikolaus Schaller <hidden> Date: 2020-02-28 16:01:05
* fix a compiler warning/error (reported by Paul Cercueil [off-list ref])
* remove clock-names from properties (suggested by Paul Cercueil [off-list ref])
PATCH V7 2020-02-28 14:58:30:
* use devm_add_action_or_reset to unprepare clock in case of error (suggested by Paul Cercueil [off-list ref])
* use already existing constants to check for overflow of rd_adj and rd_strobe
* remove clock-names from bindings example and DTS (suggested by Paul Cercueil [off-list ref])
* addition for nemc driver to handle this correctly (contributed by Paul Cercueil [off-list ref])
* make efuse a child node of nemc to avoid problems with overlapping
reg address ranges (suggested by Paul Cercueil [off-list ref])
PATCH V6 2020-02-26 12:16:07:
* add dependency on CONFIG_OF and select REGMAP_MMIO (suggested by Paul Cercueil [off-list ref])
* add clk_prepare_enable() (suggested by Paul Cercueil [off-list ref])
* inline jz4780_efuse_read_32bytes() since it is only used once
* remove read optimization for full block (suggested by Paul Cercueil [off-list ref])
* simplify calculations for rd_adj and rd_strobe (suggested by Paul Cercueil [off-list ref])
* do calculations for rd_adj and rd_strobe in local variables
* fix overflow check (did allow for 5 bit values although register is 4 bit wide)
* fixes for yaml (sugested by Andreas Kemnade [off-list ref])
PATCH V5 2020-02-22 11:25:35:
* no longer RFC but PATCH
* add yaml bindings (by Andreas Kemnade [off-list ref])
* fixes to yaml (suggested by Rob Herring [off-list ref])
RFC V4 2020-02-17 17:55:35:
* removed read_only for nvmem config because there is no write method
* Kconfig: replaced depends MACH_JZ4780 with MACH_INGENIC
* run through checkpatch and fixed issues
* made use of devm_nvram_register() and get rid of jz4780_efuse_remove()
(suggested by Srinivas Kandagatla [off-list ref])
* squashed previous patch 1/9 and 2/9 into single (regmap based) driver
RFC V3 2020-02-16 20:20:59:
This series is based on and a follow up for
https://lore.kernel.org/patchwork/cover/868157/
("[v2,0/2] Add efuse driver for Ingenic JZ4780 SoC")
Original authors were
PrasannaKumar Muralidharan [off-list ref]
Mathieu Malaterre [off-list ref]
and there are additions / code improvements by
H. Nikolaus Schaller [off-list ref]
Paul Cercueil [off-list ref]
This setup works, if the dm9000 driver is compiled
as a module.
Therefore it is all RFC level. It is also not completely
checkpatched.
H. Nikolaus Schaller (1):
MIPS: DTS: CI20: make DM9000 Ethernet controller use NVMEM to find the
default MAC address
Paul Cercueil (1):
memory: jz4780_nemc: Only request IO memory the driver will use
PrasannaKumar Muralidharan (5):
nvmem: add driver for JZ4780 efuse
Bindings: nvmem: add bindings for JZ4780 efuse
Documentation: ABI: nvmem: add documentation for JZ4780 efuse ABI
nvmem: MAINTAINERS: add maintainer for JZ4780 efuse driver
MIPS: DTS: JZ4780: define node for JZ4780 efuse
.../ABI/testing/sysfs-driver-jz4780-efuse | 16 ++
.../bindings/nvmem/ingenic,jz4780-efuse.yaml | 45 ++++
MAINTAINERS | 5 +
arch/mips/boot/dts/ingenic/ci20.dts | 3 +
arch/mips/boot/dts/ingenic/jz4780.dtsi | 19 +-
drivers/memory/jz4780-nemc.c | 15 +-
drivers/nvmem/Kconfig | 12 +
drivers/nvmem/Makefile | 2 +
drivers/nvmem/jz4780-efuse.c | 239 ++++++++++++++++++
9 files changed, 353 insertions(+), 3 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-driver-jz4780-efuse
create mode 100644 Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.yaml
create mode 100644 drivers/nvmem/jz4780-efuse.c
--
2.23.0
From: H. Nikolaus Schaller <hidden> Date: 2020-02-28 16:01:07
From: PrasannaKumar Muralidharan <redacted>
This patch brings support for the JZ4780 efuse. Currently it only exposes
a read only access to the entire 8K bits efuse memory and nvmem cells.
To fetch for example the MAC address:
dd if=/sys/devices/platform/134100d0.efuse/jz4780-efuse0/nvmem bs=1 skip=34 count=6 status=none | xxd
Tested-by: Mathieu Malaterre <redacted>
Signed-off-by: PrasannaKumar Muralidharan <redacted>
Signed-off-by: Mathieu Malaterre <redacted>
Signed-off-by: H. Nikolaus Schaller <redacted>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
drivers/nvmem/Kconfig | 12 ++
drivers/nvmem/Makefile | 2 +
drivers/nvmem/jz4780-efuse.c | 239 +++++++++++++++++++++++++++++++++++
3 files changed, 253 insertions(+)
create mode 100644 drivers/nvmem/jz4780-efuse.c
From: H. Nikolaus Schaller <hidden> Date: 2020-02-28 16:01:10
From: PrasannaKumar Muralidharan <redacted>
This patch brings support for the JZ4780 efuse. Currently it only exposes
a read only access to the entire 8K bits efuse memory.
Tested-by: Mathieu Malaterre <redacted>
Signed-off-by: PrasannaKumar Muralidharan <redacted>
Signed-off-by: Mathieu Malaterre <redacted>
---
.../ABI/testing/sysfs-driver-jz4780-efuse | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-driver-jz4780-efuse
@@ -0,0 +1,16 @@+What: /sys/devices/*/<our-device>/nvmem+Date: December 2017+Contact: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>+Description: read-only access to the efuse on the Ingenic JZ4780 SoC+ The SoC has a one time programmable 8K efuse that is+ split into segments. The driver supports read only.+ The segments are+ 0x000 64 bit Random Number+ 0x008 128 bit Ingenic Chip ID+ 0x018 128 bit Customer ID+ 0x028 3520 bit Reserved+ 0x1E0 8 bit Protect Segment+ 0x1E1 2296 bit HDMI Key+ 0x300 2048 bit Security boot key+Users: any user space application which wants to read the Chip+ and Customer ID
From: H. Nikolaus Schaller <hidden> Date: 2020-02-28 16:01:12
From: PrasannaKumar Muralidharan <redacted>
This patch brings support for the JZ4780 efuse. Currently it only exposes
a read only access to the entire 8K bits efuse memory and the
ethernet mac address for the davicom dm9000 chip on the CI20 board.
It also changes the nemc ranges definition to give the driver
access to the efuse registers, which are in the middle of the
nemc reg range.
Tested-by: Mathieu Malaterre <redacted>
Signed-off-by: PrasannaKumar Muralidharan <redacted>
Signed-off-by: Mathieu Malaterre <redacted>
Signed-off-by: H. Nikolaus Schaller <redacted>
---
arch/mips/boot/dts/ingenic/jz4780.dtsi | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
From: H. Nikolaus Schaller <hidden> Date: 2020-02-28 16:01:16
From: PrasannaKumar Muralidharan <redacted>
This patch brings support for the JZ4780 efuse. Currently it only exposes
a read only access to the entire 8K bits efuse memory.
Tested-by: Mathieu Malaterre <redacted>
Signed-off-by: PrasannaKumar Muralidharan <redacted>
Signed-off-by: Mathieu Malaterre <redacted>
Signed-off-by: H. Nikolaus Schaller <redacted>
[converted to yaml]
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
.../bindings/nvmem/ingenic,jz4780-efuse.yaml | 45 +++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.yaml
From: H. Nikolaus Schaller <hidden> Date: 2020-02-28 16:01:19
From: Paul Cercueil <paul@crapouillou.net>
The driver only uses the registers up to offset 0x54. Since the EFUSE
registers are in the middle of the NEMC registers, we only request
the registers we will use for now - that way the EFUSE driver can
probe too.
Tested-by: H. Nikolaus Schaller <redacted>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
drivers/memory/jz4780-nemc.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
@@ -288,7 +289,19 @@ static int jz4780_nemc_probe(struct platform_device *pdev)nemc->dev=dev;res=platform_get_resource(pdev,IORESOURCE_MEM,0);-nemc->base=devm_ioremap_resource(dev,res);++/*+*Thedriveronlyusestheregistersuptooffset0x54.SincetheEFUSE+*registersareinthemiddleoftheNEMCregisters,weonlyrequest+*theregisterswewillusefornow-thatwaytheEFUSEdrivercan+*probetoo.+*/+if(!devm_request_mem_region(dev,res->start,0x54,dev_name(dev))){+dev_err(dev,"unable to request I/O memory region\n");+return-EBUSY;+}++nemc->base=devm_ioremap(dev,res->start,resource_size(res));if(IS_ERR(nemc->base)){dev_err(dev,"failed to get I/O memory\n");returnPTR_ERR(nemc->base);
From: H. Nikolaus Schaller <hidden> Date: 2020-02-28 16:01:23
There is a unique MAC address programmed into the eFuses
of the JZ4780 chip in the CI20 factory. By using this
for initializing the DM9000 Ethernet controller, every
CI20 board has an individual - but stable - MAC address
and DHCP can assign stable IP addresses.
Signed-off-by: H. Nikolaus Schaller <redacted>
---
arch/mips/boot/dts/ingenic/ci20.dts | 3 +++
1 file changed, 3 insertions(+)
From: H. Nikolaus Schaller <hidden> Date: 2020-02-28 16:01:26
From: PrasannaKumar Muralidharan <redacted>
This patch brings support for the JZ4780 efuse. Currently it only exposes
a read only access to the entire 8K bits efuse memory.
Tested-by: Mathieu Malaterre <redacted>
Signed-off-by: PrasannaKumar Muralidharan <redacted>
Signed-off-by: Mathieu Malaterre <redacted>
---
MAINTAINERS | 5 +++++
1 file changed, 5 insertions(+)
From: Paul Cercueil <paul@crapouillou.net> Date: 2020-02-28 16:26:50
Hi Nikolaus,
For the whole series:
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Cheers,
-Paul
Le ven., févr. 28, 2020 at 17:00, H. Nikolaus Schaller
[off-list ref] a écrit :
* fix a compiler warning/error (reported by Paul Cercueil
[off-list ref])
* remove clock-names from properties (suggested by Paul Cercueil
[off-list ref])
PATCH V7 2020-02-28 14:58:30:
* use devm_add_action_or_reset to unprepare clock in case of error
(suggested by Paul Cercueil [off-list ref])
* use already existing constants to check for overflow of rd_adj and
rd_strobe
* remove clock-names from bindings example and DTS (suggested by Paul
Cercueil [off-list ref])
* addition for nemc driver to handle this correctly (contributed by
Paul Cercueil [off-list ref])
* make efuse a child node of nemc to avoid problems with overlapping
reg address ranges (suggested by Paul Cercueil
[off-list ref])
PATCH V6 2020-02-26 12:16:07:
* add dependency on CONFIG_OF and select REGMAP_MMIO (suggested by
Paul Cercueil [off-list ref])
* add clk_prepare_enable() (suggested by Paul Cercueil
[off-list ref])
* inline jz4780_efuse_read_32bytes() since it is only used once
* remove read optimization for full block (suggested by Paul Cercueil
[off-list ref])
* simplify calculations for rd_adj and rd_strobe (suggested by Paul
Cercueil [off-list ref])
* do calculations for rd_adj and rd_strobe in local variables
* fix overflow check (did allow for 5 bit values although register is
4 bit wide)
* fixes for yaml (sugested by Andreas Kemnade [off-list ref])
PATCH V5 2020-02-22 11:25:35:
* no longer RFC but PATCH
* add yaml bindings (by Andreas Kemnade [off-list ref])
* fixes to yaml (suggested by Rob Herring [off-list ref])
RFC V4 2020-02-17 17:55:35:
* removed read_only for nvmem config because there is no write method
* Kconfig: replaced depends MACH_JZ4780 with MACH_INGENIC
* run through checkpatch and fixed issues
* made use of devm_nvram_register() and get rid of
jz4780_efuse_remove()
(suggested by Srinivas Kandagatla [off-list ref])
* squashed previous patch 1/9 and 2/9 into single (regmap based)
driver
RFC V3 2020-02-16 20:20:59:
This series is based on and a follow up for
https://lore.kernel.org/patchwork/cover/868157/
("[v2,0/2] Add efuse driver for Ingenic JZ4780 SoC")
Original authors were
PrasannaKumar Muralidharan [off-list ref]
Mathieu Malaterre [off-list ref]
and there are additions / code improvements by
H. Nikolaus Schaller [off-list ref]
Paul Cercueil [off-list ref]
This setup works, if the dm9000 driver is compiled
as a module.
Therefore it is all RFC level. It is also not completely
checkpatched.
H. Nikolaus Schaller (1):
MIPS: DTS: CI20: make DM9000 Ethernet controller use NVMEM to find
the
default MAC address
Paul Cercueil (1):
memory: jz4780_nemc: Only request IO memory the driver will use
PrasannaKumar Muralidharan (5):
nvmem: add driver for JZ4780 efuse
Bindings: nvmem: add bindings for JZ4780 efuse
Documentation: ABI: nvmem: add documentation for JZ4780 efuse ABI
nvmem: MAINTAINERS: add maintainer for JZ4780 efuse driver
MIPS: DTS: JZ4780: define node for JZ4780 efuse
.../ABI/testing/sysfs-driver-jz4780-efuse | 16 ++
.../bindings/nvmem/ingenic,jz4780-efuse.yaml | 45 ++++
MAINTAINERS | 5 +
arch/mips/boot/dts/ingenic/ci20.dts | 3 +
arch/mips/boot/dts/ingenic/jz4780.dtsi | 19 +-
drivers/memory/jz4780-nemc.c | 15 +-
drivers/nvmem/Kconfig | 12 +
drivers/nvmem/Makefile | 2 +
drivers/nvmem/jz4780-efuse.c | 239
++++++++++++++++++
9 files changed, 353 insertions(+), 3 deletions(-)
create mode 100644
Documentation/ABI/testing/sysfs-driver-jz4780-efuse
create mode 100644
Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.yaml
create mode 100644 drivers/nvmem/jz4780-efuse.c
--
2.23.0
From: Rob Herring <robh@kernel.org> Date: 2020-03-02 23:41:16
On Fri, 28 Feb 2020 17:00:49 +0100, "H. Nikolaus Schaller" wrote:
From: PrasannaKumar Muralidharan <redacted>
This patch brings support for the JZ4780 efuse. Currently it only exposes
a read only access to the entire 8K bits efuse memory.
Tested-by: Mathieu Malaterre <redacted>
Signed-off-by: PrasannaKumar Muralidharan <redacted>
Signed-off-by: Mathieu Malaterre <redacted>
Signed-off-by: H. Nikolaus Schaller <redacted>
[converted to yaml]
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
.../bindings/nvmem/ingenic,jz4780-efuse.yaml | 45 +++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.yaml
From: PrasannaKumar Muralidharan <redacted>
This patch brings support for the JZ4780 efuse. Currently it only exposes
a read only access to the entire 8K bits efuse memory.
Tested-by: Mathieu Malaterre <redacted>
Signed-off-by: PrasannaKumar Muralidharan <redacted>
Signed-off-by: Mathieu Malaterre <redacted>
Signed-off-by: H. Nikolaus Schaller <redacted>
[converted to yaml]
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
.../bindings/nvmem/ingenic,jz4780-efuse.yaml | 45 +++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.yaml
From: PrasannaKumar Muralidharan <redacted>
This patch brings support for the JZ4780 efuse. Currently it only exposes
a read only access to the entire 8K bits efuse memory and nvmem cells.
To fetch for example the MAC address:
dd if=/sys/devices/platform/134100d0.efuse/jz4780-efuse0/nvmem bs=1 skip=34 count=6 status=none | xxd
Tested-by: Mathieu Malaterre <redacted>
Signed-off-by: PrasannaKumar Muralidharan <redacted>
Signed-off-by: Mathieu Malaterre <redacted>
Signed-off-by: H. Nikolaus Schaller <redacted>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
drivers/nvmem/Kconfig | 12 ++
drivers/nvmem/Makefile | 2 +
drivers/nvmem/jz4780-efuse.c | 239 +++++++++++++++++++++++++++++++++++
From: PrasannaKumar Muralidharan <redacted>
This patch brings support for the JZ4780 efuse. Currently it only exposes
a read only access to the entire 8K bits efuse memory.
Tested-by: Mathieu Malaterre <redacted>
Signed-off-by: PrasannaKumar Muralidharan <redacted>
Signed-off-by: Mathieu Malaterre <redacted>
---
.../ABI/testing/sysfs-driver-jz4780-efuse | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
* fix a compiler warning/error (reported by Paul Cercueil [off-list ref])
* remove clock-names from properties (suggested by Paul Cercueil [off-list ref])
PATCH V7 2020-02-28 14:58:30:
* use devm_add_action_or_reset to unprepare clock in case of error (suggested by Paul Cercueil [off-list ref])
* use already existing constants to check for overflow of rd_adj and rd_strobe
* remove clock-names from bindings example and DTS (suggested by Paul Cercueil [off-list ref])
* addition for nemc driver to handle this correctly (contributed by Paul Cercueil [off-list ref])
* make efuse a child node of nemc to avoid problems with overlapping
reg address ranges (suggested by Paul Cercueil [off-list ref])
PATCH V6 2020-02-26 12:16:07:
* add dependency on CONFIG_OF and select REGMAP_MMIO (suggested by Paul Cercueil [off-list ref])
* add clk_prepare_enable() (suggested by Paul Cercueil [off-list ref])
* inline jz4780_efuse_read_32bytes() since it is only used once
* remove read optimization for full block (suggested by Paul Cercueil [off-list ref])
* simplify calculations for rd_adj and rd_strobe (suggested by Paul Cercueil [off-list ref])
* do calculations for rd_adj and rd_strobe in local variables
* fix overflow check (did allow for 5 bit values although register is 4 bit wide)
* fixes for yaml (sugested by Andreas Kemnade [off-list ref])
PATCH V5 2020-02-22 11:25:35:
* no longer RFC but PATCH
* add yaml bindings (by Andreas Kemnade [off-list ref])
* fixes to yaml (suggested by Rob Herring [off-list ref])
RFC V4 2020-02-17 17:55:35:
* removed read_only for nvmem config because there is no write method
* Kconfig: replaced depends MACH_JZ4780 with MACH_INGENIC
* run through checkpatch and fixed issues
* made use of devm_nvram_register() and get rid of jz4780_efuse_remove()
(suggested by Srinivas Kandagatla [off-list ref])
* squashed previous patch 1/9 and 2/9 into single (regmap based) driver
RFC V3 2020-02-16 20:20:59:
This series is based on and a follow up for
https://lore.kernel.org/patchwork/cover/868157/
("[v2,0/2] Add efuse driver for Ingenic JZ4780 SoC")
Original authors were
PrasannaKumar Muralidharan [off-list ref]
Mathieu Malaterre [off-list ref]
and there are additions / code improvements by
H. Nikolaus Schaller [off-list ref]
Paul Cercueil [off-list ref]
This setup works, if the dm9000 driver is compiled
as a module.
Therefore it is all RFC level. It is also not completely
checkpatched.
H. Nikolaus Schaller (1):
MIPS: DTS: CI20: make DM9000 Ethernet controller use NVMEM to find the
default MAC address
Paul Cercueil (1):
memory: jz4780_nemc: Only request IO memory the driver will use
PrasannaKumar Muralidharan (5):
nvmem: add driver for JZ4780 efuse
Bindings: nvmem: add bindings for JZ4780 efuse
Documentation: ABI: nvmem: add documentation for JZ4780 efuse ABI
nvmem: MAINTAINERS: add maintainer for JZ4780 efuse driver
MIPS: DTS: JZ4780: define node for JZ4780 efuse
.../ABI/testing/sysfs-driver-jz4780-efuse | 16 ++
.../bindings/nvmem/ingenic,jz4780-efuse.yaml | 45 ++++
MAINTAINERS | 5 +
arch/mips/boot/dts/ingenic/ci20.dts | 3 +
arch/mips/boot/dts/ingenic/jz4780.dtsi | 19 +-
drivers/memory/jz4780-nemc.c | 15 +-
drivers/nvmem/Kconfig | 12 +
drivers/nvmem/Makefile | 2 +
drivers/nvmem/jz4780-efuse.c | 239 ++++++++++++++++++
9 files changed, 353 insertions(+), 3 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-driver-jz4780-efuse
create mode 100644 Documentation/devicetree/bindings/nvmem/ingenic,jz4780-efuse.yaml
create mode 100644 drivers/nvmem/jz4780-efuse.c
I have applied Patch 2/7, 3/7, 4/7 with are nvmem subsystem related,
other patches have to go via respective maintainer tree.
--srini
From: Paul Cercueil <paul@crapouillou.net> Date: 2020-04-16 12:12:47
Greg:
Can you take this patch? Since there is no maintainer for
drivers/memory/. It still applies fine on top of 5.7-rc1.
Cheers,
-Paul
Le ven. 28 févr. 2020 à 17:00, H. Nikolaus Schaller
[off-list ref] a écrit :
quoted hunk
From: Paul Cercueil <paul@crapouillou.net>
The driver only uses the registers up to offset 0x54. Since the EFUSE
registers are in the middle of the NEMC registers, we only request
the registers we will use for now - that way the EFUSE driver can
probe too.
Tested-by: H. Nikolaus Schaller <redacted>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
drivers/memory/jz4780-nemc.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/drivers/memory/jz4780-nemc.c
b/drivers/memory/jz4780-nemc.c
index b232ed279fc3..647267ea8c63 100644
@@ -288,7 +289,19 @@ static int jz4780_nemc_probe(struct
platform_device *pdev)
nemc->dev = dev;
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- nemc->base = devm_ioremap_resource(dev, res);
+
+ /*
+ * The driver only uses the registers up to offset 0x54. Since the
EFUSE
+ * registers are in the middle of the NEMC registers, we only
request
+ * the registers we will use for now - that way the EFUSE driver can
+ * probe too.
+ */
+ if (!devm_request_mem_region(dev, res->start, 0x54, dev_name(dev)))
{
+ dev_err(dev, "unable to request I/O memory region\n");
+ return -EBUSY;
+ }
+
+ nemc->base = devm_ioremap(dev, res->start, resource_size(res));
if (IS_ERR(nemc->base)) {
dev_err(dev, "failed to get I/O memory\n");
return PTR_ERR(nemc->base);
--
2.23.0
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Date: 2020-04-20 07:27:45
On Fri, Feb 28, 2020 at 05:00:53PM +0100, H. Nikolaus Schaller wrote:
There is a unique MAC address programmed into the eFuses
of the JZ4780 chip in the CI20 factory. By using this
for initializing the DM9000 Ethernet controller, every
CI20 board has an individual - but stable - MAC address
and DHCP can assign stable IP addresses.
Signed-off-by: H. Nikolaus Schaller <redacted>
---
arch/mips/boot/dts/ingenic/ci20.dts | 3 +++
1 file changed, 3 insertions(+)
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Date: 2020-04-20 07:27:52
On Fri, Feb 28, 2020 at 05:00:52PM +0100, H. Nikolaus Schaller wrote:
From: PrasannaKumar Muralidharan <redacted>
This patch brings support for the JZ4780 efuse. Currently it only exposes
a read only access to the entire 8K bits efuse memory and the
ethernet mac address for the davicom dm9000 chip on the CI20 board.
It also changes the nemc ranges definition to give the driver
access to the efuse registers, which are in the middle of the
nemc reg range.
Tested-by: Mathieu Malaterre <redacted>
Signed-off-by: PrasannaKumar Muralidharan <redacted>
Signed-off-by: Mathieu Malaterre <redacted>
Signed-off-by: H. Nikolaus Schaller <redacted>
---
arch/mips/boot/dts/ingenic/jz4780.dtsi | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]