projects/linux·commit 38814330

Merge tag 'devicetree-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux

38814330 · Linus Torvalds <[email protected]> · 2024-01-12 15:05:30 -08:00

Pull devicetree updates from Rob Herring:

 - Convert FPGA bridge, all TPMs (finally), and Rockchip HDMI bindings
   to schemas

 - Improvements in Samsung GPU schemas

 - A few more cases of dropping unneeded quotes in schemas

 - Merge QCom idle-states txt binding into common idle-states schema

 - Add X1E80100, SM8650, SM8650, and SDX75 SoCs to QCom Power Domain
   Controller

 - Add NXP i.mx8dl to SCU PD

 - Add synaptics r63353 panel controller

 - Clarify the wording around the use of 'wakeup-source' property

 - Add a DTS coding style doc

 - Add smi vendor prefix

 - Fix DT_SCHEMA_FILES incorrect matching of paths outside the kernel
   tree

 - Disable sysfb (e.g. EFI FB) when simple-framebuffer node is present

 - Fix double free in of_parse_phandle_with_args_map()

 - A couple of kerneldoc fixes

* tag 'devicetree-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (37 commits)
  of: unittest: Fix of_count_phandle_with_args() expected value message
  dt-bindings: fpga: altera: Convert bridge bindings to yaml
  dt-bindings: fpga: Convert bridge binding to yaml
  dt-bindings: vendor-prefixes: Add smi
  dt-bindings: power: Clarify wording for wakeup-source property
  of: Fix double free in of_parse_phandle_with_args_map
  dt-bindings: ignore paths outside kernel for DT_SCHEMA_FILES
  drivers: of: Fixed kernel doc warning
  dt-bindings: tpm: Document Microsoft fTPM bindings
  dt-bindings: tpm: Convert IBM vTPM bindings to DT schema
  dt-bindings: tpm: Convert Google Cr50 bindings to DT schema
  dt-bindings: tpm: Consolidate TCG TIS bindings
  dt-bindings: display: rockchip,inno-hdmi: Document RK3128 compatible
  dt-bindings: arm: Add remote etm dt-binding
  dt-bindings: mmc: sdhci-pxa: Fix 'regs' typo
  media: dt-bindings: samsung,s5p-mfc: Fix iommu properties schemas
  dt-bindings: display: panel: Add synaptics r63353 panel controller
  dt-bindings: arm: merge qcom,idle-state with idle-state
  dt-bindings: drm: rockchip: convert inno_hdmi-rockchip.txt to yaml
  dt-bindings: cache: qcom,llcc: correct QDU1000 reg entries
  ...
Commit
38814330fedd778edffcabe0c8cb462ee365782e
Parents
42bff4d0 · 716089b4

Merge commit. Changes below are compared with the first parent: 42bff4d0.

Changes

65 files changed · +1432 −604

FileStatusAddDelContent
Documentation/devicetree/bindings/Makefilemodified+1−1View file
Documentation/devicetree/bindings/arm/calxeda/l2ecc.yamlmodified+1−1View file
Documentation/devicetree/bindings/arm/msm/qcom,idle-state.txtdeleted+0−84View before deletion
Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yamladded+51−0View file
Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yamlmodified+1−1View file
Documentation/devicetree/bindings/cache/qcom,llcc.yamlmodified+1−1View file
Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yamlmodified+1−1View file
Documentation/devicetree/bindings/cpu/idle-states.yamlmodified+77−4View file
Documentation/devicetree/bindings/display/panel/synaptics,r63353.yamladded+61−0View file
Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txtdeleted+0−49View before deletion
Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yamladded+139−0View file
Documentation/devicetree/bindings/dts-coding-style.rstadded+196−0View file
Documentation/devicetree/bindings/fpga/altera-fpga2sdram-bridge.txtdeleted+0−13View before deletion
Documentation/devicetree/bindings/fpga/altera-freeze-bridge.txtdeleted+0−20View before deletion
Documentation/devicetree/bindings/fpga/altera-hps2fpga-bridge.txtdeleted+0−36View before deletion
Documentation/devicetree/bindings/fpga/altr,freeze-bridge-controller.yamladded+41−0View file
Documentation/devicetree/bindings/fpga/altr,socfpga-fpga2sdram-bridge.yamladded+33−0View file
Documentation/devicetree/bindings/fpga/altr,socfpga-hps2fpga-bridge.yamladded+49−0View file
Documentation/devicetree/bindings/fpga/fpga-bridge.txtdeleted+0−13View before deletion
Documentation/devicetree/bindings/fpga/fpga-bridge.yamladded+30−0View file
Documentation/devicetree/bindings/fpga/xlnx,pr-decoupler.yamlmodified+4−1View file
Documentation/devicetree/bindings/gpu/samsung-g2d.yamlmodified+41−30View file
Documentation/devicetree/bindings/gpu/samsung-rotator.yamlmodified+5−4View file
Documentation/devicetree/bindings/gpu/samsung-scaler.yamlmodified+47−34View file
Documentation/devicetree/bindings/iio/adc/adi,ad7780.yamlmodified+3−3View file
Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yamlmodified+1−1View file
Documentation/devicetree/bindings/iio/adc/qcom,spmi-rradc.yamlmodified+1−1View file
Documentation/devicetree/bindings/index.rstmodified+1−0View file
Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.yamlmodified+4−0View file
Documentation/devicetree/bindings/interrupt-controller/st,stih407-irq-syscfg.yamlmodified+2−2View file
Documentation/devicetree/bindings/media/samsung,s5p-mfc.yamlmodified+13−20View file
Documentation/devicetree/bindings/misc/fsl,dpaa2-console.yamlmodified+1−1View file
Documentation/devicetree/bindings/mmc/arm,pl18x.yamlmodified+1−1View file
Documentation/devicetree/bindings/mmc/sdhci-pxa.yamlmodified+2−2View file
Documentation/devicetree/bindings/net/sff,sfp.yamlmodified+1−1View file
Documentation/devicetree/bindings/pci/toshiba,visconti-pcie.yamlmodified+1−1View file
Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yamlmodified+3−3View file
Documentation/devicetree/bindings/power/fsl,scu-pd.yamlmodified+1−0View file
Documentation/devicetree/bindings/power/supply/richtek,rt9455.yamlmodified+4−4View file
Documentation/devicetree/bindings/power/wakeup-source.txtmodified+11−7View file
Documentation/devicetree/bindings/regulator/mps,mp5416.yamlmodified+2−2View file
Documentation/devicetree/bindings/regulator/mps,mpq7920.yamlmodified+2−2View file
Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yamlmodified+4−4View file
Documentation/devicetree/bindings/security/tpm/google,cr50.txtdeleted+0−19View before deletion
Documentation/devicetree/bindings/security/tpm/ibmvtpm.txtdeleted+0−41View before deletion
Documentation/devicetree/bindings/security/tpm/st33zp24-i2c.txtdeleted+0−34View before deletion
Documentation/devicetree/bindings/security/tpm/st33zp24-spi.txtdeleted+0−32View before deletion
Documentation/devicetree/bindings/security/tpm/tpm-i2c.txtdeleted+0−26View before deletion
Documentation/devicetree/bindings/security/tpm/tpm_tis_mmio.txtdeleted+0−25View before deletion
Documentation/devicetree/bindings/security/tpm/tpm_tis_spi.txtdeleted+0−23View before deletion
Documentation/devicetree/bindings/tpm/google,cr50.yamladded+65−0View file
Documentation/devicetree/bindings/tpm/ibm,vtpm.yamladded+104−0View file
Documentation/devicetree/bindings/tpm/microsoft,ftpm.yamladded+47−0View file
Documentation/devicetree/bindings/tpm/tcg,tpm-tis-i2c.yamladded+90−0View file
Documentation/devicetree/bindings/tpm/tcg,tpm-tis-mmio.yamladded+49−0View file
Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yamladded+75−0View file
Documentation/devicetree/bindings/tpm/tpm-common.yamladded+87−0View file
Documentation/devicetree/bindings/trivial-devices.yamlmodified+0−16View file
Documentation/devicetree/bindings/vendor-prefixes.yamlmodified+2−0View file
drivers/of/base.cmodified+1−0View file
drivers/of/overlay.cmodified+1−1View file
drivers/of/platform.cmodified+18−4View file
drivers/of/property.cmodified+4−3View file
drivers/of/unittest-data/tests-phandle.dtsimodified+9−1View file
drivers/of/unittest.cmodified+43−31View file

Only the first 600 diff lines are shown. Download the complete patch.

Documentation/devicetree/bindings/Makefile

View file
diff --git a/Documentation/devicetree/bindings/Makefile b/Documentation/devicetree/bindings/Makefile
index 3e88619..2323fd5 100644
--- a/Documentation/devicetree/bindings/Makefile
+++ b/Documentation/devicetree/bindings/Makefile
@@ -28,7 +28,7 @@ $(obj)/%.example.dts: $(src)/%.yaml check_dtschema_version FORCE
find_all_cmd = find $(srctree)/$(src) \( -name '*.yaml' ! \
-name 'processed-schema*' \)
-find_cmd = $(find_all_cmd) | grep -F -e "$(subst :," -e ",$(DT_SCHEMA_FILES))"
+find_cmd = $(find_all_cmd) | sed 's|^$(srctree)/$(src)/||' | grep -F -e "$(subst :," -e ",$(DT_SCHEMA_FILES))" | sed 's|^|$(srctree)/$(src)/|'
CHK_DT_DOCS := $(shell $(find_cmd))
quiet_cmd_yamllint = LINT $(src)

Documentation/devicetree/bindings/arm/calxeda/l2ecc.yaml

View file
diff --git a/Documentation/devicetree/bindings/arm/calxeda/l2ecc.yaml b/Documentation/devicetree/bindings/arm/calxeda/l2ecc.yaml
index a9fe012..76b65ea 100644
--- a/Documentation/devicetree/bindings/arm/calxeda/l2ecc.yaml
+++ b/Documentation/devicetree/bindings/arm/calxeda/l2ecc.yaml
@@ -16,7 +16,7 @@ maintainers:
properties:
compatible:
- const: "calxeda,hb-sregs-l2-ecc"
+ const: calxeda,hb-sregs-l2-ecc
reg:
maxItems: 1

Documentation/devicetree/bindings/arm/msm/qcom,idle-state.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/arm/msm/qcom,idle-state.txt b/Documentation/devicetree/bindings/arm/msm/qcom,idle-state.txt
deleted file mode 100644
index 606b4b1..0000000
--- a/Documentation/devicetree/bindings/arm/msm/qcom,idle-state.txt
+++ /dev/null
@@ -1,84 +0,0 @@
-QCOM Idle States for cpuidle driver
-
-ARM provides idle-state node to define the cpuidle states, as defined in [1].
-cpuidle-qcom is the cpuidle driver for Qualcomm SoCs and uses these idle
-states. Idle states have different enter/exit latency and residency values.
-The idle states supported by the QCOM SoC are defined as -
-
- * Standby
- * Retention
- * Standalone Power Collapse (Standalone PC or SPC)
- * Power Collapse (PC)
-
-Standby: Standby does a little more in addition to architectural clock gating.
-When the WFI instruction is executed the ARM core would gate its internal
-clocks. In addition to gating the clocks, QCOM cpus use this instruction as a
-trigger to execute the SPM state machine. The SPM state machine waits for the
-interrupt to trigger the core back in to active. This triggers the cache
-hierarchy to enter standby states, when all cpus are idle. An interrupt brings
-the SPM state machine out of its wait, the next step is to ensure that the
-cache hierarchy is also out of standby, and then the cpu is allowed to resume
-execution. This state is defined as a generic ARM WFI state by the ARM cpuidle
-driver and is not defined in the DT. The SPM state machine should be
-configured to execute this state by default and after executing every other
-state below.
-
-Retention: Retention is a low power state where the core is clock gated and
-the memory and the registers associated with the core are retained. The
-voltage may be reduced to the minimum value needed to keep the processor
-registers active. The SPM should be configured to execute the retention
-sequence and would wait for interrupt, before restoring the cpu to execution
-state. Retention may have a slightly higher latency than Standby.
-
-Standalone PC: A cpu can power down and warmboot if there is a sufficient time
-between the time it enters idle and the next known wake up. SPC mode is used
-to indicate a core entering a power down state without consulting any other
-cpu or the system resources. This helps save power only on that core. The SPM
-sequence for this idle state is programmed to power down the supply to the
-core, wait for the interrupt, restore power to the core, and ensure the
-system state including cache hierarchy is ready before allowing core to
-resume. Applying power and resetting the core causes the core to warmboot
-back into Elevation Level (EL) which trampolines the control back to the
-kernel. Entering a power down state for the cpu, needs to be done by trapping
-into a EL. Failing to do so, would result in a crash enforced by the warm boot
-code in the EL for the SoC. On SoCs with write-back L1 cache, the cache has to
-be flushed in s/w, before powering down the core.
-
-Power Collapse: This state is similar to the SPC mode, but distinguishes
-itself in that the cpu acknowledges and permits the SoC to enter deeper sleep
-modes. In a hierarchical power domain SoC, this means L2 and other caches can
-be flushed, system bus, clocks - lowered, and SoC main XO clock gated and
-voltages reduced, provided all cpus enter this state. Since the span of low
-power modes possible at this state is vast, the exit latency and the residency
-of this low power mode would be considered high even though at a cpu level,
-this essentially is cpu power down. The SPM in this state also may handshake
-with the Resource power manager (RPM) processor in the SoC to indicate a
-complete application processor subsystem shut down.
-
-The idle-state for QCOM SoCs are distinguished by the compatible property of
-the idle-states device node.
-
-The devicetree representation of the idle state should be -
-
-Required properties:
-
-- compatible: Must be one of -
- "qcom,idle-state-ret",
- "qcom,idle-state-spc",
- "qcom,idle-state-pc",
- and "arm,idle-state".
-
-Other required and optional properties are specified in [1].
-
-Example:
-
- idle-states {
- CPU_SPC: spc {
- compatible = "qcom,idle-state-spc", "arm,idle-state";
- entry-latency-us = <150>;
- exit-latency-us = <200>;
- min-residency-us = <2000>;
- };
- };
-
-[1]. Documentation/devicetree/bindings/cpu/idle-states.yaml

Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml

View file
diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml
new file mode 100644
index 0000000..4fd5752
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml
@@ -0,0 +1,51 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/qcom,coresight-remote-etm.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm Coresight Remote ETM(Embedded Trace Macrocell)
+
+maintainers:
+ - Jinlong Mao <[email protected]>
+ - Tao Zhang <[email protected]>
+
+description:
+ Support for ETM trace collection on remote processor using coresight
+ framework. Enabling this will allow turning on ETM tracing on remote
+ processor like modem processor via sysfs and collecting the trace
+ via coresight TMC sinks.
+
+properties:
+ compatible:
+ const: qcom,coresight-remote-etm
+
+ out-ports:
+ $ref: /schemas/graph.yaml#/properties/ports
+ additionalProperties: false
+
+ properties:
+ port:
+ description: Output connection to the CoreSight Trace bus.
+ $ref: /schemas/graph.yaml#/properties/port
+
+required:
+ - compatible
+ - out-ports
+
+additionalProperties: false
+
+examples:
+ - |
+ etm {
+ compatible = "qcom,coresight-remote-etm";
+
+ out-ports {
+ port {
+ modem_etm0_out_funnel_modem: endpoint {
+ remote-endpoint = <&funnel_modem_in_modem_etm0>;
+ };
+ };
+ };
+ };
+...

Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml

View file
diff --git a/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml b/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml
index fde07e4..406a922 100644
--- a/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml
+++ b/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml
@@ -113,7 +113,7 @@ examples:
hd44780 {
compatible = "hit,hd44780";
display-height-chars = <2>;
- display-width-chars = <16>;
+ display-width-chars = <16>;
data-gpios = <&pcf8574 4 0>,
<&pcf8574 5 0>,
<&pcf8574 6 0>,

Documentation/devicetree/bindings/cache/qcom,llcc.yaml

View file
diff --git a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
index b9a9f2c..07ccbda 100644
--- a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
+++ b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
@@ -66,6 +66,7 @@ allOf:
compatible:
contains:
enum:
+ - qcom,qdu1000-llcc
- qcom,sc7180-llcc
- qcom,sm6350-llcc
then:
@@ -103,7 +104,6 @@ allOf:
compatible:
contains:
enum:
- - qcom,qdu1000-llcc
- qcom,sc8180x-llcc
- qcom,sc8280xp-llcc
- qcom,x1e80100-llcc

Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml

View file
diff --git a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml
index 624984d..7f8d982 100644
--- a/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml
+++ b/Documentation/devicetree/bindings/clock/baikal,bt1-ccu-pll.yaml
@@ -125,7 +125,7 @@ examples:
clk25m: clock-oscillator-25m {
compatible = "fixed-clock";
#clock-cells = <0>;
- clock-frequency = <25000000>;
+ clock-frequency = <25000000>;
clock-output-names = "clk25m";
};
...

Documentation/devicetree/bindings/cpu/idle-states.yaml

View file
diff --git a/Documentation/devicetree/bindings/cpu/idle-states.yaml b/Documentation/devicetree/bindings/cpu/idle-states.yaml
index b3a5356..239480e 100644
--- a/Documentation/devicetree/bindings/cpu/idle-states.yaml
+++ b/Documentation/devicetree/bindings/cpu/idle-states.yaml
@@ -243,7 +243,64 @@ description: |+
just supports idle_standby, an idle-states node is not required.
===========================================
- 6 - References
+ 6 - Qualcomm specific STATES
+ ===========================================
+
+ Idle states have different enter/exit latency and residency values.
+ The idle states supported by the QCOM SoC are defined as -
+
+ * Standby
+ * Retention
+ * Standalone Power Collapse (Standalone PC or SPC)
+ * Power Collapse (PC)
+
+ Standby: Standby does a little more in addition to architectural clock gating.
+ When the WFI instruction is executed the ARM core would gate its internal
+ clocks. In addition to gating the clocks, QCOM cpus use this instruction as a
+ trigger to execute the SPM state machine. The SPM state machine waits for the
+ interrupt to trigger the core back in to active. This triggers the cache
+ hierarchy to enter standby states, when all cpus are idle. An interrupt brings
+ the SPM state machine out of its wait, the next step is to ensure that the
+ cache hierarchy is also out of standby, and then the cpu is allowed to resume
+ execution. This state is defined as a generic ARM WFI state by the ARM cpuidle
+ driver and is not defined in the DT. The SPM state machine should be
+ configured to execute this state by default and after executing every other
+ state below.
+
+ Retention: Retention is a low power state where the core is clock gated and
+ the memory and the registers associated with the core are retained. The
+ voltage may be reduced to the minimum value needed to keep the processor
+ registers active. The SPM should be configured to execute the retention
+ sequence and would wait for interrupt, before restoring the cpu to execution
+ state. Retention may have a slightly higher latency than Standby.
+
+ Standalone PC: A cpu can power down and warmboot if there is a sufficient time
+ between the time it enters idle and the next known wake up. SPC mode is used
+ to indicate a core entering a power down state without consulting any other
+ cpu or the system resources. This helps save power only on that core. The SPM
+ sequence for this idle state is programmed to power down the supply to the
+ core, wait for the interrupt, restore power to the core, and ensure the
+ system state including cache hierarchy is ready before allowing core to
+ resume. Applying power and resetting the core causes the core to warmboot
+ back into Elevation Level (EL) which trampolines the control back to the
+ kernel. Entering a power down state for the cpu, needs to be done by trapping
+ into a EL. Failing to do so, would result in a crash enforced by the warm boot
+ code in the EL for the SoC. On SoCs with write-back L1 cache, the cache has to
+ be flushed in s/w, before powering down the core.
+
+ Power Collapse: This state is similar to the SPC mode, but distinguishes
+ itself in that the cpu acknowledges and permits the SoC to enter deeper sleep
+ modes. In a hierarchical power domain SoC, this means L2 and other caches can
+ be flushed, system bus, clocks - lowered, and SoC main XO clock gated and
+ voltages reduced, provided all cpus enter this state. Since the span of low
+ power modes possible at this state is vast, the exit latency and the residency
+ of this low power mode would be considered high even though at a cpu level,
+ this essentially is cpu power down. The SPM in this state also may handshake
+ with the Resource power manager (RPM) processor in the SoC to indicate a
+ complete application processor subsystem shut down.
+
+ ===========================================
+ 7 - References
===========================================
[1] ARM Linux Kernel documentation - CPUs bindings
@@ -301,9 +358,16 @@ patternProperties:
properties:
compatible:
- enum:
- - arm,idle-state
- - riscv,idle-state
+ oneOf:
+ - items:
+ - enum:
+ - qcom,idle-state-ret
+ - qcom,idle-state-spc
+ - qcom,idle-state-pc
+ - const: arm,idle-state
+ - enum:
+ - arm,idle-state
+ - riscv,idle-state
arm,psci-suspend-param:
$ref: /schemas/types.yaml#/definitions/uint32
@@ -852,4 +916,13 @@ examples:
};
};
+ // Example 4 - Qualcomm SPC
+ idle-states {
+ cpu_spc: cpu-spc {
+ compatible = "qcom,idle-state-spc", "arm,idle-state";
+ entry-latency-us = <150>;
+ exit-latency-us = <200>;
+ min-residency-us = <2000>;
+ };
+ };
...

Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml

View file
diff --git a/Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml b/Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml
new file mode 100644
index 0000000..e5617d1
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml
@@ -0,0 +1,61 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/synaptics,r63353.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Synaptics R63353 based MIPI-DSI panels
+
+maintainers:
+ - Michael Trimarchi <[email protected]>
+
+allOf:
+ - $ref: panel-common.yaml#
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - sharp,ls068b3sx02
+ - const: syna,r63353
+
+ avdd-supply: true
+ dvdd-supply: true
+ reg: true
+
+required:
+ - compatible
+ - avdd-supply
+ - dvdd-supply
+ - reg
+ - reset-gpios
+ - port
+ - backlight
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ dsi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ panel@0 {
+ compatible = "sharp,ls068b3sx02", "syna,r63353";
+ reg = <0>;
+ avdd-supply = <&avdd_display>;
+ dvdd-supply = <&dvdd_display>;
+ reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
+ backlight = <&backlight>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&mipi_dsi_out>;
+ };
+ };
+ };
+ };
+
+...

Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt

View before deletion
diff --git a/Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt b/Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt
deleted file mode 100644
index cec2171..0000000
--- a/Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-Rockchip specific extensions to the Innosilicon HDMI
-================================
-
-Required properties:
-- compatible:
- "rockchip,rk3036-inno-hdmi";
-- reg:
- Physical base address and length of the controller's registers.
-- clocks, clock-names:
- Phandle to hdmi controller clock, name should be "pclk"
-- interrupts:
- HDMI interrupt number
-- ports:
- Contain one port node with endpoint definitions as defined in
- Documentation/devicetree/bindings/graph.txt.
-- pinctrl-0, pinctrl-name:
- Switch the iomux of HPD/CEC pins to HDMI function.
-
-Example:
-hdmi: hdmi@20034000 {
- compatible = "rockchip,rk3036-inno-hdmi";
- reg = <0x20034000 0x4000>;
- interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&cru PCLK_HDMI>;
- clock-names = "pclk";
- pinctrl-names = "default";
- pinctrl-0 = <&hdmi_ctl>;
-
- hdmi_in: port {
- #address-cells = <1>;
- #size-cells = <0>;
- hdmi_in_lcdc: endpoint@0 {
- reg = <0>;
- remote-endpoint = <&lcdc_out_hdmi>;
- };
- };
-};
-
-&pinctrl {
- hdmi {
- hdmi_ctl: hdmi-ctl {
- rockchip,pins = <1 8 RK_FUNC_1 &pcfg_pull_none>,
- <1 9 RK_FUNC_1 &pcfg_pull_none>,
- <1 10 RK_FUNC_1 &pcfg_pull_none>,
- <1 11 RK_FUNC_1 &pcfg_pull_none>;
- };
- };
-
-};

Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml

View file
diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml
new file mode 100644
index 0000000..be78dcf
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml
@@ -0,0 +1,139 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/rockchip/rockchip,inno-hdmi.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Rockchip Innosilicon HDMI controller
+
+maintainers:
+ - Sandy Huang <[email protected]>
+ - Heiko Stuebner <[email protected]>
+
+properties:
+ compatible:
+ enum:
+ - rockchip,rk3036-inno-hdmi
+ - rockchip,rk3128-inno-hdmi
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ clocks:
+ minItems: 1
+ items:
+ - description: The HDMI controller main clock
+ - description: The HDMI PHY reference clock
+
+ clock-names:
+ minItems: 1
+ items:
+ - const: pclk
+ - const: ref
+
+ power-domains:
+ maxItems: 1
+
+ ports:
+ $ref: /schemas/graph.yaml#/properties/ports
+
+ properties:
+ port@0:
+ $ref: /schemas/graph.yaml#/properties/port
+ description:
+ Port node with one endpoint connected to a vop node.
+
+ port@1:
+ $ref: /schemas/graph.yaml#/properties/port
+ description:
+ Port node with one endpoint connected to a hdmi-connector node.
+
+ required:
+ - port@0
+ - port@1
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - clocks
+ - clock-names
+ - pinctrl-0
+ - pinctrl-names
+ - ports
+
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: rockchip,rk3036-inno-hdmi
+
+ then:
+ properties:
+ power-domains: false
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: rockchip,rk3128-inno-hdmi
+
+ then:
+ properties:
+ clocks:
+ minItems: 2
+ clock-names:
+ minItems: 2
+ required:
+ - power-domains
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/rk3036-cru.h>
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/pinctrl/rockchip.h>
+ hdmi: hdmi@20034000 {
+ compatible = "rockchip,rk3036-inno-hdmi";
+ reg = <0x20034000 0x4000>;
+ interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cru PCLK_HDMI>;
+ clock-names = "pclk";
+ pinctrl-names = "default";
+ pinctrl-0 = <&hdmi_ctl>;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ hdmi_in: port@0 {
+ reg = <0>;
+ hdmi_in_vop: endpoint {
+ remote-endpoint = <&vop_out_hdmi>;
+ };
+ };
+
+ hdmi_out: port@1 {
+ reg = <1>;
+ hdmi_out_con: endpoint {
+ remote-endpoint = <&hdmi_con_in>;
+ };
+ };
+ };
+ };
+
+ pinctrl {
+ hdmi {
+ hdmi_ctl: hdmi-ctl {
+ rockchip,pins = <1 RK_PB0 1 &pcfg_pull_none>,
+ <1 RK_PB1 1 &pcfg_pull_none>,
+ <1 RK_PB2 1 &pcfg_pull_none>,
+ <1 RK_PB3 1 &pcfg_pull_none>;
+ };
+ };
+ };

Documentation/devicetree/bindings/dts-coding-style.rst

View file
diff --git a/Documentation/devicetree/bindings/dts-coding-style.rst b/Documentation/devicetree/bindings/dts-coding-style.rst
new file mode 100644
index 0000000..a9bdd2b
--- /dev/null
+++ b/Documentation/devicetree/bindings/dts-coding-style.rst
@@ -0,0 +1,196 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+=====================================
+Devicetree Sources (DTS) Coding Style

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/fpga/altera-fpga2sdram-bridge.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/fpga/altera-freeze-bridge.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/fpga/altera-hps2fpga-bridge.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/fpga/altr,freeze-bridge-controller.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/fpga/altr,socfpga-fpga2sdram-bridge.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/fpga/altr,socfpga-hps2fpga-bridge.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/fpga/fpga-bridge.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/fpga/fpga-bridge.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/fpga/xlnx,pr-decoupler.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/gpu/samsung-g2d.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/gpu/samsung-rotator.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/gpu/samsung-scaler.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/iio/adc/adi,ad7780.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/iio/adc/qcom,spmi-rradc.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/index.rst

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/interrupt-controller/st,stih407-irq-syscfg.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/media/samsung,s5p-mfc.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/misc/fsl,dpaa2-console.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/mmc/arm,pl18x.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/net/sff,sfp.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/pci/toshiba,visconti-pcie.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/pinctrl/renesas,rzg2l-pinctrl.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/power/fsl,scu-pd.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/power/supply/richtek,rt9455.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/power/wakeup-source.txt

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/regulator/mps,mp5416.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/regulator/mps,mpq7920.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/security/tpm/google,cr50.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/security/tpm/ibmvtpm.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/security/tpm/st33zp24-i2c.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/security/tpm/st33zp24-spi.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/security/tpm/tpm_tis_mmio.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/security/tpm/tpm_tis_spi.txt

View before deletion

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/tpm/google,cr50.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/tpm/ibm,vtpm.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/tpm/microsoft,ftpm.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/tpm/tcg,tpm-tis-i2c.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/tpm/tcg,tpm-tis-mmio.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/tpm/tcg,tpm_tis-spi.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/tpm/tpm-common.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/trivial-devices.yaml

View file

This diff is incomplete. Download the complete patch.

Documentation/devicetree/bindings/vendor-prefixes.yaml

View file

This diff is incomplete. Download the complete patch.

drivers/of/base.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/overlay.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/platform.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/property.c

View file

This diff is incomplete. Download the complete patch.

drivers/of/unittest-data/tests-phandle.dtsi

View file

This diff is incomplete. Download the complete patch.

drivers/of/unittest.c

View file

This diff is incomplete. Download the complete patch.