RE: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-30 Thread Y.b. Lu
; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; Ashish Kumar > Subject: Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card > controllers use fixed indices > > On Wed, Nov 25, 2020 at 09:25:23AM +0100, Michael Walle wrote: > > We are going cirlces

Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-30 Thread Shawn Guo
On Wed, Nov 25, 2020 at 09:25:23AM +0100, Michael Walle wrote: > We are going cirlces here. I guess Shawn (as the soc maintainer) has to > step in and decide if a common soc include should contain aliases for > nodes which are disabled. That is what it boils down to. > > All other arguments

Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-25 Thread Michael Walle
Hunter ; Ulf Hansson ; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Ashish Kumar Subject: Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices On Tue, Nov 24, 2020 at 11:15:19AM +, Y.b. Lu wrote: > > > Not matter it's SD card or eMMC card

RE: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Y.b. Lu
; Ulf Hansson ; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Ashish Kumar > > Subject: Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card > controllers use fixed indices > > On Tue, Nov 24, 2020 at 11:15:19AM +, Y.b. Lu wrote: > > > > Not ma

Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Vladimir Oltean
On Tue, Nov 24, 2020 at 11:15:19AM +, Y.b. Lu wrote: > > > Not matter it's SD card or eMMC card, if it's on esdhc0, use /dev/mmcblk0. > > > Not matter it's SD card or eMMC card, if it's on esdhc1, use /dev/mmcblk1. > > > > With the note here that you can't actually connect an SD card to

RE: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Y.b. Lu
; Ulf Hansson ; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Ashish Kumar > > Subject: Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card > controllers use fixed indices > > Hi Yangbo, > > On Tue, Nov 24, 2020 at 09:02:57AM +, Y.b. Lu wrote: > &

Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Vladimir Oltean
Hi Yangbo, On Tue, Nov 24, 2020 at 09:02:57AM +, Y.b. Lu wrote: > > Am 2020-11-24 09:47, schrieb Y.b. Lu: > > > Hi Michael, > > >> > I don't think it's a problem in board dts to define board specific > > >> > thing, like re-defining alias, and disabling any IP it not using. > > >> > > >>

RE: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Y.b. Lu
; Ulf > Hansson ; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; Ashish Kumar > Subject: Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card > controllers use fixed indices > > Am 2020-11-24 10:22, schrieb Y.b. Lu: > > Hi Michael, > > > >>

Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Michael Walle
; Ulf Hansson ; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Ashish Kumar Subject: Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices Am 2020-11-24 10:02, schrieb Y.b. Lu: > Hi Michael, > >> -Original Message- >> From: Mich

RE: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Y.b. Lu
; Ulf > Hansson ; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; Ashish Kumar > Subject: Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card > controllers use fixed indices > > Am 2020-11-24 10:02, schrieb Y.b. Lu: > > Hi Michael, > > > >>

Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Michael Walle
; Ulf Hansson ; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Ashish Kumar Subject: Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices Am 2020-11-24 09:47, schrieb Y.b. Lu: > Hi Michael, > >> -Original Message- >> From: Mich

RE: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Y.b. Lu
; Ulf > Hansson ; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; Ashish Kumar > Subject: Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card > controllers use fixed indices > > Am 2020-11-24 09:47, schrieb Y.b. Lu: > > Hi Michael, > > > >>

Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Michael Walle
; Ulf Hansson ; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Ashish Kumar Subject: Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices Am 2020-11-24 08:41, schrieb Y.b. Lu: > Hi Vladimir, > >> -Original Message- >> Fro

RE: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Y.b. Lu
; Ulf > Hansson ; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; Ashish Kumar > Subject: Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card > controllers use fixed indices > > Am 2020-11-24 08:41, schrieb Y.b. Lu: > > Hi Vladimir, > > > >> -

Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Michael Walle
; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Ashish Kumar ; Michael Walle Subject: Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices On Fri, Nov 20, 2020 at 02:04:02AM +, Y.b. Lu wrote: > Hi Vladimir, > > I have already upstreamed a patc

RE: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-23 Thread Y.b. Lu
inux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; Ashish Kumar ; > Michael Walle > Subject: Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card > controllers use fixed indices > > On Fri, Nov 20, 2020 at 02:04:02AM +, Y.b. Lu wrote: > > Hi Vladimir, > >

Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-23 Thread Michael Walle
Am 2020-11-20 10:30, schrieb Vladimir Oltean: On Fri, Nov 20, 2020 at 02:04:02AM +, Y.b. Lu wrote: Hi Vladimir, I have already upstreamed a patch for all affected layerscape boards.

Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-20 Thread Vladimir Oltean
On Fri, Nov 20, 2020 at 02:04:02AM +, Y.b. Lu wrote: > Hi Vladimir, > > I have already upstreamed a patch for all affected layerscape boards. > https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/commit/?h=imx/dt64=342ab37ecaf8c1b10dd3ca9a1271db29a6af0705 > > Please check

RE: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-19 Thread Y.b. Lu
Hi Vladimir, I have already upstreamed a patch for all affected layerscape boards. https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/commit/?h=imx/dt64=342ab37ecaf8c1b10dd3ca9a1271db29a6af0705 Please check whether it works for you. Thanks. Best regards, Yangbo Lu >

Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-19 Thread Vladimir Oltean
On Thu, Nov 19, 2020 at 05:08:39PM +0100, Michael Walle wrote: > Could you change this behaviour for the sl28 board(s)? I've always > found it counter-intuitive to have mmcblk1 being the eMMC on a board > which always have the eMMC populated. All our images uses UUIDs for > the "root=" parameter

Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-19 Thread Michael Walle
Hi Vladimir, Am 2020-11-19 16:50, schrieb Vladimir Oltean: As the boot order in the kernel continues to change, sometimes it may happen that the eSDHC controller mmc@215 (the one for eMMC) gets probed before the one at mmc@214 (for external SD cards). The effect is that the eMMC