linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Add lan966 documentation and remove lan966x.c file
@ 2021-10-04 10:59 Kavyasree Kotagiri
  2021-10-04 10:59 ` [PATCH 1/4] ARM: at91: Kconfig: use only one name SOC_LAN966 and merge options Kavyasree Kotagiri
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Kavyasree Kotagiri @ 2021-10-04 10:59 UTC (permalink / raw)
  To: nicolas.ferre, alexandre.belloni, ludovic.desroches, robh+dt, corbet
  Cc: linux, linux-arm-kernel, linux-kernel, linux-doc, devicetree,
	UNGLinuxDriver, Kavyasree.Kotagiri, Manohar.Puri

This patch series modifies Kconfig entry, adds documentation for
lan966 family and removes lan966x setup code file as it is not 
required. 

These patches are generated from at91/linux.git
I had agreement with Nicolas Ferre that he will merge these changes
into existing patch.

Kavyasree Kotagiri (4):
  ARM: at91: Kconfig: use only one name SOC_LAN966 and merge options
  ARM: at91: Documentation: add lan966 family
  dt-bindings: arm: at91: Document lan966 pcb8291 and pcb8290 boards
  ARM: at91: remove lan966x file

 Documentation/arm/microchip.rst               |  6 +++++
 .../devicetree/bindings/arm/atmel-at91.yaml   | 12 +++++++++
 arch/arm/mach-at91/Kconfig                    | 12 ++++-----
 arch/arm/mach-at91/Makefile                   |  1 -
 arch/arm/mach-at91/lan966x.c                  | 25 -------------------
 5 files changed, 23 insertions(+), 33 deletions(-)
 delete mode 100644 arch/arm/mach-at91/lan966x.c

-- 
2.17.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/4] ARM: at91: Kconfig: use only one name SOC_LAN966 and merge options
  2021-10-04 10:59 [PATCH 0/4] Add lan966 documentation and remove lan966x.c file Kavyasree Kotagiri
@ 2021-10-04 10:59 ` Kavyasree Kotagiri
  2021-10-04 10:59 ` [PATCH 2/4] ARM: at91: Documentation: add lan966 family Kavyasree Kotagiri
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Kavyasree Kotagiri @ 2021-10-04 10:59 UTC (permalink / raw)
  To: nicolas.ferre, alexandre.belloni, ludovic.desroches, robh+dt, corbet
  Cc: linux, linux-arm-kernel, linux-kernel, linux-doc, devicetree,
	UNGLinuxDriver, Kavyasree.Kotagiri, Manohar.Puri

Use only one name SOC_LAN966 and merge options into it.

Signed-off-by: Kavya Sree Kotagiri <kavyasree.kotagiri@microchip.com>
---
 arch/arm/mach-at91/Kconfig | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 5d3b08e4ca1d..096475f0a4fd 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -67,13 +67,15 @@ config SOC_SAMA7G5
 	help
 	  Select this if you are using one of Microchip's SAMA7G5 family SoC.
 
-config SOC_LAN966X
-	bool "ARMv7 based Microchip LAN966X SoC family"
+config SOC_LAN966
+	bool "ARMv7 based Microchip LAN966 SoC family"
 	depends on ARCH_MULTI_V7
 	select SOC_LAN966
 	select DW_APB_TIMER_OF
+	select ARM_GIC
+	select MEMORY
 	help
-	  This enables support for ARMv7 based Microchip LAN966X SoC family.
+	  This enables support for ARMv7 based Microchip LAN966 SoC family.
 
 config SOC_AT91RM9200
 	bool "AT91RM9200"
@@ -218,8 +220,4 @@ config SOC_SAMA7
 	select SOC_SAM_V7
 	select SRAM if PM
 
-config SOC_LAN966
-	bool
-	select ARM_GIC
-	select MEMORY
 endif
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/4] ARM: at91: Documentation: add lan966 family
  2021-10-04 10:59 [PATCH 0/4] Add lan966 documentation and remove lan966x.c file Kavyasree Kotagiri
  2021-10-04 10:59 ` [PATCH 1/4] ARM: at91: Kconfig: use only one name SOC_LAN966 and merge options Kavyasree Kotagiri
@ 2021-10-04 10:59 ` Kavyasree Kotagiri
  2021-10-04 10:59 ` [PATCH 3/4] dt-bindings: arm: at91: Document lan966 pcb8291 and pcb8290 boards Kavyasree Kotagiri
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Kavyasree Kotagiri @ 2021-10-04 10:59 UTC (permalink / raw)
  To: nicolas.ferre, alexandre.belloni, ludovic.desroches, robh+dt, corbet
  Cc: linux, linux-arm-kernel, linux-kernel, linux-doc, devicetree,
	UNGLinuxDriver, Kavyasree.Kotagiri, Manohar.Puri

Add the new LAN966 ARMv7 based SoC family from Microchip.

Signed-off-by: Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com>
---
 Documentation/arm/microchip.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/arm/microchip.rst b/Documentation/arm/microchip.rst
index 9c013299fd3b..29a06a921eae 100644
--- a/Documentation/arm/microchip.rst
+++ b/Documentation/arm/microchip.rst
@@ -175,6 +175,12 @@ the Microchip website: http://www.microchip.com.
 
           http://ww1.microchip.com/downloads/en/DeviceDoc/SAM-E70-S70-V70-V71-Family-Data-Sheet-DS60001527D.pdf
 
+      - lan966 family
+        - lan9662
+        - lan9668
+
+          * Datasheet
+            Coming soon
 
 Linux kernel information
 ------------------------
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/4] dt-bindings: arm: at91: Document lan966 pcb8291 and pcb8290 boards
  2021-10-04 10:59 [PATCH 0/4] Add lan966 documentation and remove lan966x.c file Kavyasree Kotagiri
  2021-10-04 10:59 ` [PATCH 1/4] ARM: at91: Kconfig: use only one name SOC_LAN966 and merge options Kavyasree Kotagiri
  2021-10-04 10:59 ` [PATCH 2/4] ARM: at91: Documentation: add lan966 family Kavyasree Kotagiri
@ 2021-10-04 10:59 ` Kavyasree Kotagiri
  2021-10-04 10:59 ` [PATCH 4/4] ARM: at91: remove lan966x file Kavyasree Kotagiri
  2021-10-04 11:09 ` [PATCH 0/4] Add lan966 documentation and remove lan966x.c file Alexandre Belloni
  4 siblings, 0 replies; 8+ messages in thread
From: Kavyasree Kotagiri @ 2021-10-04 10:59 UTC (permalink / raw)
  To: nicolas.ferre, alexandre.belloni, ludovic.desroches, robh+dt, corbet
  Cc: linux, linux-arm-kernel, linux-kernel, linux-doc, devicetree,
	UNGLinuxDriver, Kavyasree.Kotagiri, Manohar.Puri

Add documentation for Microchip LAN9662 PCB8291 and
LAN9668 PCB8290 Evaluation Boards.

Signed-off-by: Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com>
---
 .../devicetree/bindings/arm/atmel-at91.yaml          | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.yaml b/Documentation/devicetree/bindings/arm/atmel-at91.yaml
index 08efb259a947..c612e1f48dba 100644
--- a/Documentation/devicetree/bindings/arm/atmel-at91.yaml
+++ b/Documentation/devicetree/bindings/arm/atmel-at91.yaml
@@ -162,6 +162,18 @@ properties:
           - const: microchip,sama7g5
           - const: microchip,sama7
 
+      - description: Microchip LAN9662 PCB8291 Evaluation Board.
+        items:
+          - const: microchip,lan9662-pcb8291
+          - const: microchip,lan9662
+          - const: microchip,lan966
+
+      - description: Microchip LAN9668 PCB8290 Evaluation Board.
+        items:
+          - const: microchip,lan9668-pcb8290
+          - const: microchip,lan9668
+          - const: microchip,lan966
+
       - items:
           - enum:
               - atmel,sams70j19
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 4/4] ARM: at91: remove lan966x file
  2021-10-04 10:59 [PATCH 0/4] Add lan966 documentation and remove lan966x.c file Kavyasree Kotagiri
                   ` (2 preceding siblings ...)
  2021-10-04 10:59 ` [PATCH 3/4] dt-bindings: arm: at91: Document lan966 pcb8291 and pcb8290 boards Kavyasree Kotagiri
@ 2021-10-04 10:59 ` Kavyasree Kotagiri
  2021-10-04 11:09 ` [PATCH 0/4] Add lan966 documentation and remove lan966x.c file Alexandre Belloni
  4 siblings, 0 replies; 8+ messages in thread
From: Kavyasree Kotagiri @ 2021-10-04 10:59 UTC (permalink / raw)
  To: nicolas.ferre, alexandre.belloni, ludovic.desroches, robh+dt, corbet
  Cc: linux, linux-arm-kernel, linux-kernel, linux-doc, devicetree,
	UNGLinuxDriver, Kavyasree.Kotagiri, Manohar.Puri

Remove Makefile entry and lan966x.c file as it is
not required.

Signed-off-by: Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com>
---
 arch/arm/mach-at91/Makefile  |  1 -
 arch/arm/mach-at91/lan966x.c | 25 -------------------------
 2 files changed, 26 deletions(-)
 delete mode 100644 arch/arm/mach-at91/lan966x.c

diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
index 2bb65f2c8863..522b680b6446 100644
--- a/arch/arm/mach-at91/Makefile
+++ b/arch/arm/mach-at91/Makefile
@@ -6,7 +6,6 @@
 # CPU-specific support
 obj-$(CONFIG_SOC_AT91RM9200)	+= at91rm9200.o
 obj-$(CONFIG_SOC_AT91SAM9)	+= at91sam9.o
-obj-$(CONFIG_SOC_LAN966X)	+= lan966x.o
 obj-$(CONFIG_SOC_SAM9X60)	+= sam9x60.o
 obj-$(CONFIG_SOC_SAMA5)		+= sama5.o
 obj-$(CONFIG_SOC_SAMA7)		+= sama7.o
diff --git a/arch/arm/mach-at91/lan966x.c b/arch/arm/mach-at91/lan966x.c
deleted file mode 100644
index 154d616569ae..000000000000
--- a/arch/arm/mach-at91/lan966x.c
+++ /dev/null
@@ -1,25 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- * Setup code for LAN966X
- *
- * Copyright (C) 2021 Microchip Technology, Inc. and its subsidiaries
- *
- */
-
-#include <linux/of.h>
-#include <linux/of_platform.h>
-
-#include <asm/mach/arch.h>
-#include <asm/system_misc.h>
-
-#include "generic.h"
-
-static const char *const lan966x_dt_board_compat[] __initconst = {
-	"microchip,lan966x",
-	NULL
-};
-
-DT_MACHINE_START(lan966x_dt, "Microchip LAN966X")
-	/* Maintainer: Microchip */
-	.dt_compat	= lan966x_dt_board_compat,
-MACHINE_END
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/4] Add lan966 documentation and remove lan966x.c file
  2021-10-04 10:59 [PATCH 0/4] Add lan966 documentation and remove lan966x.c file Kavyasree Kotagiri
                   ` (3 preceding siblings ...)
  2021-10-04 10:59 ` [PATCH 4/4] ARM: at91: remove lan966x file Kavyasree Kotagiri
@ 2021-10-04 11:09 ` Alexandre Belloni
  2021-10-04 12:55   ` Nicolas Ferre
  4 siblings, 1 reply; 8+ messages in thread
From: Alexandre Belloni @ 2021-10-04 11:09 UTC (permalink / raw)
  To: Kavyasree Kotagiri
  Cc: nicolas.ferre, ludovic.desroches, robh+dt, corbet, linux,
	linux-arm-kernel, linux-kernel, linux-doc, devicetree,
	UNGLinuxDriver, Manohar.Puri

On 04/10/2021 16:29:22+0530, Kavyasree Kotagiri wrote:
> This patch series modifies Kconfig entry, adds documentation for
> lan966 family and removes lan966x setup code file as it is not 
> required. 
> 
> These patches are generated from at91/linux.git
> I had agreement with Nicolas Ferre that he will merge these changes
> into existing patch.
> 

Seems good to me, for the whole series:
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>


> Kavyasree Kotagiri (4):
>   ARM: at91: Kconfig: use only one name SOC_LAN966 and merge options
>   ARM: at91: Documentation: add lan966 family
>   dt-bindings: arm: at91: Document lan966 pcb8291 and pcb8290 boards
>   ARM: at91: remove lan966x file
> 
>  Documentation/arm/microchip.rst               |  6 +++++
>  .../devicetree/bindings/arm/atmel-at91.yaml   | 12 +++++++++
>  arch/arm/mach-at91/Kconfig                    | 12 ++++-----
>  arch/arm/mach-at91/Makefile                   |  1 -
>  arch/arm/mach-at91/lan966x.c                  | 25 -------------------
>  5 files changed, 23 insertions(+), 33 deletions(-)
>  delete mode 100644 arch/arm/mach-at91/lan966x.c
> 
> -- 
> 2.17.1
> 

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/4] Add lan966 documentation and remove lan966x.c file
  2021-10-04 11:09 ` [PATCH 0/4] Add lan966 documentation and remove lan966x.c file Alexandre Belloni
@ 2021-10-04 12:55   ` Nicolas Ferre
  2021-10-04 20:58     ` Alexandre Belloni
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Ferre @ 2021-10-04 12:55 UTC (permalink / raw)
  To: Alexandre Belloni, Kavyasree Kotagiri
  Cc: ludovic.desroches, robh+dt, corbet, linux, linux-arm-kernel,
	linux-kernel, linux-doc, devicetree, UNGLinuxDriver,
	Manohar.Puri

On 04/10/2021 at 13:09, Alexandre Belloni wrote:
> On 04/10/2021 16:29:22+0530, Kavyasree Kotagiri wrote:
>> This patch series modifies Kconfig entry, adds documentation for
>> lan966 family and removes lan966x setup code file as it is not
>> required.
>>
>> These patches are generated from at91/linux.git
>> I had agreement with Nicolas Ferre that he will merge these changes
>> into existing patch.
>>
> 
> Seems good to me, for the whole series:
> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> for the whole 
series, added to at91-soc and merged with previous patch.

Please have a look at the resulting tree or at91-next branch for 
double-checking.

Thanks, best regards,
   Nicolas

>> Kavyasree Kotagiri (4):
>>    ARM: at91: Kconfig: use only one name SOC_LAN966 and merge options
>>    ARM: at91: Documentation: add lan966 family
>>    dt-bindings: arm: at91: Document lan966 pcb8291 and pcb8290 boards
>>    ARM: at91: remove lan966x file
>>
>>   Documentation/arm/microchip.rst               |  6 +++++
>>   .../devicetree/bindings/arm/atmel-at91.yaml   | 12 +++++++++
>>   arch/arm/mach-at91/Kconfig                    | 12 ++++-----
>>   arch/arm/mach-at91/Makefile                   |  1 -
>>   arch/arm/mach-at91/lan966x.c                  | 25 -------------------
>>   5 files changed, 23 insertions(+), 33 deletions(-)
>>   delete mode 100644 arch/arm/mach-at91/lan966x.c
>>
>> --
>> 2.17.1
>>
> 
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
> 


-- 
Nicolas Ferre

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/4] Add lan966 documentation and remove lan966x.c file
  2021-10-04 12:55   ` Nicolas Ferre
@ 2021-10-04 20:58     ` Alexandre Belloni
  0 siblings, 0 replies; 8+ messages in thread
From: Alexandre Belloni @ 2021-10-04 20:58 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Kavyasree Kotagiri, ludovic.desroches, robh+dt, corbet, linux,
	linux-arm-kernel, linux-kernel, linux-doc, devicetree,
	UNGLinuxDriver, Manohar.Puri

On 04/10/2021 14:55:29+0200, Nicolas Ferre wrote:
> On 04/10/2021 at 13:09, Alexandre Belloni wrote:
> > On 04/10/2021 16:29:22+0530, Kavyasree Kotagiri wrote:
> > > This patch series modifies Kconfig entry, adds documentation for
> > > lan966 family and removes lan966x setup code file as it is not
> > > required.
> > > 
> > > These patches are generated from at91/linux.git
> > > I had agreement with Nicolas Ferre that he will merge these changes
> > > into existing patch.
> > > 
> > 
> > Seems good to me, for the whole series:
> > Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> 
> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> for the whole series,
> added to at91-soc and merged with previous patch.
> 
> Please have a look at the resulting tree or at91-next branch for
> double-checking.
> 

That's way better, no code at all is the best code to maintain ;)
Thanks for your efforts Kavya

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-10-04 20:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-04 10:59 [PATCH 0/4] Add lan966 documentation and remove lan966x.c file Kavyasree Kotagiri
2021-10-04 10:59 ` [PATCH 1/4] ARM: at91: Kconfig: use only one name SOC_LAN966 and merge options Kavyasree Kotagiri
2021-10-04 10:59 ` [PATCH 2/4] ARM: at91: Documentation: add lan966 family Kavyasree Kotagiri
2021-10-04 10:59 ` [PATCH 3/4] dt-bindings: arm: at91: Document lan966 pcb8291 and pcb8290 boards Kavyasree Kotagiri
2021-10-04 10:59 ` [PATCH 4/4] ARM: at91: remove lan966x file Kavyasree Kotagiri
2021-10-04 11:09 ` [PATCH 0/4] Add lan966 documentation and remove lan966x.c file Alexandre Belloni
2021-10-04 12:55   ` Nicolas Ferre
2021-10-04 20:58     ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).