linux-stable/include/dt-bindings
周琰杰 (Zhou Yanjie) 0fce2e02a2 dt-bindings: timer: Add new OST support for the upcoming new driver.
The new OST has one global timer and two or four percpu timers, so there
will be three combinations in the upcoming new OST driver: the original
GLOBAL_TIMER + PERCPU_TIMER, the new GLOBAL_TIMER + PERCPU_TIMER0/1 and
GLOBAL_TIMER + PERCPU_TIMER0/1/2/3, For this, add the macro definition
about OST_CLK_PERCPU_TIMER0/1/2/3. And in order to ensure that all the
combinations work normally, the original ABI values of OST_CLK_PERCPU_TIMER
and OST_CLK_GLOBAL_TIMER need to be exchanged to ensure that in any
combinations, the clock can be registered (by calling clk_hw_register())
from index 0.

Before this patch, OST_CLK_PERCPU_TIMER and OST_CLK_GLOBAL_TIMER are only
used in two places, one is when using "assigned-clocks" to configure the
clocks in the DTS file; the other is when registering the clocks in the
sysost driver. When the values of these two ABIs are exchanged, the ABI
value used by sysost driver when registering the clock, and the ABI value
used by DTS when configuring the clock using "assigned-clocks" will also
change accordingly. Therefore, there is no situation that causes the wrong
clock to the configured. Therefore, exchanging ABI values will not cause
errors in the existing codes when registering and configuring the clocks.

Currently, in the mainline, only X1000 and X1830 are using sysost driver,
and the upcoming X2000 will also use sysost driver. This patch has been
tested on all three SoCs and all works fine.

Tested-by: 周正 (Zhou Zheng) <sernia.zhou@foxmail.com>
Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20201026155842.10196-2-zhouyanjie@wanyeetech.com
2020-12-03 19:16:18 +01:00
..
arm dt-bindings: arm: Adds CoreSight CTI hardware definitions 2020-03-21 11:32:19 +01:00
bus dt-bindings: bus: ti-sysc: Add support for PRUSS SYSC type 2020-03-04 07:52:50 -08:00
clk dt: Add additional option bindings for IDT VersaClock 2020-06-22 19:04:58 -07:00
clock dt-bindings: timer: Add new OST support for the upcoming new driver. 2020-12-03 19:16:18 +01:00
display media: dt-bindings: display: add sdtv-standards defines 2020-03-12 16:29:29 +01:00
dma dt: bindings: dma: xilinx: dpdma: DT bindings for Xilinx DPDMA 2020-07-17 11:37:59 +05:30
firmware/imx dt-bindings: firmware: imx: Add more system controls and PM clock types 2020-05-13 16:19:39 +08:00
gce dt-binding: gce: add gce header file for mt6779 2020-08-03 23:56:37 -05:00
gpio
i2c
iio Merge branch 'ib-5.8-jz47xx-ts' into HEAD 2020-07-22 14:36:31 +01:00
input
interconnect dt-bindings: interconnect: Add EPSS L3 DT binding on SM8250 2020-09-08 16:29:01 +03:00
interrupt-controller dt-bindings: interrupt-controller: Add Aspeed SCU interrupt controller 2020-01-20 19:10:03 +00:00
leds leds: add RGB color option, as that is different from multicolor. 2020-08-03 13:26:15 +02:00
mailbox dt-bindings: mailbox: Add devicetree binding for Qcom IPCC 2020-05-30 18:10:27 -05:00
media media: partial revert of "[media] tvp5150: add HW input connectors support" 2020-03-12 16:35:59 +01:00
memory dt-bindings: iommu: Add binding for MediaTek MT8167 IOMMU 2020-09-18 10:28:48 +02:00
mfd
mips
mux dt-bindings: ti-serdes-mux: Add defines for J7200 SoC 2020-09-30 07:34:02 -05:00
net
phy dt-bindings: phy: Add PHY_TYPE_QSGMII definition 2020-09-18 10:47:19 +05:30
pinctrl ARM: SoC fixes 2020-10-24 10:26:06 -07:00
pmu
power ARM: SoC-related driver updates 2020-10-24 10:39:22 -07:00
pwm
regulator regulator: mt6360: Add support for MT6360 regulator 2020-08-26 13:41:10 +01:00
reset ARM: Devicetree updates 2020-10-24 10:44:18 -07:00
reset-controller dt-bindings: mediatek: mt2712: Add #reset-cells 2020-01-27 15:55:48 +01:00
soc MIPS: BMIPS: add BCM6318 power domain definitions 2020-08-17 09:14:04 -07:00
sound ASoC: Add sc7180-lpass binding header hdmi define 2020-10-08 20:27:30 +01:00
spmi
thermal thermal: exynos: Rename Samsung and Exynos to lowercase 2020-01-27 10:24:32 +01:00
usb