Skip to content

ARM: OMAP4+: Fix gpmc_fck clock

Tony Lindgren linux-arm-kernel linux-omap 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 of 2 patches 0 repliesNew
  2. v20 of 2 patches 0 repliesSuperseded

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2CLK: TI: OMAP4/5/DRA7: Remove gpmc_fck from dummy clocks+0 -01 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchTero Kristo
1/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] ARM: OMAP4+: Fix gpmc_fck clock
Quoted 31 lines · Florian Vaussard

Hi,

Quoted 28 lines · Florian Vaussard

Hello,

Trying to get my SMSC9221 working on OMAP4 with DT, I faced a misconfigured gpmc_fck (dummy clock set to 0) resulting in serveral division-by-zero, misconfigured timings and driver lost in the La La Land.

To solve this, patch 1 removes gpmc_fck from the dummy clocks, and patch 2 adds the gpmc_fck DT node and reference it from the gpmc node.

*Note*: For DRA7, there is no DTS node for the GPMC, so I was unable to set the corresponding clock. And without a public TRM, I cannot do much more.

Tested on DuoVero/Parlor (OMAP4430) with SMSC9221 (DTS was posted on the OMAP ML [1]).

Regards,
Florian

[1] http://thread.gmane.org/gmane.linux.ports.arm.omap/110801
---
Since v2:
- Added OMAP5 and DRA7
Since v1:
- Removed the gpmc_fck clock node, and reference directly l3_ick

Quoted 8 lines
Quoted 4 lines

Florian Vaussard (2):
CLK: TI: OMAP4/5/DRA7: Remove gpmc_fck from dummy clocks
ARM: DTS: OMAP4/5: Use l3_ick for the gpmc node

Any other comments on these two patches? If it is not going into 3.15 before the merge window, it will have to go through the -rc cycle as the Duovero/Parlor .dts will be upstream.

Applying both into omap-for-v3.15/fixes with Cc: stable v3.14+.

Regards,

Tony

Quoted 11 lines
Quoted 7 lines
 arch/arm/boot/dts/omap4.dtsi | 2 ++
 arch/arm/boot/dts/omap5.dtsi | 2 ++
 drivers/clk/ti/clk-44xx.c    | 1 -
 drivers/clk/ti/clk-54xx.c    | 1 -
 drivers/clk/ti/clk-7xx.c     | 1 -
 5 files changed, 4 insertions(+), 3 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html