Chukun Pan
67252a5293
dt-bindings: devfreq: rk3399_dmc: fix clocks in example
...
The clocks in the example use 'SCLK_DDRCLK', which does not exist in
the rk3399-cru.h, correct it to 'SCLK_DDRC'.
Ref: commit 7fbdfcd687 ("clk: rockchip: add SCLK_DDRC id for rk3399 ddrc")
Fixes: c1ceb8f7c1 ("Documentation: bindings: add dt documentation for rk3399 dmc")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn >
Link: https://lore.kernel.org/r/20211001150024.18672-1-amadeus@jmu.edu.cn
Signed-off-by: Rob Herring <robh@kernel.org >
2021-10-11 20:04:48 -05:00
Rob Herring
94274f20f6
dt-bindings: opp: Convert to DT schema
...
Convert the OPP v1 and v2 bindings to DT schema format. As the OPPv2 binding
can be extended by vendors, we need to split the common part out from the
"operating-points-v2" conforming compatible.
Cc: Yangtao Li <tiny.windzz@gmail.com >
Cc: Nishanth Menon <nm@ti.com >
Cc: Stephen Boyd <sboyd@kernel.org >
Cc: Maxime Ripard <mripard@kernel.org >
Cc: Chen-Yu Tsai <wens@csie.org >
Acked-by: Viresh Kumar <viresh.kumar@linaro.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Maxime Ripard <maxime@cerno.tech >
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org >
2021-08-23 12:44:55 +05:30
Gaël PORTAY
0913507c10
dt-bindings: devfreq: rk3399_dmc: Remove references of unexistant defines
...
Those DDR related defines do not exist. Replace their references with
their numerical constant.
Signed-off-by: Gaël PORTAY <gael.portay@collabora.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com >
2021-04-08 13:14:50 +09:00
Enric Balletbo i Serra
62467a843e
dt-bindings: devfreq: rk3399_dmc: Add rockchip,pmu phandle.
...
The Rockchip DMC (Dynamic Memory Interface) needs to access to the PMU
general register files to know the DRAM type, so add a phandle to the
syscon that manages these registers.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Gaël PORTAY <gael.portay@collabora.com >
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com >
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com >
2021-04-08 13:14:50 +09:00
Enric Balletbo i Serra
ed27952975
dt-bindings: devfreq: rk3399_dmc: Add rockchip,pmu phandle
...
The Rockchip DMC (Dynamic Memory Interface) needs to access to the PMU
general register files to know the DRAM type, so add a phandle to the
syscon that manages these registers.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Gaël PORTAY <gael.portay@collabora.com >
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com >
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com >
2020-07-30 17:22:57 +09:00
Enric Balletbo i Serra
77f2c2305d
dt-bindings: devfreq: rk3399_dmc: move interrupts to be optional.
...
In ATF we already wait for DDR DVFS finish, so move the interrupts properties
to be optional.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com >
2018-07-18 13:58:37 +09:00
Enric Balletbo i Serra
49502b23e0
dt-bindings: clock: add rk3399 DDR3 standard speed bins.
...
DDR3 SDRAM Standard (JESD79-3F) defines some standard speed bins for
DDR3 memories. The rk3399_dmc driver allows you to pass these values via
the device tree. For that purpose the devfreq/rk3399_dmc.txt binding
refers to a ddr.h file which does not exist. This patch adds the missing
defines in a include file called rk3399-ddr.h with the definition of
standard speed bins according to the ARM Trusted Firmware (ATF).
Fixes: c1ceb8f7c1 (Documentation: bindings: add dt documentation for rk3399 dmc)
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com >
2018-07-18 13:58:30 +09:00
Nick Milner
2d2894c94a
dt-bindings: devfreq: rk3399_dmc: improve binding documentation.
...
There are several typos, references to non existent files, grammar and
punctuation mistakes in the rk3399_dmc.txt binding. This patch tries
to improve the binding documentation and fix these mistakes.
Signed-off-by: Nick Milner <nick.milner@collabora.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Reviewed-by: Rob Herring <robh@kernel.org >
- [1/5] Fix some attributes to match with the code s/_disb/_dis/
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com >
2018-07-18 13:56:52 +09:00
Mauro Carvalho Chehab
34962fb807
docs: Fix more broken references
...
As we move stuff around, some doc references are broken. Fix some of
them via this script:
./scripts/documentation-file-ref-check --fix
Manually checked that produced results are valid.
Acked-by: Matthias Brugger <matthias.bgg@gmail.com >
Acked-by: Takashi Iwai <tiwai@suse.de >
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com >
Acked-by: Guenter Roeck <linux@roeck-us.net >
Acked-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org >
Acked-by: Jonathan Corbet <corbet@lwn.net >
2018-06-15 18:11:26 -03:00
Rob Herring
4da722ca19
dt-bindings: Remove "status" from examples
...
Pretty much any node can have a status property, so it doesn't need to
be in examples.
Converted with the following command and removed examples with SoC and
board specific splits:
git grep -l -E 'status.*=.*' Documentation/devicetree/ | xargs sed -i -E '/\sstatus.*=.*"(disabled|ok|okay)/d'
Acked-by: Mark Rutland <mark.rutland@arm.com >
Signed-off-by: Rob Herring <robh@kernel.org >
2017-09-05 10:03:06 -05:00
Lin Huang
c1ceb8f7c1
Documentation: bindings: add dt documentation for rk3399 dmc
...
This patch adds the documentation for rockchip rk3399 dmc driver.
Signed-off-by: Lin Huang <hl@rock-chips.com >
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com >
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com >
2016-09-06 13:25:36 +09:00