[PATCH v3] brcmfmac: support parse country code map from DT

2021-04-17 Thread Shawn Guo
des table by parsing the mapping from DT. The BRCMF_BUSTYPE_SDIO bus_type check gets separated from general DT validation, so that country code can be handled as general part rather than SDIO bus specific one. Signed-off-by: Shawn Guo Reviewed-by: Arend van Spriel --- Changes for v3: - Add miss

Re: [PATCH v2 2/2] brcmfmac: support parse country code map from DT

2021-04-17 Thread Shawn Guo
On Fri, Apr 16, 2021 at 2:00 PM Arend Van Spriel wrote: > > On 4/15/2021 12:47 PM, Shawn Guo wrote: > > With any regulatory domain requests coming from either user space or > > 802.11 IE (Information Element), the country is coded in ISO3166 > > standard. It needs to b

[PATCH v2 2/2] brcmfmac: support parse country code map from DT

2021-04-15 Thread Shawn Guo
des table by parsing the mapping from DT. The BRCMF_BUSTYPE_SDIO bus_type check gets separated from general DT validation, so that country code can be handled as general part rather than SDIO bus specific one. Signed-off-by: Shawn Guo Reviewed-by: Arend van Spriel --- .../wireless/broadcom/brcm80

[PATCH v2 1/2] dt-bindings: bcm4329-fmac: add optional brcm,ccode-map

2021-04-15 Thread Shawn Guo
to the chip, certain country revision needs to be specified. As such they could be seen as device specific calibration data which is a good fit into device tree. Signed-off-by: Shawn Guo Reviewed-by: Arend van Spriel --- .../bindings/net/wireless/brcm,bcm4329-fmac.yaml | 8 1

[PATCH v2 0/2] brcmfmac: support parse country code map from DT

2021-04-15 Thread Shawn Guo
ation. [1] https://patchwork.kernel.org/project/linux-wireless/patch/20210315105911.138553-1-linus.wall...@linaro.org/ Shawn Guo (2): dt-bindings: bcm4329-fmac: add optional brcm,ccode-map brcmfmac: support parse country code map from DT .../net/wireless/brcm,bcm4329-fmac.yaml

Re: [PATCH 2/2] brcmfmac: support parse country code map from DT

2021-04-13 Thread Shawn Guo
On Mon, Apr 12, 2021 at 10:22:47AM +0200, Arend van Spriel wrote: > On 08-04-2021 13:30, Shawn Guo wrote: > > With any regulatory domain requests coming from either user space or > > 802.11 IE (Information Element), the country is coded in ISO3166 > > standard. It need

Re: [PATCH 2/2] brcmfmac: support parse country code map from DT

2021-04-13 Thread Shawn Guo
On Mon, Apr 12, 2021 at 10:09:38AM +0200, Arend van Spriel wrote: > On 08-04-2021 13:30, Shawn Guo wrote: > > With any regulatory domain requests coming from either user space or > > 802.11 IE (Information Element), the country is coded in ISO3166 > > standard. It need

Re: [PATCH 1/2] dt-binding: bcm43xx-fmac: add optional brcm,ccode-map

2021-04-13 Thread Shawn Guo
On Mon, Apr 12, 2021 at 02:54:46PM +0300, Kalle Valo wrote: > Shawn Guo writes: > > > On Sun, Apr 11, 2021 at 10:57:54AM +0300, Kalle Valo wrote: > >> Shawn Guo writes: > >> > >> > Add optional brcm,ccode-map property to support translation from ISO316

Re: [PATCH 1/2] dt-binding: bcm43xx-fmac: add optional brcm,ccode-map

2021-04-11 Thread Shawn Guo
On Sun, Apr 11, 2021 at 10:57:54AM +0300, Kalle Valo wrote: > Shawn Guo writes: > > > Add optional brcm,ccode-map property to support translation from ISO3166 > > country code to brcmfmac firmware country code and revision. > > > > Signed-off-by: Shawn Guo > &

Re: [PATCH 1/2] dt-binding: bcm43xx-fmac: add optional brcm,ccode-map

2021-04-11 Thread Shawn Guo
On Fri, Apr 09, 2021 at 01:46:06PM -0500, Rob Herring wrote: > On Thu, Apr 08, 2021 at 07:30:21PM +0800, Shawn Guo wrote: > > Add optional brcm,ccode-map property to support translation from ISO3166 > > country code to brcmfmac firmware country code and revision. > > > &g

[PATCH 2/2] brcmfmac: support parse country code map from DT

2021-04-08 Thread Shawn Guo
des table by parsing the mapping from DT. Signed-off-by: Shawn Guo --- .../wireless/broadcom/brcm80211/brcmfmac/of.c | 53 +++ 1 file changed, 53 insertions(+) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/o

[PATCH 1/2] dt-binding: bcm43xx-fmac: add optional brcm,ccode-map

2021-04-08 Thread Shawn Guo
Add optional brcm,ccode-map property to support translation from ISO3166 country code to brcmfmac firmware country code and revision. Signed-off-by: Shawn Guo --- .../devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation

[PATCH 0/2] brcmfmac: support parse country code map from DT

2021-04-08 Thread Shawn Guo
This is a couple of patches adding optional brcm,ccode-map bindings for brcmfmac driver to parse country code map from DT. Shawn Guo (2): dt-binding: bcm43xx-fmac: add optional brcm,ccode-map brcmfmac: support parse country code map from DT .../net/wireless/brcm,bcm43xx-fmac.txt| 7

Re: [PATCH v2 0/7] remove different PHY fixups

2021-03-28 Thread Shawn Guo
On Wed, Mar 24, 2021 at 06:54:24AM +0100, Oleksij Rempel wrote: > Hi Shawn, > > ping, do this patches need some ACK from some one? As this will break existing DTBs, I need more ACKs from people to see the consensus that this is the right thing to do. Shawn > > Regards, > Oleksij > > On Tue, M

Re: [PATCH devicetree] arm64: dts: ls1028a: set up the real link speed for ENETC port 2

2021-03-14 Thread Shawn Guo
On Mon, Mar 08, 2021 at 03:08:34PM +0200, Vladimir Oltean wrote: > From: Vladimir Oltean > > In NXP LS1028A there is a MAC-to-MAC internal link between enetc_port2 > and mscc_felix_port4. This link operates at 2.5Gbps and is described as > such for the mscc_felix_port4 node. > > The reason for t

Re: [PATCH v1] ARM: imx: mach-imx6ul: remove 14x14 EVK specific PHY fixup

2021-01-06 Thread Shawn Guo
On Wed, Dec 09, 2020 at 01:20:51PM +0100, Oleksij Rempel wrote: > Remove board specific PHY fixup introduced by commit: > > | 709bc0657fe6f9f5 ("ARM: imx6ul: add fec MAC refrence clock and phy fixup > init") > > This fixup addresses boards with a specific configuration: a KSZ8081RNA > PHY with a

[no subject]

2021-01-04 Thread Shawn Guo
unsubscribe netdev

Re: [net v2 2/4] ARM: dts: imx: Change flexcan node name to "can"

2020-11-16 Thread Shawn Guo
> arch/arm/boot/dts/imx6dl-apf6dev.dt.yaml: flexcan@209: $nodename:0: > 'flexcan@209' does not match '^can(@.*)?$' > From schema: Documentation/devicetree/bindings/net/can/fsl,flexcan.yaml > > Cc: Shawn Guo > Cc: devicet...@vger.kernel.org > Signed-off-by: Marc Kleine-Budde Applied, thanks.

Re: [net v2 1/4] ARM: dts: imx: fix can fsl,stop-mode

2020-11-16 Thread Shawn Guo
aml > > This patch fixes the error by removing the obsolete values. > > Cc: Shawn Guo > Cc: devicet...@vger.kernel.org > Signed-off-by: Marc Kleine-Budde Already applied a patch from Oleksij Rempel [1]. Shawn [1] https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/commit/?h=imx/dt64&id=73db215119963918afe446c6cec76e2d421aa33c

Re: [PATCH] arm64: dts: fsl: DPAA FMan DMA operations are coherent

2020-11-15 Thread Shawn Guo
On Wed, Nov 11, 2020 at 03:33:19PM +, Madalin Bucur wrote: > > -Original Message- > > From: linux-arm-kernel On > > Behalf Of Shawn Guo > > To: Madalin Bucur (OSS) > > Subject: Re: [PATCH] arm64: dts: fsl: DPAA FMan DMA operations are > > coherent

Re: [PATCH V4 5/6] dt-bindings: firmware: add IMX_SC_R_CAN(x) macro for CAN

2020-11-02 Thread Shawn Guo
On Wed, Oct 21, 2020 at 01:24:36PM +0800, Joakim Zhang wrote: > Add IMX_SC_R_CAN(x) macro for CAN. > > Suggested-by: Marc Kleine-Budde > Signed-off-by: Joakim Zhang Acked-by: Shawn Guo > --- > include/dt-bindings/firmware/imx/rsrc.h | 1 + > 1 file changed, 1 insertion

Re: [PATCH V4 1/6] firmware: imx: always export SCU symbols

2020-11-01 Thread Shawn Guo
On Wed, Oct 21, 2020 at 01:24:32PM +0800, Joakim Zhang wrote: > From: Liu Ying > > Always export SCU symbols for both SCU SoCs and non-SCU SoCs to avoid > build error. > > Signed-off-by: Liu Ying > Signed-off-by: Peng Fan > Signed-off-by: Joakim Zhang > --- > include/linux/firmware/imx/ipc.h

Re: [PATCH v1] ARM: dts: imx6/7: sync fsl,stop-mode with current flexcan driver

2020-10-31 Thread Shawn Guo
On Fri, Oct 16, 2020 at 09:51:58AM +0200, Oleksij Rempel wrote: > After this patch we need 2 arguments less for the fsl,stop-mode > property: > > | commit d9b081e3fc4bdc33e672dcb7bb256394909432fc > | Author: Marc Kleine-Budde > | Date: Sun Jun 14 21:09:20 2020 +0200 > | > | can: flexcan: remove

Re: [PATCH] arm64: dts: fsl: DPAA FMan DMA operations are coherent

2020-10-30 Thread Shawn Guo
On Mon, Oct 05, 2020 at 03:46:39PM +0300, Madalin Bucur wrote: > Although the DPAA 1 FMan operations are coherent, the device tree > node for the FMan does not indicate that, resulting in a needless > loss of performance. Adding the missing dma-coherent property. > > Fixes: 1ffbecdd8321 ("arm64: d

Re: [PATCH] ARM: dts: Introduce the NXP LS1021A-TSN board

2019-05-17 Thread Shawn Guo
On Fri, May 17, 2019 at 03:05:59PM +0300, Vladimir Oltean wrote: > Hi Shawn, > > Thanks for the feedback! > Do you want a v2 now (will you merge it for 5.2) or should I send it > after the merge window closes? It's a 5.3 material. Shawn > The "nxp,sja1105t" compatible is not undocumented but be

Re: [PATCH] ARM: dts: Introduce the NXP LS1021A-TSN board

2019-05-16 Thread Shawn Guo
On Mon, May 06, 2019 at 04:08:00AM +0300, Vladimir Oltean wrote: > The LS1021A-TSN is a development board built by VVDN/Argonboards in > partnership with NXP. > > It features the LS1021A SoC and the first-generation SJA1105T Ethernet > switch for prototyping implementations of a subset of IEEE 802

Re: [PATCH v3] arm64: dts: lx2160aqds: Add mdio mux nodes

2019-02-10 Thread Shawn Guo
On Wed, Feb 06, 2019 at 09:40:33AM +, Pankaj Bansal wrote: > The two external MDIO buses used to communicate with phy devices that are > external to SOC are muxed in LX2160AQDS board. > > These buses can be routed to any one of the eight IO slots on LX2160AQDS > board depending on value in fpg

Re: [RFC] arm64: dts: lx2160aqds: Add mdio mux nodes

2018-11-04 Thread Shawn Guo
On Wed, Oct 24, 2018 at 01:18:32PM +, Pankaj Bansal wrote: > Hi All, > > As per the device tree ePappr > https://elinux.org/images/c/cf/Power_ePAPR_APPROVED_v1.1.pdf > section 2.2.1 > > Each node in the device tree is named according to the following convention: > node-name@unit-address >

Re: [PATCH net v5 1/2] ARM: dts: imx: name the interrupts for the fec ethernet driver

2017-11-16 Thread Shawn Guo
On Fri, Nov 03, 2017 at 10:29:58AM -0700, Troy Kisky wrote: > imx7s/imx7d has the ptp interrupt newly added as well. > > For imx7, "int0" is the interrupt for queue 0 and ENET_MII > "int1" is for queue 1 > "int2" is for queue 2 > > For imx6sx, "int0" handles all 3 queues and ENET_MII > > And of

Re: [PATCH net v4 1/2] imx7s/imx7d has the ptp interrupt newly added as well.

2017-11-01 Thread Shawn Guo
On Wed, Nov 1, 2017 at 4:16 AM, Troy Kisky wrote: > For imx7, "int0" is the interrupt for queue 0 and ENET_MII > "int1" is for queue 1 > "int2" is for queue 2 > > For imx6sx, "int0" handles all 3 queues and ENET_MII > > And of course, the "pps" interrupt is for the PTP_CLOCK_PPS interrupts > This

Re: [PATCH 0/2] Document and use eeprom-length property

2017-05-27 Thread Shawn Guo
On Fri, May 26, 2017 at 03:02:42PM -0400, David Miller wrote: > From: Andrew Lunn > Date: Fri, 26 May 2017 01:44:42 +0200 > > > The mv88e6xxx switch driver allows the size of the attached EEPROM to > > be described in DT. This property is missing from the binding > > documentation. Add it. And ma

Re: [PATCH 2/2] ARM: VF610: ZII devel b: Add switch eeprom-length properties

2017-05-27 Thread Shawn Guo
On Fri, May 26, 2017 at 01:44:44AM +0200, Andrew Lunn wrote: > Two of the Ethernet switches on this board have EEPROMs connected. > Add the eeprom-length property to the device tree, making it possible > to access the EEPROM using ethtool -e. > > Signed-off-by: Andrew Lunn Applied with a bit upd

Re: [PATCH 1/2] ARM: imx6: disable deeper idle states when FEC is active w/o HW workaround

2016-06-20 Thread Shawn Guo
On Thu, Jun 16, 2016 at 05:47:26PM +0200, Arnd Bergmann wrote: > On Wednesday, June 1, 2016 5:29:42 PM CEST Lucas Stach wrote: > > +/* > > + * i.MX6 Q/DL has an erratum (ERR006687) that prevents the FEC from waking > > the > > + * CPUs when they are in wait(unclocked) state. As the hardware workar

Re: [PATCH v2 1/2] ARM: imx6: disable deeper idle states when FEC is active w/o HW workaround

2016-06-11 Thread Shawn Guo
On Fri, Jun 03, 2016 at 06:31:19PM +0200, Lucas Stach wrote: > The i.MX6 Q/DL has an erratum (ERR006687) that prevents the FEC from > waking the CPUs when they are in wait(unclocked) state. As the hardware > workaround isn't applicable to all boards, disable the deeper idle state > when the workaro

Re: [PATCH net-next 40/40] ARM: dts: imx6qdl-nitrogen6_max: add phy interrupt to eliminate polling

2016-02-01 Thread Shawn Guo
On Thu, Jan 28, 2016 at 02:26:04PM -0700, Troy Kisky wrote: > Signed-off-by: Troy Kisky > --- > arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi > b/arch/arm/boot/dts/imx6qdl-nitrogen6_max

Re: [PATCH net-next 39/40] ARM: dts: imx6qdl-nitrogen6x: add phy interrupt to eliminate polling

2016-02-01 Thread Shawn Guo
On Thu, Jan 28, 2016 at 02:26:03PM -0700, Troy Kisky wrote: > Signed-off-by: Troy Kisky > --- > arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi > b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi

Re: net: fec: Ensure clocks are enabled while using mdio bus

2015-07-13 Thread Shawn Guo
On Sat, Jul 11, 2015 at 3:07 AM, Tyler Baker wrote: > Hi Andrew, > > The kernelci.org system reported[1][2][3] new imx6 boot failures in > next-20150710. I've bisected[4] these failures to 6c3e921b18ed "net: > fec: Ensure clocks are enabled while using mdio bus". Reverting this > commit on top of