Re: [PATCH v3 0/8] OMAP3: convert opp-v1 to opp-v2 and read speed binned / 720MHz grade bits

2019-10-10 Thread Viresh Kumar
On 11-09-19, 19:47, H. Nikolaus Schaller wrote:
> CHANGES V3:
> * make omap36xx control the abb-ldo and properly switch mode
>   (suggested by Adam Ford )
> * add a note about enabling the turbo-mode OPPs

Applied the series to cpufreq/arm tree.

Also shared a branch for you Tony: cpufreq/ti/oppv2.

-- 
viresh


Re: [PATCH v3 0/8] OMAP3: convert opp-v1 to opp-v2 and read speed binned / 720MHz grade bits

2019-10-02 Thread Viresh Kumar
On Tue, 17 Sep 2019 at 16:35, H. Nikolaus Schaller  wrote:
>
> Hi Tony,
>
> > Am 16.09.2019 um 18:28 schrieb Tony Lindgren :
> >
> > * H. Nikolaus Schaller  [190911 17:48]:
> >> CHANGES V3:
> >> * make omap36xx control the abb-ldo and properly switch mode
> >>  (suggested by Adam Ford )
> >> * add a note about enabling the turbo-mode OPPs
> >
> > Looks good to me, when applying, please provide a
> > minimal immutable branch maybe against v5.3 or v5.4-rc1,
> > that I can also merge in if needed for the dts changes.
>
> Should I resend a v4 with your Acked-By added?

I will pick them up in a few days. I was waiting for rc1 to get released and
am on vacation right now. Tony already provided his Acks.

--
viresh


Re: [PATCH v3 0/8] OMAP3: convert opp-v1 to opp-v2 and read speed binned / 720MHz grade bits

2019-10-01 Thread H. Nikolaus Schaller
Hi Tony,

> Am 17.09.2019 um 16:35 schrieb H. Nikolaus Schaller :
> 
> Hi Tony,
> 
>> Am 16.09.2019 um 18:28 schrieb Tony Lindgren :
>> 
>> * H. Nikolaus Schaller  [190911 17:48]:
>>> CHANGES V3:
>>> * make omap36xx control the abb-ldo and properly switch mode
>>> (suggested by Adam Ford )
>>> * add a note about enabling the turbo-mode OPPs
>> 
>> Looks good to me, when applying, please provide a
>> minimal immutable branch maybe against v5.3 or v5.4-rc1,
>> that I can also merge in if needed for the dts changes.
> 
> Should I resend a v4 with your Acked-By added?
> 
> BR and thanks,
> Nikolaus
> 

what is the procedure to get this and Adam's thermal setup into linux-next?
BR and thanks,
Nikolaus





Re: [PATCH v3 0/8] OMAP3: convert opp-v1 to opp-v2 and read speed binned / 720MHz grade bits

2019-09-17 Thread H. Nikolaus Schaller
Hi Tony,

> Am 16.09.2019 um 18:28 schrieb Tony Lindgren :
> 
> * H. Nikolaus Schaller  [190911 17:48]:
>> CHANGES V3:
>> * make omap36xx control the abb-ldo and properly switch mode
>>  (suggested by Adam Ford )
>> * add a note about enabling the turbo-mode OPPs
> 
> Looks good to me, when applying, please provide a
> minimal immutable branch maybe against v5.3 or v5.4-rc1,
> that I can also merge in if needed for the dts changes.

Should I resend a v4 with your Acked-By added?

BR and thanks,
Nikolaus



Re: [PATCH v3 0/8] OMAP3: convert opp-v1 to opp-v2 and read speed binned / 720MHz grade bits

2019-09-16 Thread Tony Lindgren
* H. Nikolaus Schaller  [190911 17:48]:
> CHANGES V3:
> * make omap36xx control the abb-ldo and properly switch mode
>   (suggested by Adam Ford )
> * add a note about enabling the turbo-mode OPPs

Looks good to me, when applying, please provide a
minimal immutable branch maybe against v5.3 or v5.4-rc1,
that I can also merge in if needed for the dts changes.

Thanks,

Tony


[PATCH v3 0/8] OMAP3: convert opp-v1 to opp-v2 and read speed binned / 720MHz grade bits

2019-09-11 Thread H. Nikolaus Schaller
CHANGES V3:
* make omap36xx control the abb-ldo and properly switch mode
  (suggested by Adam Ford )
* add a note about enabling the turbo-mode OPPs

PATCH V2 2019-09-07 19:46:58:
* fix ti-cpufreq to properly describe which compatible string is legacy
* add some reviewed-by and acked-by Tony Lindgren 
* include am3517 patches by Adam Ford 
* review opp-suspend; and add turbo-mode; opp properties
* add a note how to disable an OPP in a board.dts file

PATCH V1 2019-09-07 08:56:19:
* fix typo in omap3-ldp.dts
  (reported by Tony Lindgren )
* extend commit message to describe the bit patterns needed
  for opp-supported-hw
* add error check to ioremap()
  (suggested by Christ van Willegen )
* update Documentation/devicetree/bindings/arm/omap/omap.txt
* change bulk update to use "ti,omap3430" and "ti,omap3630"
* update OPP4 of omap3430 to 1275 mV since it was not a valid
  voltage for the twl4030 driver (reported by Tony Lindgren
  )

RFC V2 2019-09-04 10:53:43:
* merge separate patch to remove opp-v1 table from n950-n9 into
  the general omap3xxx.dtsi patch
  (suggested by Viresh Kumar )
* add legacy compatibility to ti,omap3430 and ti,omap3630 for
  the ti-cpufreq driver
* make driver and omap3xxx.dtsi patches pass checkpatch
* add bulk patch to explicitly define compatibility to ti,omap3430
  and ti,omap36xx in addition to ti,omap3 of all in-tree boards
  where it was missing

RFC V1 2019-09-02 12:55:55:

This patch set converts the omap3 opp tables to opp-v2 format
and extends the ti-cpufreq to support omap3.

It adds 720 MHz (omap34xx) and 1 GHz (omap36xx) OPPs but
tells the ti-cpufreq driver to disable them if the speed
binned / 720MHz grade eFuse bits indicate that the chip
is not rated for that speed. 

It has been tested (for chip variant detection, not reliability
of the high speed OPPs) on:

* BeagleBoard C2 (omap3530 600MHz)
* BeagleBoard XM B (dm3730 800MHz)
* GTA04A4 (dm3730 800MHz)
* GTA04A5 (dm3730 1GHz)


Adam Ford (2):
  cpufreq: ti-cpufreq: Add support for AM3517
  ARM: dts: Add OPP-V2 table for AM3517

H. Nikolaus Schaller (6):
  cpufreq: ti-cpufreq: add support for omap34xx and omap36xx
  ARM: dts: omap34xx & omap36xx: replace opp-v1 tables by opp-v2 for
  DTS: bindings: omap: update bindings documentation
  ARM: dts: omap3: bulk convert compatible to be explicitly ti,omap3430
or ti,omap3630 or ti,am3517
  cpufreq: ti-cpufreq: omap36xx use "cpu0","vbb" if run in
multi_regulator mode
  ARM: dts: omap36xx: using OPP1G needs to control the abb_ldo

 .../devicetree/bindings/arm/omap/omap.txt |  30 +++--
 .../bindings/cpufreq/ti-cpufreq.txt   |   6 +-
 arch/arm/boot/dts/am3517.dtsi |  31 +
 arch/arm/boot/dts/am3517_mt_ventoux.dts   |   2 +-
 .../boot/dts/logicpd-som-lv-35xx-devkit.dts   |   2 +-
 .../boot/dts/logicpd-torpedo-35xx-devkit.dts  |   2 +-
 arch/arm/boot/dts/omap3-beagle-xm.dts |   2 +-
 arch/arm/boot/dts/omap3-beagle.dts|   2 +-
 arch/arm/boot/dts/omap3-cm-t3530.dts  |   2 +-
 arch/arm/boot/dts/omap3-cm-t3730.dts  |   2 +-
 arch/arm/boot/dts/omap3-devkit8000-lcd43.dts  |   2 +-
 arch/arm/boot/dts/omap3-devkit8000-lcd70.dts  |   2 +-
 arch/arm/boot/dts/omap3-devkit8000.dts|   2 +-
 arch/arm/boot/dts/omap3-gta04.dtsi|   2 +-
 arch/arm/boot/dts/omap3-ha-lcd.dts|   2 +-
 arch/arm/boot/dts/omap3-ha.dts|   2 +-
 arch/arm/boot/dts/omap3-igep0020-rev-f.dts|   2 +-
 arch/arm/boot/dts/omap3-igep0020.dts  |   2 +-
 arch/arm/boot/dts/omap3-igep0030-rev-g.dts|   2 +-
 arch/arm/boot/dts/omap3-igep0030.dts  |   2 +-
 arch/arm/boot/dts/omap3-ldp.dts   |   2 +-
 arch/arm/boot/dts/omap3-lilly-a83x.dtsi   |   2 +-
 arch/arm/boot/dts/omap3-lilly-dbb056.dts  |   2 +-
 arch/arm/boot/dts/omap3-n9.dts|   2 +-
 arch/arm/boot/dts/omap3-n950-n9.dtsi  |   7 --
 arch/arm/boot/dts/omap3-n950.dts  |   2 +-
 .../arm/boot/dts/omap3-overo-storm-alto35.dts |   2 +-
 .../boot/dts/omap3-overo-storm-chestnut43.dts |   2 +-
 .../boot/dts/omap3-overo-storm-gallop43.dts   |   2 +-
 .../arm/boot/dts/omap3-overo-storm-palo35.dts |   2 +-
 .../arm/boot/dts/omap3-overo-storm-palo43.dts |   2 +-
 .../arm/boot/dts/omap3-overo-storm-summit.dts |   2 +-
 arch/arm/boot/dts/omap3-overo-storm-tobi.dts  |   2 +-
 .../boot/dts/omap3-overo-storm-tobiduo.dts|   2 +-
 arch/arm/boot/dts/omap3-pandora-1ghz.dts  |   2 +-
 arch/arm/boot/dts/omap3-sbc-t3530.dts |   2 +-
 arch/arm/boot/dts/omap3-sbc-t3730.dts |   2 +-
 arch/arm/boot/dts/omap3-sniper.dts|   2 +-
 arch/arm/boot/dts/omap3-thunder.dts   |   2 +-
 arch/arm/boot/dts/omap3-zoom3.dts |   2 +-
 arch/arm/boot/dts/omap3430-sdp.dts|   2 +-
 arch/arm/boot/dts/omap34xx.dtsi   |  66 --
 arch/arm/boot/dts/omap36xx.dtsi   |  65 --
 drivers/cpufreq/cpufreq-dt-platdev.c  |   2