[PATCH] drm/i915/adl_s: ADL-S platform Update PCI ids for Mobile BGA

2021-02-03 Thread Anand Moon
As per Bspec: 53655 Update PCI ids for Mobile BGA. Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: David Airlie Cc: Daniel Vetter Signed-off-by: Anand Moon diff --git a/include/drm/i915_pciids.h b/include/drm/i915_pciids.h index ebd0dd1c35b3..3be25768321d 100644 --- a/include/drm

Re: [PATCH v2] ARM: dts: exynos: Add a placeholder for a MAC address

2020-11-05 Thread Anand Moon
Hi Marek, On Mon, 2 Nov 2020 at 21:53, Marek Szyprowski wrote: > > Hi Anand, > > On 01.11.2020 15:07, Anand Moon wrote: > > Hi Lukasz, > > > > On Thu, 1 Oct 2020 at 19:25, Łukasz Stelmach wrote: > >> Add a placeholder for a MAC address. A bootloader

Re: [PATCH v2] ARM: dts: exynos: Add a placeholder for a MAC address

2020-11-01 Thread Anand Moon
Hi Lukasz, On Thu, 1 Oct 2020 at 19:25, Łukasz Stelmach wrote: > > Add a placeholder for a MAC address. A bootloader may fill it > to set the MAC address and override EEPROM settings. > > Signed-off-by: Łukasz Stelmach > --- > Changes in v2: > - use local-mac-address and leave mac-address to

Re: [PATCH] clk: meson: g12a: mark fclk_div2 as critical

2020-08-28 Thread Anand Moon
patch. I reported this a long time ago but could not solve it. Please add my Tested-by: Anand Moon > drivers/clk/meson/g12a.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c > index fad616cac01e..2214b974f748 10064

[PATCH v5] phy: samsung: Use readl_poll_timeout function

2020-07-20 Thread Anand Moon
Instead of a busy waiting while loop using udelay use readl_poll_timeout function to check the condition is met or timeout occurs in crport_handshake function. readl_poll_timeout is called in non atomic context so it safe to sleep until the condition is met. Signed-off-by: Anand Moon --- Changes

Re: [PATCH v4] phy: samsung: Use readl_poll_timeout function

2020-07-20 Thread Anand Moon
Hi Krzysztof, On Mon, 20 Jul 2020 at 13:20, Krzysztof Kozlowski wrote: > > On Mon, Jul 13, 2020 at 07:42:43AM +, Anand Moon wrote: > > Instead of a busy waiting while loop using udelay > > use readl_poll_timeout function to check the condition > > is met or timeout oc

Re: [PATCH v4] phy: samsung: Use readl_poll_timeout function

2020-07-15 Thread Anand Moon
Hi Vinod, On Thu, 16 Jul 2020 at 11:20, Vinod Koul wrote: > > On 13-07-20, 07:42, Anand Moon wrote: > > Instead of a busy waiting while loop using udelay > > use readl_poll_timeout function to check the condition > > is met or timeout occurs in crport_handshake function

[PATCH v4] phy: samsung: Use readl_poll_timeout function

2020-07-13 Thread Anand Moon
ynos5-usbdrd: Calibrate LOS levels for exynos5420/5800") Signed-off-by: Anand Moon --- Changes v4: Rebased on to of patch [0] https://patchwork.kernel.org/patch/11651673/ --Fix the commit message. --Fix the error timeout condition for -ETIMEDOUT --- Changes v3: --Fix the commit message. --Drop th

Re: [PATCH v3] phy: samsung: Use readl_poll_timeout function

2020-07-08 Thread Anand Moon
Hi Krzysztof, On Tue, 7 Jul 2020 at 17:06, Krzysztof Kozlowski wrote: > > On Tue, Jul 07, 2020 at 09:59:08AM +, Anand Moon wrote: > > Instead of a busy waiting loop while loop using udelay > > You doubled "loop". > I will fix this in the next version. >

[PATCH v3] phy: samsung: Use readl_poll_timeout function

2020-07-07 Thread Anand Moon
Instead of a busy waiting loop while loop using udelay use readl_poll_timeout function to check the condition is met or timeout occurs in crport_handshake function. Fixes: d8c80bb3b55b ("phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800") Signed-off-by: Anand Moon ---

Re: [PATCH v2] phy: samsung: Use readl_poll_timeout function

2020-07-05 Thread Anand Moon
Hi Krzysztof, Thanks for your review comments. On Sun, 5 Jul 2020 at 23:32, Krzysztof Kozlowski wrote: > > On Sun, Jul 05, 2020 at 06:04:35AM +, Anand Moon wrote: > > User readl_poll_timeout function instead of open > > coded handling in crport_handshake function. &g

[PATCH v2] phy: samsung: Use readl_poll_timeout function

2020-07-05 Thread Anand Moon
User readl_poll_timeout function instead of open coded handling in crport_handshake function. Fixes: d8c80bb3b55b ("phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800") Signed-off-by: Anand Moon --- Changes v2: --used the default timeout values. --Added missing

Re: [PATCH] phy: samsung: Use readl_poll_timeout function

2020-07-03 Thread Anand Moon
hi Krzysztof, On Fri, 3 Jul 2020 at 22:13, Krzysztof Kozlowski wrote: > > On Fri, Jul 03, 2020 at 01:20:12PM +, Anand Moon wrote: > > User readl_poll_timeout function instead of open > > coded handling in crport_handshake function. > > > > Signed-off-by: Anand

[PATCH] phy: samsung: Use readl_poll_timeout function

2020-07-03 Thread Anand Moon
User readl_poll_timeout function instead of open coded handling in crport_handshake function. Signed-off-by: Anand Moon --- drivers/phy/samsung/phy-exynos5-usbdrd.c | 37 +--- 1 file changed, 13 insertions(+), 24 deletions(-) diff --git a/drivers/phy/samsung/phy-exynos5

[PATCH] Revert "usb: dwc3: exynos: Add support for Exynos5422 suspend clk"

2020-06-23 Thread Anand Moon
This reverts commit 07f6842341abe978e6375078f84506ec3280ece5. Since SCLK_SCLK_USBD300 suspend clock need to be configured for phy module, I wrongly mapped this clock to DWC3 code. Cc: Felipe Balbi Cc: Greg Kroah-Hartman Signed-off-by: Anand Moon --- drivers/usb/dwc3/dwc3-exynos.c | 9

Re: [PATCH 1/3] ARM: dts: meson: add the SDHC MMC controller

2020-06-22 Thread Anand Moon
ing > so if more difference are discovered they can be implemented. > > Signed-off-by: Martin Blumenstingl Please add my Reviewed-by: Anand Moon -Anand > --- > arch/arm/boot/dts/meson.dtsi| 7 +++ > arch/arm/boot/dts/meson8.dtsi | 19 +++ > arch/arm/boot/dts

Re: [PATCH 3/3] ARM: dts: meson8b: odroidc1: enable the SDHC controller

2020-06-22 Thread Anand Moon
hat the SDHC > controller supports). Enable the SDHC controller so eMMC modules can be > accessed. > > Signed-off-by: Martin Blumenstingl Please add my Reviewed-by: Anand Moon -Anand > --- > arch/arm/boot/dts/meson8b-odroidc1.dts | 26 ++ > 1 file changed

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, >

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 comma

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,

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,11

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: >

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 > >>

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/a

Re: [RFCv1 4/5] arm64: dts: meson: Add missing regulator linked to VCCV5 regulator to VDDIO_C/TF_IO

2019-10-07 Thread Anand Moon
Hi Neil, On Mon, 7 Oct 2019 at 19:51, Neil Armstrong wrote: > > On 07/10/2019 15:16, Anand Moon wrote: > > As per schematics add missing VCCV5 power supply to VDDIO_C/TF_IO > > regulator. Also add TF_3V3N_1V8_EN signal name to gpio pin. > > > > Fixes: c35f6dc5c377 (

Re: [RFCv1 3/5] arm64: dts: meson: Add missing regulator linked to VDDAO_3V3 regulator to FLASH_VDD

2019-10-07 Thread Anand Moon
Hi Neil, On Mon, 7 Oct 2019 at 19:51, Neil Armstrong wrote: > > On 07/10/2019 15:16, Anand Moon wrote: > > As per schematics add missing VDDAO_3V3 power supply to FLASH_VDD > > regulator. Also add TFLASH_VDD_EN signal name to gpio pin. > > > > Fixes: c35f6dc5c377 (

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 furth

Re: [RFCv1 2/5] arm64: dts: meson: Add missing pwm control gpio signal for pwm-regulator

2019-10-07 Thread Anand Moon
Hi Neil, On Mon, 7 Oct 2019 at 19:50, Neil Armstrong wrote: > > On 07/10/2019 15:16, Anand Moon wrote: > > As per schematics add missing VDDCPUA_PWM and VDDCPUB_PWM > > gpio signal use to enable/disable the pwm regulator for DVFS. > > > > Fixes: d14734a04a8a (ar

Re: [RFCv1 1/5] arm64: dts: meson: Add missing 5V_EN gpio signal for VCC5V regulator

2019-10-07 Thread Anand Moon
Hi Neil, On Mon, 7 Oct 2019 at 19:49, Neil Armstrong wrote: > > Hi Anand, > > On 07/10/2019 15:16, Anand Moon wrote: > > As per schematics add missing 5V_EN gpio signal to enable > > VCC5V regulator node. > > > > Fixes: c35f6dc5c377 (arm64: dts: meson: Add m

[RFCv1 1/5] arm64: dts: meson: Add missing 5V_EN gpio signal for VCC5V regulator

2019-10-07 Thread Anand Moon
As per schematics add missing 5V_EN gpio signal to enable VCC5V regulator node. Fixes: c35f6dc5c377 (arm64: dts: meson: Add minimal support for Odroid-N2) Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-g12b-odroid

[RFCv1 2/5] arm64: dts: meson: Add missing pwm control gpio signal for pwm-regulator

2019-10-07 Thread Anand Moon
As per schematics add missing VDDCPUA_PWM and VDDCPUB_PWM gpio signal use to enable/disable the pwm regulator for DVFS. Fixes: d14734a04a8a (arm64: dts: meson-g12b-odroid-n2: enable DVFS) Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Signed-off-by: Anand Moon --- arch/arm64

[RFCv1 4/5] arm64: dts: meson: Add missing regulator linked to VCCV5 regulator to VDDIO_C/TF_IO

2019-10-07 Thread Anand Moon
As per schematics add missing VCCV5 power supply to VDDIO_C/TF_IO regulator. Also add TF_3V3N_1V8_EN signal name to gpio pin. Fixes: c35f6dc5c377 (arm64: dts: meson: Add minimal support for Odroid-N2) Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Signed-off-by: Anand Moon

[RFCv1 3/5] arm64: dts: meson: Add missing regulator linked to VDDAO_3V3 regulator to FLASH_VDD

2019-10-07 Thread Anand Moon
As per schematics add missing VDDAO_3V3 power supply to FLASH_VDD regulator. Also add TFLASH_VDD_EN signal name to gpio pin. Fixes: c35f6dc5c377 (arm64: dts: meson: Add minimal support for Odroid-N2) Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Signed-off-by: Anand Moon

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

2019-10-07 Thread Anand Moon
Brunet Cc: Neil Armstrong Signed-off-by: Anand Moon --- Odroid N2 Schematics says "GPIOC_6 should not pulled low if GPIOC is not work as SDCARD" Is their any other approch to help resolve this issue. Boot log failed with cold boot: [0] https://pastebin.com/cEtWq2iX --- arch/arm64/configs

[RFCv1 0/5] Odroid N2 failes to boot using upstream kernel & u-boot

2019-10-07 Thread Anand Moon
: Failed to get PWM: -517 [1.619931] hctosys: unable to open rtc device (rtc0) My guess their is not much issue with eMMC module, if their is other approach to resolve this issue, I will give this a try. Best Regards -Anand Anand Moon (5): arm64: dts: meson: Add missing 5V_EN gpio signal

Re: [PATCHv3 RESEND-next 0/3] Odroid c2 missing regulator linking

2019-10-03 Thread Anand Moon
Hi Kevin, On Thu, 3 Oct 2019 at 23:14, Kevin Hilman wrote: > > Anand Moon writes: > > > Looks like this changes got lost so resend these changes again. > > Yeah, sorry about that. Your cover letter subjects were quite similar, > and several versions of this series

[PATCHv3 RESEND-next 2/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to VDDIO_AO3V3 regulator

2019-10-01 Thread Anand Moon
Armstrong Reviewed-by: Neil Armstrong Reviewed-by: Martin Blumenstingl Signed-off-by: Anand Moon --- changes from previous. Patchv1 - Fix the typo. - Add the comment as per Martin's suggestion. - Added Martin's review tags Patchv2 - Added missing Neil's Reviewed-by tags. --- arch/arm64/boot/dts

[PATCHv3 RESEND-next 1/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to P5V0 regulator

2019-10-01 Thread Anand Moon
As per schematics VDDIO_AO18, VDDIO_AO3V3/VDD3V3 DDR3_1V5/DDR_VDDC: fixed regulator output which is supplied by P5V0. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Reviewed-by: Neil Armstrong Reviewed-by: Martin Blumenstingl Signed-off-by: Anand Moon --- Changes from previous

[PATCHv3 RESEND-next 0/3] Odroid c2 missing regulator linking

2019-10-01 Thread Anand Moon
few suggestion from martin for rename of node. Changes for previous changes. Fix some typo. Updated few patches as per Martin's suggestion. Best Regards -Anand Anand Moon (3): arm64: dts: meson: odroid-c2: Add missing regulator linked to P5V0 regulator arm64: dts: meson: odroid-c2: Add

[PATCHv3 RESEND-next 3/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to HDMI supply

2019-10-01 Thread Anand Moon
As per schematics HDMI_P5V0 is supplied by P5V0 so add missing link. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Reviewed-by: Neil Armstrong Reviewed-by: Martin Blumenstingl Signed-off-by: Anand Moon --- Changes from previous Patchv1 - As per Martin's suggestion added

Re: [PATCHv3-next 0/3] Odroid c2 missing regulator linking

2019-09-26 Thread Anand Moon
Hi Kevin, On Fri, 6 Sep 2019 at 17:50, Anand Moon wrote: > > Below small changes help re-configure or fix missing inter linking > of regulator node. > > Re-based on linux-next-20190904 > Changes from previous patch's series. > Build using Cross Compiler. > > Added

Re: [PATCHv4-next 0/3] Odroid c2 usb fixs rebase on linux-next

2019-09-26 Thread Anand Moon
Hi Kevin, On Thu, 26 Sep 2019 at 03:34, Kevin Hilman wrote: > > Anand Moon writes: > > > Some time ago I had tired to enable usb bus 1 for Odroid C2/C1 > > but it's look like some more work is needed to u-boot and > > usb_phy driver to initialize this port.

[PATCHv3-next 3/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to HDMI supply

2019-09-06 Thread Anand Moon
As per schematics HDMI_P5V0 is supplied by P5V0 so add missing link. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Reviewed-by: Neil Armstrong Reviewed-by: Martin Blumenstingl Signed-off-by: Anand Moon --- Changes from previous Patchv1 - As per Martin's suggestion added

[PATCHv3-next 1/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to P5V0 regulator

2019-09-06 Thread Anand Moon
As per schematics VDDIO_AO18, VDDIO_AO3V3/VDD3V3 DDR3_1V5/DDR_VDDC: fixed regulator output which is supplied by P5V0. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Reviewed-by: Neil Armstrong Reviewed-by: Martin Blumenstingl Signed-off-by: Anand Moon --- Changes from previous

[PATCHv3-next 2/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to VDDIO_AO3V3 regulator

2019-09-06 Thread Anand Moon
Armstrong Reviewed-by: Neil Armstrong Reviewed-by: Martin Blumenstingl Signed-off-by: Anand Moon --- changes from previous. Patchv1 - Fix the typo. - Add the comment as per Martin's suggestion. - Added Martin's review tags Patchv2 - Added missing Neil's Reviewed-by tags. --- arch/arm64/boot/dts

[PATCHv3-next 0/3] Odroid c2 missing regulator linking

2019-09-06 Thread Anand Moon
. Fix some typo. Updated few patches as per Martin's suggestion. I will try to commit less mistake in the future. Best Regards -Anand Anand Moon (3): arm64: dts: meson: odroid-c2: Add missing regulator linked to P5V0 regulator arm64: dts: meson: odroid-c2: Add missing regulator linked

[PATCHv3-next 0/3] Odroid c2 missing regulator linking

2019-09-06 Thread Anand Moon
. Fix some typo. Updated few patches as per Martin's suggestion. I will try to commit less mistake in the future. Best Regards -Anand Anand Moon (3): arm64: dts: meson: odroid-c2: Add missing regulator linked to P5V0 regulator arm64: dts: meson: odroid-c2: Add missing regulator linked

[PATCHv2-next 2/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to VDDIO_AO3V3 regulator

2019-09-02 Thread Anand Moon
Armstrong Reviewed-by: Martin Blumenstingl Signed-off-by: Anand Moon --- changes from previous. - Fix the typo. - Add the comment as per Martin's suggestion. - Added Martin's review tags --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 13 ++--- 1 file changed, 10 insertions

[PATCHv2-next 1/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to P5V0 regulator

2019-09-02 Thread Anand Moon
As per schematics VDDIO_AO18, VDDIO_AO3V3/VDD3V3 DDR3_1V5/DDR_VDDC: fixed regulator output which is supplied by P5V0. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Signed-off-by: Anand Moon --- Changes from previous. - drop the rename and linking vcc3v3 regulator node. - fix

[PATCHv2-next 3/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to HDMI supply

2019-09-02 Thread Anand Moon
As per schematics HDMI_P5V0 is supplied by P5V0 so add missing link. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Signed-off-by: Anand Moon --- As per Martin's suggestion added the HDMI_P5V0 fix regulator node. --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 10

[PATCHv2-next 0/3] Odroid c2 missing regulator linking

2019-09-02 Thread Anand Moon
suggetion. Best Regards -Anand Anand Moon (3): arm64: dts: meson: odroid-c2: Add missing regulator linked to P5V0 regulator arm64: dts: meson: odroid-c2: Add missing regulator linked to VDDIO_AO3V3 regulator arm64: dts: meson: odroid-c2: Add missing regulator linked to HDMI supply

[PATCHv4-next 1/3] arm64: dts: meson: odroid-c2: p5v0 is the main 5V power input

2019-09-01 Thread Anand Moon
Acked-by: Martin Blumenstingl Signed-off-by: Anand Moon --- Rebased on linux-next. Added Acked by Martin. Fixed the commit message to add misssing VDDIO_AO3V3 and VDD3V3. --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64

[PATCHv4-next 2/3] arm64: dts: meson: odroid-c2: Add missing linking regulator to usb bus

2019-09-01 Thread Anand Moon
Add missing linking regulator node to usb bus for power usb devices. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Acked-by: Martin Blumenstingl Signed-off-by: Anand Moon --- Re-base on linux-next Added Ack from Martin. Changes from previous patch [1] https://lore.kernel.org

[PATCHv4-next 3/3] arm64: dts: meson: odroid-c2: Disable usb_otg bus to avoid power failed warning

2019-09-01 Thread Anand Moon
753] dwc2: probe of c900.usb failed with error -22 Fixes: 5a0803bd5ae2 ("ARM64: dts: meson-gxbb-odroidc2: Enable USB Nodes") Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Acked-by: Martin Blumenstingl Signed-off-by: Anand Moon --- Rebased on linux-next Added Acked

[PATCHv4-next 0/3] Odroid c2 usb fixs rebase on linux-next

2019-09-01 Thread Anand Moon
] https://lkml.org/lkml/2019/1/29/325 Re send below series based re based on linux-next-20190830. For review and testing. [1] https://patchwork.kernel.org/cover/3091/ Small changes from previous series. Fix the commit message for patch 1 Best Regards -Anand Anand Moon (3): arm64: dts: meson

Re: [PATCHv1 1/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to P5V0 regulator

2019-09-01 Thread Anand Moon
Hi Martin, On Mon, 2 Sep 2019 at 03:23, Martin Blumenstingl wrote: > > Hi Anand, > > On Sun, Sep 1, 2019 at 3:58 PM Anand Moon wrote: > > > > Hi Martin, > > > > Thanks for your review comments. > > > > Their have been some revision

Re: [PATCHv1 3/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to HDMI supply

2019-09-01 Thread Anand Moon
Hi Martin, On Sun, 1 Sep 2019 at 17:14, Martin Blumenstingl wrote: > > Hi Anand, > > On Wed, Aug 28, 2019 at 10:27 PM Anand Moon wrote: > > > > As per shematics HDMI_P5V0 is supplied by P5V0 so add missing link. > typo: "schematics" > > > Cc: Mart

Re: [PATCHv1 1/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to P5V0 regulator

2019-09-01 Thread Anand Moon
d, Aug 28, 2019 at 10:27 PM Anand Moon wrote: > > > > As per shematics VDDIO_AO18, VDDIO_AO3V3/VDD3V3 DDR3_1V5/DDR_VDDC: > typo: "schematics" > OK. next time will run spell check before I send these changes. > > fixed regulator output which is supplied by P5

Re: [PATCHv1 2/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to VDDIO_AO3V3 regulator

2019-09-01 Thread Anand Moon
Hi Martin, Thanks of your review comments. On Sun, 1 Sep 2019 at 17:11, Martin Blumenstingl wrote: > > On Wed, Aug 28, 2019 at 10:27 PM Anand Moon wrote: > > > > As per shematics TFLASH_VDD, TF_IO, VCC3V3 fixed regulator output which > typo: "schematics" >

Re: [PATCHv1 0/3] Odroid c2 missing regulator linking

2019-08-30 Thread Anand Moon
Hi Neil, On Fri, 30 Aug 2019 at 13:01, Neil Armstrong wrote: > > On 29/08/2019 20:35, Anand Moon wrote: > > Hi Neil, > > > > On Thu, 29 Aug 2019 at 13:58, Neil Armstrong > > wrote: > >> > >> On 28/08/2019 22:27, Anand Moon wrote: > >>>

Re: [PATCHv1 0/3] Odroid c2 missing regulator linking

2019-08-29 Thread Anand Moon
Hi Neil, On Thu, 29 Aug 2019 at 13:58, Neil Armstrong wrote: > > On 28/08/2019 22:27, Anand Moon wrote: > > Below small changes help re-configure or fix missing inter linking > > of regulator node. > > > > Changes based top on my prevoius series. > > For the

[PATCHv1 3/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to HDMI supply

2019-08-28 Thread Anand Moon
As per shematics HDMI_P5V0 is supplied by P5V0 so add missing link. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic

[PATCHv1 2/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to VDDIO_AO3V3 regulator

2019-08-28 Thread Anand Moon
As per shematics TFLASH_VDD, TF_IO, VCC3V3 fixed regulator output which is supplied by VDDIO_AO3V3. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Signed-off-by: Anand Moon --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 13 ++--- 1 file changed, 10 insertions

[PATCHv1 1/3] arm64: dts: meson: odroid-c2: Add missing regulator linked to P5V0 regulator

2019-08-28 Thread Anand Moon
As per shematics VDDIO_AO18, VDDIO_AO3V3/VDD3V3 DDR3_1V5/DDR_VDDC: fixed regulator output which is supplied by P5V0. Rename vcc3v3 regulator node to vddio_ao3v3 as per shematics. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Signed-off-by: Anand Moon --- .../boot/dts/amlogic

[PATCHv1 0/3] Odroid c2 missing regulator linking

2019-08-28 Thread Anand Moon
Below small changes help re-configure or fix missing inter linking of regulator node. Changes based top on my prevoius series. [0] https://patchwork.kernel.org/cover/3091/ TOOD: Add support for DVFS GXBB odroid board in next series. Best Regards -Anand Anand Moon (3): arm64: dts: meson

Re: [PATCHv4 0/3] Odroid c2 usb fixs

2019-08-25 Thread Anand Moon
Hi Martin, On Sun, 25 Aug 2019 at 02:48, Martin Blumenstingl wrote: > > Hi Anand, > > thank you for the patches > > On Sat, Aug 24, 2019 at 8:49 PM Anand Moon wrote: > [...] > > Anand Moon (3): > > arm64: dts: meson: odroid-c2: p5v0 is the main 5V power inpu

[PATCHv4 1/3] arm64: dts: meson: odroid-c2: p5v0 is the main 5V power input

2019-08-24 Thread Anand Moon
As per the schematic Monolithic Power Systems MP2161GJ-C499 supply a fixed output voltage of 5.0V. This supplies linked to VDD_EE, HDMI_P5V0, USB_POWER, VCCK, VDDIO_AO1V8, DDR_VDDC according to the schematics. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Signed-off-by: Anand

[PATCHv4 2/3] arm64: dts: meson: odroid-c2: Add missing linking regulator to usb bus

2019-08-24 Thread Anand Moon
Add missing linking regulator node to usb bus for power usb devices. Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Signed-off-by: Anand Moon --- Changes from previous patch [1] https://lore.kernel.org/patchwork/patch/1031243/ split the changes and add the comments to power

[PATCHv4 3/3] arm64: dts: meson: odroid-c2: Disable usb_otg bus to avoid power failed warning

2019-08-24 Thread Anand Moon
753] dwc2: probe of c900.usb failed with error -22 Fixes: 5a0803bd5ae2 ("ARM64: dts: meson-gxbb-odroidc2: Enable USB Nodes") Cc: Martin Blumenstingl Cc: Jerome Brunet Cc: Neil Armstrong Signed-off-by: Anand Moon --- [0] https://patchwork.kernel.org/patch/10757569/ Earlier my approach

[PATCHv4 0/3] Odroid c2 usb fixs

2019-08-24 Thread Anand Moon
] https://lkml.org/lkml/2019/1/29/325 I have tried to split the patchs for now. Anand Moon (3): arm64: dts: meson: odroid-c2: p5v0 is the main 5V power input arm64: dts: meson: odroid-c2: Add missing linking regulator to usb bus arm64: dts: meson: odroid-c2: Disable usb_otg bus to avoid power

Re: [PATCH] arm64: dts: meson: odroid-n2: keep SD card regulator always on

2019-07-24 Thread Anand Moon
Hi Neil, On Wed, 24 Jul 2019 at 12:19, Neil Armstrong wrote: > > Hi Anand, > > On 24/07/2019 07:30, Anand Moon wrote: > > Hi All, > > > > On Mon, 22 Jul 2019 at 12:51, Neil Armstrong > > wrote: > >> > >> On 19/07/2019 21:29, Xavi

Re: [PATCH] arm64: dts: meson: odroid-n2: keep SD card regulator always on

2019-07-23 Thread Anand Moon
Hi All, On Mon, 22 Jul 2019 at 12:51, Neil Armstrong wrote: > > On 19/07/2019 21:29, Xavier Ruppen wrote: > > When powering off the Odroid N2, the tflash_vdd regulator is > > automatically turned off by the kernel. This is a problem > > when issuing the "reboot" command while using an SD card. >

[RFC/RFT 5/5] phy: exynos5-usbdrd: drop duplicate setting PIPE3 tune signal

2019-07-22 Thread Anand Moon
Drop duplicate configuration setting of PIPE tune signal. Signed-off-by: Anand Moon --- drivers/phy/samsung/phy-exynos5-usbdrd.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/phy/samsung/phy-exynos5-usbdrd.c b/drivers/phy/samsung/phy-exynos5-usbdrd.c index 4f16c4f82ae5

[RFC/RFT 3/5] phy: exynos5-usbdrd: UTMI tune signal

2019-07-22 Thread Anand Moon
Tune USB2.0 (UTMI+) TX signal for high speed data transfer. Signed-off-by: Anand Moon --- drivers/phy/samsung/phy-exynos5-usbdrd.c | 42 +--- 1 file changed, 37 insertions(+), 5 deletions(-) diff --git a/drivers/phy/samsung/phy-exynos5-usbdrd.c b/drivers/phy/samsung/phy

[RFC/RFT 4/5] phy: exynos5-usbdrd: PIPE3 tune signal

2019-07-22 Thread Anand Moon
Tune USB3.0 (PIPE3) PHY TX signal for high and supper speed data transfer. Signed-off-by: Anand Moon --- drivers/phy/samsung/phy-exynos5-usbdrd.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/drivers/phy/samsung/phy-exynos5-usbdrd.c b/drivers/phy

[RFC/RFT 2/5] phy: exynos5-usbdrd: add missing tuning of the phyutmi signal

2019-07-22 Thread Anand Moon
Add missing tuning of phyutmi controls to enter suspend and resume state. Signed-off-by: Anand Moon --- drivers/phy/samsung/phy-exynos5-usbdrd.c | 32 ++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/drivers/phy/samsung/phy-exynos5-usbdrd.c b/drivers/phy

[RFC/RFT 1/5] phy: exynos5-usbdrd: read from correct offset of xhci linksystem

2019-07-22 Thread Anand Moon
Read from linksystem offset to update the xhci version. Signed-off-by: Anand Moon --- drivers/phy/samsung/phy-exynos5-usbdrd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/phy/samsung/phy-exynos5-usbdrd.c b/drivers/phy/samsung/phy-exynos5-usbdrd.c index

[RFC/RFT 0/5] Exynos USB 3.0 PHY tune setting

2019-07-22 Thread Anand Moon
://patchwork.kernel.org/cover/11049823/ Anand Moon (5): phy: exynos5-usbdrd: read from correct offset of xhci linksystem phy: exynos5-usbdrd: add missing tuning of the phyutmi signal phy: exynos5-usbdrd: UTMI tune signal phy: exynos5-usbdrd: PIPE3 tune signal phy: exynos5-usbdrd: drop duplicate

Re: [PATCH 0/3] Fix USB3.0 DRD PHY calibration issues (DWC3/XHCI) on Exynos542x SoCs

2019-07-15 Thread Anand Moon
Hi Marek, On Mon, 15 Jul 2019 at 17:49, Marek Szyprowski wrote: > > Hi Anand, > > On 2019-06-28 17:32, Anand Moon wrote: > > Hi Marek, > > > > On Thu, 27 Jun 2019 at 12:47, Marek Szyprowski > > wrote: > >> Dear All, > >> > >>

Re: [PATCH 0/3] Fix USB3.0 DRD PHY calibration issues (DWC3/XHCI) on Exynos542x SoCs

2019-06-28 Thread Anand Moon
Hi Marek, On Thu, 27 Jun 2019 at 12:47, Marek Szyprowski wrote: > > Dear All, > > Commit d8c80bb3b55b ("phy: exynos5-usbdrd: Calibrate LOS levels for > exynos5420/5800") added support for Exynos5 USB3.0 DRD PHY calibration, > what enabled proper Super-Speed enumeration of USB3.0 devices

Re: [PATCH v2 3/4] ARM: dts: exynos: Add regulator suspend configuration to Odroid XU3/XU4/HC1 family

2019-06-24 Thread Anand Moon
Hi Marek / Krzysztof, On Mon, 24 Jun 2019 at 14:31, Marek Szyprowski wrote: > > Hi Krzysztof, > > On 2019-06-24 09:41, Krzysztof Kozlowski wrote: > > On Mon, 24 Jun 2019 at 09:20, Marek Szyprowski > > wrote: > >> On 2019-06-23 18:02, Anand Moon wrote: > >

Re: [PATCH v2 3/4] ARM: dts: exynos: Add regulator suspend configuration to Odroid XU3/XU4/HC1 family

2019-06-23 Thread Anand Moon
Hi Krzysztof, Thanks for this patch. Please add my Tested-by: Anand Moon [snip] Could you integrate below small changes into this patch. with these below changes suspend and resume work correctly at my end. [1] XU4_suspendresume.patch As per S2MPS11B PMIC 1.2.1 Regulator (Features) Fix

Re: [PATCH v5 3/3] arm64: dts: meson: Add minimal support for Odroid-N2

2019-06-03 Thread Anand Moon
icrovolt = <180>; > + regulator-max-microvolt = <180>; > + vin-supply = <_3v3>; > + regulator-always-on; > + }; > + > + main_12v: regulator-main_12v { > + compatible = "regulator-fixed"; > +

Re: [PATCH v2] arm64: dts: rockchip: Add missing configuration pwr amd rst for PCIe

2019-06-01 Thread Anand Moon
Hi Manivannan, Thanks for your review comment. On Sat, 1 Jun 2019 at 15:21, Manivannan Sadhasivam wrote: > > Hi, > > On Fri, May 31, 2019 at 08:19:13PM +, Anand Moon wrote: > > This patch add missing PCIe gpio pin (#PCIE_PWR) for vcc3v3_pcie power > > regulator nod

[PATCH v2] arm64: dts: rockchip: Add missing configuration pwr amd rst for PCIe

2019-05-31 Thread Anand Moon
This patch add missing PCIe gpio pin (#PCIE_PWR) for vcc3v3_pcie power regulator node also add missing reset pinctrl (#PCIE_PERST_L) for PCIe node. Signed-off-by: Anand Moon --- using schematics: thanks for suggested by Manivannan [1] https://dl.vamrs.com/products/rock960/docs/hw

Re: [PATCH] arm64: dts: rockchip: Add missing PCIe pwr amd rst configuration

2019-05-30 Thread Anand Moon
Hi Manivannan, On Fri, 31 May 2019 at 09:32, Manivannan Sadhasivam wrote: > > Hi, > > On Thu, May 30, 2019 at 12:58:37PM +, Anand Moon wrote: > > This patch add missing PCIe gpio and pinctrl for power (#PCIE_PWR) > > also add PCIe gpio and pinctrl for reset (#PCIE_

[PATCH] arm64: dts: rockchip: Add missing PCIe pwr amd rst configuration

2019-05-30 Thread Anand Moon
This patch add missing PCIe gpio and pinctrl for power (#PCIE_PWR) also add PCIe gpio and pinctrl for reset (#PCIE_PERST_L). Signed-off-by: Anand Moon --- Tested on Rock960 Model A --- arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 16 ++-- 1 file changed, 14 insertions(+), 2

Re: [PATCH] ARM: dts: exynos: add CCI-400 PMU nodes support to Exynos542x SoCs

2019-04-16 Thread Anand Moon
Hi Krzysztof, On Tue, 16 Apr 2019 at 15:49, Krzysztof Kozlowski wrote: > > On Mon, 15 Apr 2019 at 14:24, Anand Moon wrote: > > Cache Coherent Interface (CCI) among Cortex-A15 and Cortex-A7, G2D, G3D and > > SSS > > > > Level 0 > CPU blocks such as

Re: [PATCH] ARM: dts: exynos: add CCI-400 PMU nodes support to Exynos542x SoCs

2019-04-15 Thread Anand Moon
Hi Willy, On Fri, 12 Apr 2019 at 22:55, Willy Wolff wrote: > > Add device tree entries for PMU of ARM CCI-400. > > $ sudo ./perf stat -a -C 0 -e CCI_400/config=0xff,name=cycles/ sleep 1 > > Performance counter stats for 'system wide': > >420,303,619 cycles > >1.019058775

Re: [PATCH RFC 8/8] ARM: dts: exynos: Add ASV tables for exynos5422/5800

2019-04-11 Thread Anand Moon
Hi Sylwester, As per my knowledge HK soc introduce this table to support overclocking of cpufreq for Odroid XU3 XU4 family for boards. ARM Cortex-A15 Quad CPU (Eagle) 1800 to 2000 ARM Cortex-A7 Quard CPU (Kingfisher) 1400 to 1500 For Exynos5422 below table asv-table-[0-3] AVS range from 200

Re: [PATCH v1] ARM: dts: exynos: Add proper regulator states for suspend-to-mem for odroid-u3

2019-04-03 Thread Anand Moon
hi Krzysztof, On Tue, 26 Mar 2019 at 16:28, Krzysztof Kozlowski wrote: > > On Tue, 26 Mar 2019 at 11:35, Anand Moon wrote: > > (...) > > > > This is third or fourth submission but you marked it as v1. This makes > > > it very difficult to discus

Re: [PATCH v1] ARM: dts: exynos: Add proper regulator states for suspend-to-mem for odroid-u3

2019-03-26 Thread Anand Moon
Hi Krzysztof, Thanks your for your valuable comments. I will try to answer your queries to best of my knowledge. On Mon, 25 Mar 2019 at 18:16, Krzysztof Kozlowski wrote: > > On Sun, 24 Mar 2019 at 09:33, Anand Moon wrote: > > > > Add suspend-to-mem node to regulator

[PATCH v1] ARM: dts: exynos: Add proper regulator states for suspend-to-mem for odroid-u3

2019-03-24 Thread Anand Moon
-by: Anand Moon --- Current patch: Note: Both microSD and eMMC suspend resume works this changes at my end. regulator-off-in-suspend: set the regulator node into suspend state i.e. standby mode during suspend operation. Current changes are based on [0] https://www.kernel.org/doc/Documentation

Re: [PATCH] ARM: dts: exynos: Add pin configuration for read strobe for Odroid XU3/XU4 eMMC

2019-02-22 Thread Anand Moon
Hi Marek, On Fri, 22 Feb 2019 at 15:59, Marek Szyprowski wrote: > > Hi Anand, > > On 2019-02-22 11:19, Anand Moon wrote: > > Add Read Strobe RDQS pin configuration for eMMC to support higher data rate > > read/write. > > > > Signed-off-by: Anand Moon >

[PATCH] ARM: dts: exynos: Add pin configuration for read strobe for Odroid XU3/XU4 eMMC

2019-02-22 Thread Anand Moon
Add Read Strobe RDQS pin configuration for eMMC to support higher data rate read/write. Signed-off-by: Anand Moon --- arch/arm/boot/dts/exynos5420-pinctrl.dtsi | 6 ++ arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff

Re: [PATCH v2] ARM: pm: fix HYP/SVC mode mismatch when MCPM is used

2019-02-17 Thread Anand Moon
n. > > This change fixes HYP/SVC mode mismatch on Samsung Exynos5422-based Odroid > XU3/XU4/HC1 boards. > > Fixes: 3721924c8154 ("ARM: 8081/1: MCPM: provide infrastructure to allow for > MCPM loopback") > Signed-off-by: Marek Szyprowski > Acked-by: N

Re: [RFC 1/2] ARM: dts: exynos: Add proper regulator states for suspend-to-mem for odroid-u3

2019-02-15 Thread Anand Moon
Hi Krzysztof, On Fri, 15 Feb 2019 at 13:01, Krzysztof Kozlowski wrote: > > On Thu, 14 Feb 2019 at 19:35, Anand Moon wrote: > > > > hi Krzysztof, > > > > Thanks fro your review comments. > > > > On Thu, 14 Feb 2019 at 18:11, Krzysztof Kozlowski wrote

Re: [RFC 1/2] ARM: dts: exynos: Add proper regulator states for suspend-to-mem for odroid-u3

2019-02-15 Thread Anand Moon
Hi Krzysztof, On Fri, 15 Feb 2019 at 13:01, Krzysztof Kozlowski wrote: > > On Thu, 14 Feb 2019 at 19:35, Anand Moon wrote: > > > > hi Krzysztof, > > > > Thanks fro your review comments. > > > > On Thu, 14 Feb 2019 at 18:11, Krzysztof Kozlowski wrote

Re: [RFC 2/2] soc: samsung: pmu: Add the PMU data of exynos4412 to support low-power state

2019-02-15 Thread Anand Moon
Hi Krzysztof, On Fri, 15 Feb 2019 at 13:03, Krzysztof Kozlowski wrote: > > On Thu, 14 Feb 2019 at 19:37, Anand Moon wrote: > > > > Hi Krzysztof, > > > > Thanks for your review comments. > > > > On Thu, 14 Feb 2019 at 18:29, Krzysztof Kozlowski wrote

Re: [RFC 2/2] soc: samsung: pmu: Add the PMU data of exynos4412 to support low-power state

2019-02-14 Thread Anand Moon
Hi Krzysztof, Thanks for your review comments. On Thu, 14 Feb 2019 at 18:29, Krzysztof Kozlowski wrote: > > On Wed, 13 Feb 2019 at 22:41, Anand Moon wrote: > > > > This patch adds configration for PMU (Power Management Unit) state > > tuning for exynos4412 SoC in order

  1   2   3   4   5   6   7   >