Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-21 Thread Anand Moon
Hi Neil, On Mon, 21 Oct 2019 at 19:55, Neil Armstrong wrote: > > Hi Anand, > > On 21/10/2019 16:11, Anand Moon wrote: > > Hi Martin, > > > > On Fri, 18 Oct 2019 at 23:40, Martin Blumenstingl > > wrote: > >> > >> Hi Anand, > >> > >> On Fri, Oct 18, 2019 at 4:04 PM Anand Moon wrote: > >> [...] >

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-21 Thread Neil Armstrong
Hi Anand, On 21/10/2019 16:11, Anand Moon wrote: > Hi Martin, > > On Fri, 18 Oct 2019 at 23:40, Martin Blumenstingl > wrote: >> >> Hi Anand, >> >> On Fri, Oct 18, 2019 at 4:04 PM Anand Moon wrote: >> [...] Next step it to try narrow down the clock causing the issue. Remove

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-21 Thread Anand Moon
Hi Martin, On Fri, 18 Oct 2019 at 23:40, Martin Blumenstingl wrote: > > Hi Anand, > > On Fri, Oct 18, 2019 at 4:04 PM Anand Moon wrote: > [...] > > > Next step it to try narrow down the clock causing the issue. > > > Remove clk_ignore_unused from the command line and add CLK_INGORE_UNUSED > > >

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-18 Thread Martin Blumenstingl
Hi Anand, On Fri, Oct 18, 2019 at 4:04 PM Anand Moon wrote: [...] > > Next step it to try narrow down the clock causing the issue. > > Remove clk_ignore_unused from the command line and add CLK_INGORE_UNUSED > > to the flag of some clocks your clock controller (g12a I think) until > > > > The

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-18 Thread Anand Moon
Hi Neil, On Fri, 18 Oct 2019 at 19:43, Neil Armstrong wrote: > > On 18/10/2019 16:04, Anand Moon wrote: > > Hi Jerome / Neil / Martin, > > > > On Wed, 9 Oct 2019 at 17:34, Jerome Brunet wrote: > >> > >> > >> On Wed 09 Oct 2019 at 10:48, Anand Moon wrote: > >>> > >>> Kernel command line:

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-18 Thread Neil Armstrong
On 18/10/2019 16:04, Anand Moon wrote: > Hi Jerome / Neil / Martin, > > On Wed, 9 Oct 2019 at 17:34, Jerome Brunet wrote: >> >> >> On Wed 09 Oct 2019 at 10:48, Anand Moon wrote: >>> >>> Kernel command line: console=ttyAML0,115200n8 >>> root=PARTUUID=45d7d61e-01 rw rootwait >>>

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-18 Thread Anand Moon
Hi Jerome / Neil / Martin, On Wed, 9 Oct 2019 at 17:34, Jerome Brunet wrote: > > > On Wed 09 Oct 2019 at 10:48, Anand Moon wrote: > > > > Kernel command line: console=ttyAML0,115200n8 > > root=PARTUUID=45d7d61e-01 rw rootwait > > earlyprintk=serial,ttyAML0,115200 initcall_debug printk.time=y >

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-09 Thread Martin Blumenstingl
Hi Anand, On Wed, Oct 9, 2019 at 10:49 AM Anand Moon wrote: [...] > > can you please share a boot log with the command line parameter > > "initcall_debug" [0]? > > from Documentation/admin-guide/kernel-parameters.txt: > > initcall_debug [KNL] Trace initcalls as they are executed. Useful > >

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-09 Thread Jerome Brunet
On Wed 09 Oct 2019 at 10:48, Anand Moon wrote: > > Kernel command line: console=ttyAML0,115200n8 > root=PARTUUID=45d7d61e-01 rw rootwait > earlyprintk=serial,ttyAML0,115200 initcall_debug printk.time=y > > [0] https://pastebin.com/eBgJrSKe > >> you can also try the command line parameter

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-09 Thread Anand Moon
Hi Martin, Thanks for your inputs. On Tue, 8 Oct 2019 at 23:11, Martin Blumenstingl wrote: > > Hi Anand, > > On Tue, Oct 8, 2019 at 4:39 PM Anand Moon wrote: > > > > Hi Kevin / Martin, > > > > On Tue, 8 Oct 2019 at 04:28, Kevin Hilman wrote: > > > > > > Martin Blumenstingl writes: > > > > >

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-08 Thread Martin Blumenstingl
Hi Anand, On Tue, Oct 8, 2019 at 4:39 PM Anand Moon wrote: > > Hi Kevin / Martin, > > On Tue, 8 Oct 2019 at 04:28, Kevin Hilman wrote: > > > > Martin Blumenstingl writes: > > > > > On Mon, Oct 7, 2019 at 3:17 PM Anand Moon wrote: > > > [...] > > >> diff --git a/arch/arm64/configs/defconfig

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-08 Thread Anand Moon
Hi Kevin / Martin, On Tue, 8 Oct 2019 at 04:28, Kevin Hilman wrote: > > Martin Blumenstingl writes: > > > On Mon, Oct 7, 2019 at 3:17 PM Anand Moon wrote: > > [...] > >> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > >> index c9a867ac32d4..72f6a7dca0d6 100644 > >>

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-07 Thread Anand Moon
Hi Martin. On Tue, 8 Oct 2019 at 01:40, Martin Blumenstingl wrote: > > On Mon, Oct 7, 2019 at 3:17 PM Anand Moon wrote: > [...] > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > > index c9a867ac32d4..72f6a7dca0d6 100644 > > --- a/arch/arm64/configs/defconfig > > +++

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-07 Thread Kevin Hilman
Martin Blumenstingl writes: > On Mon, Oct 7, 2019 at 3:17 PM Anand Moon wrote: > [...] >> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig >> index c9a867ac32d4..72f6a7dca0d6 100644 >> --- a/arch/arm64/configs/defconfig >> +++ b/arch/arm64/configs/defconfig >> @@ -774,7

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-07 Thread Martin Blumenstingl
On Mon, Oct 7, 2019 at 3:17 PM Anand Moon wrote: [...] > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > index c9a867ac32d4..72f6a7dca0d6 100644 > --- a/arch/arm64/configs/defconfig > +++ b/arch/arm64/configs/defconfig > @@ -774,7 +774,7 @@ CONFIG_MPL3115=m >

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-07 Thread Anand Moon
Hi Neil, On Mon, 7 Oct 2019 at 19:55, Neil Armstrong wrote: > > On 07/10/2019 15:16, Anand Moon wrote: > > Using microSD card we cannot get the mainline kernel to boot > > What's the link with microSD card here ? Well I thought that the PWM failed stop's booting further on linux kernel. But

Re: [RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-07 Thread Neil Armstrong
On 07/10/2019 15:16, Anand Moon wrote: > Using microSD card we cannot get the mainline kernel to boot What's the link with microSD card here ? > using mainline u-boot it fails with below logs. > Build PWM_MESSON as build-in solve the issue. > > [1.569240] meson-gx-mmc ffe05000.sd: Got CD

[RFCv1 5/5] arm64/ARM: configs: Change CONFIG_PWM_MESON from m to y

2019-10-07 Thread Anand Moon
Using microSD card we cannot get the mainline kernel to boot using mainline u-boot it fails with below logs. Build PWM_MESSON as build-in solve the issue. [1.569240] meson-gx-mmc ffe05000.sd: Got CD GPIO [1.599227] pwm-regulator regulator-vddcpu-a: Failed to get PWM: -517 [1.600605]