Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Pull devicetree updates from Rob Herring:
"Bindings:

- Add spi-peripheral-props.yaml references to various SPI device
bindings

- Convert qcom,pm8916-wdt, ds1307, Qualcomm BAM DMA, is31fl319x,
skyworks,aat1290, Rockchip EMAC, gpio-ir-receiver, ahci-ceva, Arm
CCN PMU, rda,8810pl-intc, sil,sii9022, ps2-gpio, and
arm-firmware-suite bindings to DT schema format

- New bindings for Arm virtual platforms display, Qualcomm IMEM
memory region, Samsung S5PV210 ChipID, EM Microelectronic EM3027
RTC, and arm,cortex-a78ae

- Add vendor prefixes for asrock, bytedance, hxt, ingrasys, inventec,
quanta, and densitron

- Add missing MSI and IOMMU properties to host-generic-pci

- Remove bindings for removed EFM32 platform

- Remove old chosen.txt binding (replaced by schema)

- Treewide add missing type information for properties

- Treewide fixing of typos and its vs. it's in bindings. Its all good
now.

- Drop unnecessary quoting in power related schemas

- Several LED binding updates which didn't get picked up

- Move various bindings to proper directories

DT core code:

- Convert unittest GPIO related tests to use fwnode

- Check ima-kexec-buffer against memory bounds

- Print reserved-memory allocation/reservation failures as errors

- Cleanup early_init_dt_reserve_memory_arch()

- Simplify of_overlay_fdt_apply() tail"

* tag 'devicetree-for-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (65 commits)
dt-bindings: mtd: microchip,mchp48l640: use spi-peripheral-props.yaml
dt-bindings: power: supply: drop quotes when not needed
dt-bindings: power: reset: drop quotes when not needed
dt-bindings: power: drop quotes when not needed
dt-bindings: PCI: host-generic-pci: Allow IOMMU and MSI properties
of/fdt: declared return type does not match actual return type
devicetree/bindings: correct possessive "its" typos
dt-bindings: net: convert emac_rockchip.txt to YAML
dt-bindings: eeprom: microchip,93lc46b: move to eeprom directory
dt-bindings: eeprom: at25: use spi-peripheral-props.yaml
dt-bindings: display: use spi-peripheral-props.yaml
dt-bindings: watchdog: qcom,pm8916-wdt: convert to dtschema
dt-bindings: power: reset: qcom,pon: use absolute path to other schema
dt-bindings: iio/dac: adi,ad5766: Add missing type to 'output-range-microvolts'
dt-bindings: power: supply: charger-manager: Add missing type for 'cm-battery-stat'
dt-bindings: panel: raydium,rm67191: Add missing type to 'video-mode'
of/fdt: Clean up early_init_dt_reserve_memory_arch()
dt-bindings: PCI: fsl,imx6q-pcie: Add missing type for 'reset-gpio-active-high'
dt-bindings: rtc: Add EM Microelectronic EM3027 bindings
dt-bindings: rtc: ds1307: Convert to json-schema
...

+1825 -1352
+1
Documentation/devicetree/bindings/arm/cpus.yaml
··· 138 138 - arm,cortex-a76 139 139 - arm,cortex-a77 140 140 - arm,cortex-a78 141 + - arm,cortex-a78ae 141 142 - arm,cortex-a510 142 143 - arm,cortex-a710 143 144 - arm,cortex-m0
+1 -1
Documentation/devicetree/bindings/arm/msm/qcom,saw2.txt
··· 10 10 Multiple revisions of the SAW hardware are supported using these Device Nodes. 11 11 SAW2 revisions differ in the register offset and configuration data. Also, the 12 12 same revision of the SAW in different SoCs may have different configuration 13 - data due the the differences in hardware capabilities. Hence the SoC name, the 13 + data due the differences in hardware capabilities. Hence the SoC name, the 14 14 version of the SAW hardware in that SoC and the distinction between cpu (big 15 15 or Little) or cache, may be needed to uniquely identify the SAW register 16 16 configuration and initialization data. The compatible string is used to
+1 -1
Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.yaml
··· 208 208 "^[a-z0-9]+$": 209 209 type: object 210 210 211 - patternProperties: 211 + properties: 212 212 clocks: 213 213 minItems: 1 214 214 maxItems: 8
+8 -2
Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml
··· 29 29 30 30 ranges: true 31 31 32 + gpio-controller: 33 + deprecated: true 34 + 35 + "#gpio-cells": 36 + deprecated: true 37 + const: 2 38 + 32 39 additionalProperties: false 33 40 34 41 patternProperties: ··· 74 67 75 68 required: 76 69 - compatible 77 - - "#address-cells" 78 - - "#size-cells" 70 + - reg 79 71 80 72 examples: 81 73 - |
-63
Documentation/devicetree/bindings/ata/ahci-ceva.txt
··· 1 - Binding for CEVA AHCI SATA Controller 2 - 3 - Required properties: 4 - - reg: Physical base address and size of the controller's register area. 5 - - compatible: Compatibility string. Must be 'ceva,ahci-1v84'. 6 - - clocks: Input clock specifier. Refer to common clock bindings. 7 - - interrupts: Interrupt specifier. Refer to interrupt binding. 8 - - ceva,p0-cominit-params: OOB timing value for COMINIT parameter for port 0. 9 - - ceva,p1-cominit-params: OOB timing value for COMINIT parameter for port 1. 10 - The fields for the above parameter must be as shown below: 11 - ceva,pN-cominit-params = /bits/ 8 <CIBGMN CIBGMX CIBGN CINMP>; 12 - CINMP : COMINIT Negate Minimum Period. 13 - CIBGN : COMINIT Burst Gap Nominal. 14 - CIBGMX: COMINIT Burst Gap Maximum. 15 - CIBGMN: COMINIT Burst Gap Minimum. 16 - - ceva,p0-comwake-params: OOB timing value for COMWAKE parameter for port 0. 17 - - ceva,p1-comwake-params: OOB timing value for COMWAKE parameter for port 1. 18 - The fields for the above parameter must be as shown below: 19 - ceva,pN-comwake-params = /bits/ 8 <CWBGMN CWBGMX CWBGN CWNMP>; 20 - CWBGMN: COMWAKE Burst Gap Minimum. 21 - CWBGMX: COMWAKE Burst Gap Maximum. 22 - CWBGN: COMWAKE Burst Gap Nominal. 23 - CWNMP: COMWAKE Negate Minimum Period. 24 - - ceva,p0-burst-params: Burst timing value for COM parameter for port 0. 25 - - ceva,p1-burst-params: Burst timing value for COM parameter for port 1. 26 - The fields for the above parameter must be as shown below: 27 - ceva,pN-burst-params = /bits/ 8 <BMX BNM SFD PTST>; 28 - BMX: COM Burst Maximum. 29 - BNM: COM Burst Nominal. 30 - SFD: Signal Failure Detection value. 31 - PTST: Partial to Slumber timer value. 32 - - ceva,p0-retry-params: Retry interval timing value for port 0. 33 - - ceva,p1-retry-params: Retry interval timing value for port 1. 34 - The fields for the above parameter must be as shown below: 35 - ceva,pN-retry-params = /bits/ 16 <RIT RCT>; 36 - RIT: Retry Interval Timer. 37 - RCT: Rate Change Timer. 38 - 39 - Optional properties: 40 - - ceva,broken-gen2: limit to gen1 speed instead of gen2. 41 - - phys: phandle for the PHY device 42 - - resets: phandle to the reset controller for the SATA IP 43 - 44 - Examples: 45 - ahci@fd0c0000 { 46 - compatible = "ceva,ahci-1v84"; 47 - reg = <0xfd0c0000 0x200>; 48 - interrupt-parent = <&gic>; 49 - interrupts = <0 133 4>; 50 - clocks = <&clkc SATA_CLK_ID>; 51 - ceva,p0-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>; 52 - ceva,p0-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>; 53 - ceva,p0-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>; 54 - ceva,p0-retry-params = /bits/ 16 <0x0216 0x7F06>; 55 - 56 - ceva,p1-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>; 57 - ceva,p1-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>; 58 - ceva,p1-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>; 59 - ceva,p1-retry-params = /bits/ 16 <0x0216 0x7F06>; 60 - ceva,broken-gen2; 61 - phys = <&psgtr 1 PHY_TYPE_SATA 1 1>; 62 - resets = <&zynqmp_reset ZYNQMP_RESET_SATA>; 63 - };
+189
Documentation/devicetree/bindings/ata/ceva,ahci-1v84.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/ata/ceva,ahci-1v84.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Ceva AHCI SATA Controller 8 + 9 + maintainers: 10 + - Piyush Mehta <piyush.mehta@xilinx.com> 11 + 12 + description: | 13 + The Ceva SATA controller mostly conforms to the AHCI interface with some 14 + special extensions to add functionality, is a high-performance dual-port 15 + SATA host controller with an AHCI compliant command layer which supports 16 + advanced features such as native command queuing and frame information 17 + structure (FIS) based switching for systems employing port multipliers. 18 + 19 + properties: 20 + compatible: 21 + const: ceva,ahci-1v84 22 + 23 + reg: 24 + maxItems: 1 25 + 26 + clocks: 27 + maxItems: 1 28 + 29 + dma-coherent: true 30 + 31 + interrupts: 32 + maxItems: 1 33 + 34 + iommus: 35 + maxItems: 1 36 + 37 + power-domains: 38 + maxItems: 1 39 + 40 + ceva,p0-cominit-params: 41 + $ref: /schemas/types.yaml#/definitions/uint8-array 42 + description: | 43 + OOB timing value for COMINIT parameter for port 0. 44 + The fields for the above parameter must be as shown below:- 45 + ceva,p0-cominit-params = /bits/ 8 <CIBGMN CIBGMX CIBGN CINMP>; 46 + items: 47 + - description: CINMP - COMINIT Negate Minimum Period. 48 + - description: CIBGN - COMINIT Burst Gap Nominal. 49 + - description: CIBGMX - COMINIT Burst Gap Maximum. 50 + - description: CIBGMN - COMINIT Burst Gap Minimum. 51 + 52 + ceva,p0-comwake-params: 53 + $ref: /schemas/types.yaml#/definitions/uint8-array 54 + description: | 55 + OOB timing value for COMWAKE parameter for port 0. 56 + The fields for the above parameter must be as shown below:- 57 + ceva,p0-comwake-params = /bits/ 8 <CWBGMN CWBGMX CWBGN CWNMP>; 58 + items: 59 + - description: CWBGMN - COMWAKE Burst Gap Minimum. 60 + - description: CWBGMX - COMWAKE Burst Gap Maximum. 61 + - description: CWBGN - COMWAKE Burst Gap Nominal. 62 + - description: CWNMP - COMWAKE Negate Minimum Period. 63 + 64 + ceva,p0-burst-params: 65 + $ref: /schemas/types.yaml#/definitions/uint8-array 66 + description: | 67 + Burst timing value for COM parameter for port 0. 68 + The fields for the above parameter must be as shown below:- 69 + ceva,p0-burst-params = /bits/ 8 <BMX BNM SFD PTST>; 70 + items: 71 + - description: BMX - COM Burst Maximum. 72 + - description: BNM - COM Burst Nominal. 73 + - description: SFD - Signal Failure Detection value. 74 + - description: PTST - Partial to Slumber timer value. 75 + 76 + ceva,p0-retry-params: 77 + $ref: /schemas/types.yaml#/definitions/uint16-array 78 + description: | 79 + Retry interval timing value for port 0. 80 + The fields for the above parameter must be as shown below:- 81 + ceva,p0-retry-params = /bits/ 16 <RIT RCT>; 82 + items: 83 + - description: RIT - Retry Interval Timer. 84 + - description: RCT - Rate Change Timer. 85 + 86 + ceva,p1-cominit-params: 87 + $ref: /schemas/types.yaml#/definitions/uint8-array 88 + description: | 89 + OOB timing value for COMINIT parameter for port 1. 90 + The fields for the above parameter must be as shown below:- 91 + ceva,p1-cominit-params = /bits/ 8 <CIBGMN CIBGMX CIBGN CINMP>; 92 + items: 93 + - description: CINMP - COMINIT Negate Minimum Period. 94 + - description: CIBGN - COMINIT Burst Gap Nominal. 95 + - description: CIBGMX - COMINIT Burst Gap Maximum. 96 + - description: CIBGMN - COMINIT Burst Gap Minimum. 97 + 98 + ceva,p1-comwake-params: 99 + $ref: /schemas/types.yaml#/definitions/uint8-array 100 + description: | 101 + OOB timing value for COMWAKE parameter for port 1. 102 + The fields for the above parameter must be as shown below:- 103 + ceva,p1-comwake-params = /bits/ 8 <CWBGMN CWBGMX CWBGN CWNMP>; 104 + items: 105 + - description: CWBGMN - COMWAKE Burst Gap Minimum. 106 + - description: CWBGMX - COMWAKE Burst Gap Maximum. 107 + - description: CWBGN - COMWAKE Burst Gap Nominal. 108 + - description: CWNMP - COMWAKE Negate Minimum Period. 109 + 110 + ceva,p1-burst-params: 111 + $ref: /schemas/types.yaml#/definitions/uint8-array 112 + description: | 113 + Burst timing value for COM parameter for port 1. 114 + The fields for the above parameter must be as shown below:- 115 + ceva,p1-burst-params = /bits/ 8 <BMX BNM SFD PTST>; 116 + items: 117 + - description: BMX - COM Burst Maximum. 118 + - description: BNM - COM Burst Nominal. 119 + - description: SFD - Signal Failure Detection value. 120 + - description: PTST - Partial to Slumber timer value. 121 + 122 + ceva,p1-retry-params: 123 + $ref: /schemas/types.yaml#/definitions/uint16-array 124 + description: | 125 + Retry interval timing value for port 1. 126 + The fields for the above parameter must be as shown below:- 127 + ceva,pN-retry-params = /bits/ 16 <RIT RCT>; 128 + items: 129 + - description: RIT - Retry Interval Timer. 130 + - description: RCT - Rate Change Timer. 131 + 132 + ceva,broken-gen2: 133 + $ref: /schemas/types.yaml#/definitions/flag 134 + description: | 135 + limit to gen1 speed instead of gen2. 136 + 137 + phys: 138 + maxItems: 1 139 + 140 + phy-names: 141 + items: 142 + - const: sata-phy 143 + 144 + resets: 145 + maxItems: 1 146 + 147 + required: 148 + - compatible 149 + - reg 150 + - clocks 151 + - interrupts 152 + - ceva,p0-cominit-params 153 + - ceva,p0-comwake-params 154 + - ceva,p0-burst-params 155 + - ceva,p0-retry-params 156 + - ceva,p1-cominit-params 157 + - ceva,p1-comwake-params 158 + - ceva,p1-burst-params 159 + - ceva,p1-retry-params 160 + 161 + additionalProperties: false 162 + 163 + examples: 164 + - | 165 + #include <dt-bindings/clock/xlnx-zynqmp-clk.h> 166 + #include <dt-bindings/interrupt-controller/irq.h> 167 + #include <dt-bindings/power/xlnx-zynqmp-power.h> 168 + #include <dt-bindings/reset/xlnx-zynqmp-resets.h> 169 + #include <dt-bindings/clock/xlnx-zynqmp-clk.h> 170 + #include <dt-bindings/phy/phy.h> 171 + 172 + sata: ahci@fd0c0000 { 173 + compatible = "ceva,ahci-1v84"; 174 + reg = <0xfd0c0000 0x200>; 175 + interrupt-parent = <&gic>; 176 + interrupts = <0 133 IRQ_TYPE_LEVEL_HIGH>; 177 + clocks = <&zynqmp_clk SATA_REF>; 178 + ceva,p0-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>; 179 + ceva,p0-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>; 180 + ceva,p0-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>; 181 + ceva,p0-retry-params = /bits/ 16 <0x0216 0x7F06>; 182 + ceva,p1-cominit-params = /bits/ 8 <0x0F 0x25 0x18 0x29>; 183 + ceva,p1-comwake-params = /bits/ 8 <0x04 0x0B 0x08 0x0F>; 184 + ceva,p1-burst-params = /bits/ 8 <0x0A 0x08 0x4A 0x06>; 185 + ceva,p1-retry-params = /bits/ 16 <0x0216 0x7F06>; 186 + ceva,broken-gen2; 187 + phys = <&psgtr 1 PHY_TYPE_SATA 1 1>; 188 + resets = <&zynqmp_reset ZYNQMP_RESET_SATA>; 189 + };
+11 -14
Documentation/devicetree/bindings/bus/qcom,ssc-block-bus.yaml
··· 28 28 - const: qcom,ssc-block-bus 29 29 30 30 reg: 31 - description: | 32 - Shall contain the addresses of the SSCAON_CONFIG0 and SSCAON_CONFIG1 33 - registers 34 - minItems: 2 35 - maxItems: 2 31 + items: 32 + - description: SSCAON_CONFIG0 registers 33 + - description: SSCAON_CONFIG1 registers 36 34 37 35 reg-names: 38 36 items: ··· 46 48 ranges: true 47 49 48 50 clocks: 49 - minItems: 6 50 51 maxItems: 6 51 52 52 53 clock-names: ··· 58 61 - const: ssc_ahbs 59 62 60 63 power-domains: 61 - description: Power domain phandles for the ssc_cx and ssc_mx power domains 62 - minItems: 2 63 - maxItems: 2 64 + items: 65 + - description: CX power domain 66 + - description: MX power domain 64 67 65 68 power-domain-names: 66 69 items: ··· 68 71 - const: ssc_mx 69 72 70 73 resets: 71 - description: | 72 - Reset phandles for the ssc_reset and ssc_bcr resets (note: ssc_bcr is the 73 - branch control register associated with the ssc_xo and ssc_ahbs clocks) 74 - minItems: 2 75 - maxItems: 2 74 + items: 75 + - description: Main reset 76 + - description: 77 + SSC Branch Control Register reset (associated with the ssc_xo and 78 + ssc_ahbs clocks) 76 79 77 80 reset-names: 78 81 items:
-137
Documentation/devicetree/bindings/chosen.txt
··· 1 - The chosen node 2 - --------------- 3 - 4 - The chosen node does not represent a real device, but serves as a place 5 - for passing data between firmware and the operating system, like boot 6 - arguments. Data in the chosen node does not represent the hardware. 7 - 8 - The following properties are recognized: 9 - 10 - 11 - kaslr-seed 12 - ----------- 13 - 14 - This property is used when booting with CONFIG_RANDOMIZE_BASE as the 15 - entropy used to randomize the kernel image base address location. Since 16 - it is used directly, this value is intended only for KASLR, and should 17 - not be used for other purposes (as it may leak information about KASLR 18 - offsets). It is parsed as a u64 value, e.g. 19 - 20 - / { 21 - chosen { 22 - kaslr-seed = <0xfeedbeef 0xc0def00d>; 23 - }; 24 - }; 25 - 26 - Note that if this property is set from UEFI (or a bootloader in EFI 27 - mode) when EFI_RNG_PROTOCOL is supported, it will be overwritten by 28 - the Linux EFI stub (which will populate the property itself, using 29 - EFI_RNG_PROTOCOL). 30 - 31 - stdout-path 32 - ----------- 33 - 34 - Device trees may specify the device to be used for boot console output 35 - with a stdout-path property under /chosen, as described in the Devicetree 36 - Specification, e.g. 37 - 38 - / { 39 - chosen { 40 - stdout-path = "/serial@f00:115200"; 41 - }; 42 - 43 - serial@f00 { 44 - compatible = "vendor,some-uart"; 45 - reg = <0xf00 0x10>; 46 - }; 47 - }; 48 - 49 - If the character ":" is present in the value, this terminates the path. 50 - The meaning of any characters following the ":" is device-specific, and 51 - must be specified in the relevant binding documentation. 52 - 53 - For UART devices, the preferred binding is a string in the form: 54 - 55 - <baud>{<parity>{<bits>{<flow>}}} 56 - 57 - where 58 - 59 - baud - baud rate in decimal 60 - parity - 'n' (none), 'o', (odd) or 'e' (even) 61 - bits - number of data bits 62 - flow - 'r' (rts) 63 - 64 - For example: 115200n8r 65 - 66 - Implementation note: Linux will look for the property "linux,stdout-path" or 67 - on PowerPC "stdout" if "stdout-path" is not found. However, the 68 - "linux,stdout-path" and "stdout" properties are deprecated. New platforms 69 - should only use the "stdout-path" property. 70 - 71 - linux,booted-from-kexec 72 - ----------------------- 73 - 74 - This property is set (currently only on PowerPC, and only needed on 75 - book3e) by some versions of kexec-tools to tell the new kernel that it 76 - is being booted by kexec, as the booting environment may differ (e.g. 77 - a different secondary CPU release mechanism) 78 - 79 - linux,usable-memory-range 80 - ------------------------- 81 - 82 - This property holds a base address and size, describing a limited region in 83 - which memory may be considered available for use by the kernel. Memory outside 84 - of this range is not available for use. 85 - 86 - This property describes a limitation: memory within this range is only 87 - valid when also described through another mechanism that the kernel 88 - would otherwise use to determine available memory (e.g. memory nodes 89 - or the EFI memory map). Valid memory may be sparse within the range. 90 - e.g. 91 - 92 - / { 93 - chosen { 94 - linux,usable-memory-range = <0x9 0xf0000000 0x0 0x10000000>; 95 - }; 96 - }; 97 - 98 - The main usage is for crash dump kernel to identify its own usable 99 - memory and exclude, at its boot time, any other memory areas that are 100 - part of the panicked kernel's memory. 101 - 102 - While this property does not represent a real hardware, the address 103 - and the size are expressed in #address-cells and #size-cells, 104 - respectively, of the root node. 105 - 106 - linux,elfcorehdr 107 - ---------------- 108 - 109 - This property holds the memory range, the address and the size, of the elf 110 - core header which mainly describes the panicked kernel's memory layout as 111 - PT_LOAD segments of elf format. 112 - e.g. 113 - 114 - / { 115 - chosen { 116 - linux,elfcorehdr = <0x9 0xfffff000 0x0 0x800>; 117 - }; 118 - }; 119 - 120 - While this property does not represent a real hardware, the address 121 - and the size are expressed in #address-cells and #size-cells, 122 - respectively, of the root node. 123 - 124 - linux,initrd-start and linux,initrd-end 125 - --------------------------------------- 126 - 127 - These properties hold the physical start and end address of an initrd that's 128 - loaded by the bootloader. Note that linux,initrd-start is inclusive, but 129 - linux,initrd-end is exclusive. 130 - e.g. 131 - 132 - / { 133 - chosen { 134 - linux,initrd-start = <0x82000000>; 135 - linux,initrd-end = <0x82800000>; 136 - }; 137 - };
-11
Documentation/devicetree/bindings/clock/efm32-clock.txt
··· 1 - * Clock bindings for Energy Micro efm32 Giant Gecko's Clock Management Unit 2 - 3 - Required properties: 4 - - compatible: Should be "efm32gg,cmu" 5 - - reg: Base address and length of the register set 6 - - interrupts: Interrupt used by the CMU 7 - - #clock-cells: Should be <1> 8 - 9 - The clock consumer should specify the desired clock by having the clock ID in 10 - its "clocks" phandle cell. The header efm32-clk.h contains a list of available 11 - IDs.
+1 -1
Documentation/devicetree/bindings/clock/st/st,flexgen.txt
··· 78 78 - #clock-cells : from common clock binding; shall be set to 1 (multiple clock 79 79 outputs). 80 80 81 - - clocks : must be set to the parent's phandle. it's could be output clocks of 81 + - clocks : must be set to the parent's phandle. it could be output clocks of 82 82 a quadsfs or/and a pll or/and clk_sysin (up to 7 clocks) 83 83 84 84 - clock-output-names : List of strings used to name the clock outputs.
+1 -1
Documentation/devicetree/bindings/clock/ti/davinci/pll.txt
··· 15 15 - for "ti,da850-pll1", shall be "clksrc" 16 16 17 17 Optional properties: 18 - - ti,clkmode-square-wave: Indicates that the the board is supplying a square 18 + - ti,clkmode-square-wave: Indicates that the board is supplying a square 19 19 wave input on the OSCIN pin instead of using a crystal oscillator. 20 20 This property is only valid when compatible = "ti,da850-pll0". 21 21
+1 -1
Documentation/devicetree/bindings/clock/ti/dra7-atl.txt
··· 6 6 ATL can maintain a clock averages to some desired frequency based on the bws/aws 7 7 signals - can compensate the drift between the two ws signal. 8 8 9 - In order to provide the support for ATL and it's output clocks (which can be used 9 + In order to provide the support for ATL and its output clocks (which can be used 10 10 internally within the SoC or external components) two sets of bindings is needed: 11 11 12 12 Clock tree binding:
+76 -76
Documentation/devicetree/bindings/connector/usb-connector.yaml
··· 263 263 # Micro-USB connector with HS lines routed via controller (MUIC). 264 264 - | 265 265 muic-max77843 { 266 - usb_con1: connector { 267 - compatible = "usb-b-connector"; 268 - label = "micro-USB"; 269 - type = "micro"; 270 - }; 266 + usb_con1: connector { 267 + compatible = "usb-b-connector"; 268 + label = "micro-USB"; 269 + type = "micro"; 270 + }; 271 271 }; 272 272 273 273 # USB-C connector attached to CC controller (s2mm005), HS lines routed ··· 275 275 # DisplayPort video lines are routed to the connector via SS mux in USB3 PHY. 276 276 - | 277 277 ccic: s2mm005 { 278 - usb_con2: connector { 279 - compatible = "usb-c-connector"; 280 - label = "USB-C"; 278 + usb_con2: connector { 279 + compatible = "usb-c-connector"; 280 + label = "USB-C"; 281 281 282 - ports { 283 - #address-cells = <1>; 284 - #size-cells = <0>; 282 + ports { 283 + #address-cells = <1>; 284 + #size-cells = <0>; 285 285 286 - port@0 { 287 - reg = <0>; 288 - usb_con_hs: endpoint { 289 - remote-endpoint = <&max77865_usbc_hs>; 286 + port@0 { 287 + reg = <0>; 288 + usb_con_hs: endpoint { 289 + remote-endpoint = <&max77865_usbc_hs>; 290 + }; 291 + }; 292 + port@1 { 293 + reg = <1>; 294 + usb_con_ss: endpoint { 295 + remote-endpoint = <&usbdrd_phy_ss>; 296 + }; 297 + }; 298 + port@2 { 299 + reg = <2>; 300 + usb_con_sbu: endpoint { 301 + remote-endpoint = <&dp_aux>; 302 + }; 303 + }; 290 304 }; 291 - }; 292 - port@1 { 293 - reg = <1>; 294 - usb_con_ss: endpoint { 295 - remote-endpoint = <&usbdrd_phy_ss>; 296 - }; 297 - }; 298 - port@2 { 299 - reg = <2>; 300 - usb_con_sbu: endpoint { 301 - remote-endpoint = <&dp_aux>; 302 - }; 303 - }; 304 305 }; 305 - }; 306 306 }; 307 307 308 308 # USB-C connector attached to a typec port controller(ptn5110), which has ··· 310 310 - | 311 311 #include <dt-bindings/usb/pd.h> 312 312 typec: ptn5110 { 313 - usb_con3: connector { 314 - compatible = "usb-c-connector"; 315 - label = "USB-C"; 316 - power-role = "dual"; 317 - try-power-role = "sink"; 318 - source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>; 319 - sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM) 320 - PDO_VAR(5000, 12000, 2000)>; 321 - op-sink-microwatt = <10000000>; 322 - }; 313 + usb_con3: connector { 314 + compatible = "usb-c-connector"; 315 + label = "USB-C"; 316 + power-role = "dual"; 317 + try-power-role = "sink"; 318 + source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>; 319 + sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM) 320 + PDO_VAR(5000, 12000, 2000)>; 321 + op-sink-microwatt = <10000000>; 322 + }; 323 323 }; 324 324 325 325 # USB-C connector attached to SoC and USB3 typec port controller(hd3ss3220) ··· 332 332 data-role = "dual"; 333 333 334 334 ports { 335 - #address-cells = <1>; 336 - #size-cells = <0>; 337 - port@0 { 338 - reg = <0>; 339 - hs_ep: endpoint { 340 - remote-endpoint = <&usb3_hs_ep>; 341 - }; 335 + #address-cells = <1>; 336 + #size-cells = <0>; 337 + port@0 { 338 + reg = <0>; 339 + hs_ep: endpoint { 340 + remote-endpoint = <&usb3_hs_ep>; 342 341 }; 343 - port@1 { 344 - reg = <1>; 345 - ss_ep: endpoint { 346 - remote-endpoint = <&hd3ss3220_in_ep>; 347 - }; 342 + }; 343 + port@1 { 344 + reg = <1>; 345 + ss_ep: endpoint { 346 + remote-endpoint = <&hd3ss3220_in_ep>; 348 347 }; 348 + }; 349 349 }; 350 350 }; 351 351 ··· 354 354 #include <dt-bindings/gpio/gpio.h> 355 355 356 356 usb { 357 - connector { 358 - compatible = "gpio-usb-b-connector", "usb-b-connector"; 359 - type = "micro"; 360 - id-gpios = <&pio 12 GPIO_ACTIVE_HIGH>; 361 - vbus-supply = <&usb_p0_vbus>; 362 - }; 357 + connector { 358 + compatible = "gpio-usb-b-connector", "usb-b-connector"; 359 + type = "micro"; 360 + id-gpios = <&pio 12 GPIO_ACTIVE_HIGH>; 361 + vbus-supply = <&usb_p0_vbus>; 362 + }; 363 363 }; 364 364 365 365 # Micro-USB connector with HS lines routed via controller (MUIC) and MHL ··· 367 367 # mobile phone 368 368 - | 369 369 muic-max77843 { 370 - usb_con4: connector { 371 - compatible = "samsung,usb-connector-11pin", "usb-b-connector"; 372 - label = "micro-USB"; 373 - type = "micro"; 370 + usb_con4: connector { 371 + compatible = "samsung,usb-connector-11pin", "usb-b-connector"; 372 + label = "micro-USB"; 373 + type = "micro"; 374 374 375 - ports { 376 - #address-cells = <1>; 377 - #size-cells = <0>; 375 + ports { 376 + #address-cells = <1>; 377 + #size-cells = <0>; 378 378 379 - port@0 { 380 - reg = <0>; 381 - muic_to_usb: endpoint { 382 - remote-endpoint = <&usb_to_muic>; 379 + port@0 { 380 + reg = <0>; 381 + muic_to_usb: endpoint { 382 + remote-endpoint = <&usb_to_muic>; 383 + }; 384 + }; 385 + port@3 { 386 + reg = <3>; 387 + usb_con_mhl: endpoint { 388 + remote-endpoint = <&sii8620_mhl>; 389 + }; 390 + }; 383 391 }; 384 - }; 385 - port@3 { 386 - reg = <3>; 387 - usb_con_mhl: endpoint { 388 - remote-endpoint = <&sii8620_mhl>; 389 - }; 390 - }; 391 392 }; 392 - }; 393 393 };
+1 -14
Documentation/devicetree/bindings/display/arm,pl11x.yaml
··· 159 159 }; 160 160 161 161 panel { 162 - compatible = "arm,rtsm-display", "panel-dpi"; 163 - power-supply = <&vcc_supply>; 162 + compatible = "arm,rtsm-display"; 164 163 165 164 port { 166 165 clcd_panel: endpoint { 167 166 remote-endpoint = <&clcd_pads>; 168 167 }; 169 - }; 170 - 171 - panel-timing { 172 - clock-frequency = <25175000>; 173 - hactive = <640>; 174 - hback-porch = <40>; 175 - hfront-porch = <24>; 176 - hsync-len = <96>; 177 - vactive = <480>; 178 - vback-porch = <32>; 179 - vfront-porch = <11>; 180 - vsync-len = <2>; 181 168 }; 182 169 }; 183 170 ...
-78
Documentation/devicetree/bindings/display/bridge/sii902x.txt
··· 1 - sii902x HDMI bridge bindings 2 - 3 - Required properties: 4 - - compatible: "sil,sii9022" 5 - - reg: i2c address of the bridge 6 - 7 - Optional properties: 8 - - interrupts: describe the interrupt line used to inform the host 9 - about hotplug events. 10 - - reset-gpios: OF device-tree gpio specification for RST_N pin. 11 - - iovcc-supply: I/O Supply Voltage (1.8V or 3.3V) 12 - - cvcc12-supply: Digital Core Supply Voltage (1.2V) 13 - 14 - HDMI audio properties: 15 - - #sound-dai-cells: <0> or <1>. <0> if only i2s or spdif pin 16 - is wired, <1> if the both are wired. HDMI audio is 17 - configured only if this property is found. 18 - - sil,i2s-data-lanes: Array of up to 4 integers with values of 0-3 19 - Each integer indicates which i2s pin is connected to which 20 - audio fifo. The first integer selects i2s audio pin for the 21 - first audio fifo#0 (HDMI channels 1&2), second for fifo#1 22 - (HDMI channels 3&4), and so on. There is 4 fifos and 4 i2s 23 - pins (SD0 - SD3). Any i2s pin can be connected to any fifo, 24 - but there can be no gaps. E.g. an i2s pin must be mapped to 25 - fifo#0 and fifo#1 before mapping a channel to fifo#2. Default 26 - value is <0>, describing SD0 pin beiging routed to hdmi audio 27 - fifo #0. 28 - - clocks: phandle and clock specifier for each clock listed in 29 - the clock-names property 30 - - clock-names: "mclk" 31 - Describes SII902x MCLK input. MCLK can be used to produce 32 - HDMI audio CTS values. This property follows 33 - Documentation/devicetree/bindings/clock/clock-bindings.txt 34 - consumer binding. 35 - 36 - If HDMI audio is configured the sii902x device becomes an I2S 37 - and/or spdif audio codec component (e.g a digital audio sink), 38 - that can be used in configuring a full audio devices with 39 - simple-card or audio-graph-card binding. See their binding 40 - documents on how to describe the way the sii902x device is 41 - connected to the rest of the audio system: 42 - Documentation/devicetree/bindings/sound/simple-card.yaml 43 - Documentation/devicetree/bindings/sound/audio-graph-card.yaml 44 - Note: In case of the audio-graph-card binding the used port 45 - index should be 3. 46 - 47 - Optional subnodes: 48 - - video input: this subnode can contain a video input port node 49 - to connect the bridge to a display controller output (See this 50 - documentation [1]). 51 - 52 - [1]: Documentation/devicetree/bindings/media/video-interfaces.txt 53 - 54 - Example: 55 - hdmi-bridge@39 { 56 - compatible = "sil,sii9022"; 57 - reg = <0x39>; 58 - reset-gpios = <&pioA 1 0>; 59 - iovcc-supply = <&v3v3_hdmi>; 60 - cvcc12-supply = <&v1v2_hdmi>; 61 - 62 - #sound-dai-cells = <0>; 63 - sil,i2s-data-lanes = < 0 1 2 >; 64 - clocks = <&mclk>; 65 - clock-names = "mclk"; 66 - 67 - ports { 68 - #address-cells = <1>; 69 - #size-cells = <0>; 70 - 71 - port@0 { 72 - reg = <0>; 73 - bridge_in: endpoint { 74 - remote-endpoint = <&dc_out>; 75 - }; 76 - }; 77 - }; 78 - };
+131
Documentation/devicetree/bindings/display/bridge/sil,sii9022.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/display/bridge/sil,sii9022.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Silicon Image sii902x HDMI bridge 8 + 9 + maintainers: 10 + - Boris Brezillon <bbrezillon@kernel.org> 11 + 12 + properties: 13 + compatible: 14 + oneOf: 15 + - items: 16 + - enum: 17 + - sil,sii9022-cpi # CEC Programming Interface 18 + - sil,sii9022-tpi # Transmitter Programming Interface 19 + - const: sil,sii9022 20 + - const: sil,sii9022 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + interrupts: 26 + maxItems: 1 27 + description: Interrupt line used to inform the host about hotplug events. 28 + 29 + reset-gpios: 30 + maxItems: 1 31 + 32 + iovcc-supply: 33 + description: I/O Supply Voltage (1.8V or 3.3V) 34 + 35 + cvcc12-supply: 36 + description: Digital Core Supply Voltage (1.2V) 37 + 38 + '#sound-dai-cells': 39 + enum: [ 0, 1 ] 40 + description: | 41 + <0> if only I2S or S/PDIF pin is wired, 42 + <1> if both are wired. 43 + HDMI audio is configured only if this property is found. 44 + If HDMI audio is configured, the sii902x device becomes an I2S and/or 45 + S/PDIF audio codec component (e.g. a digital audio sink), that can be 46 + used in configuring full audio devices with simple-card or 47 + audio-graph-card bindings. See their binding documents on how to describe 48 + the way the 49 + sii902x device is connected to the rest of the audio system: 50 + Documentation/devicetree/bindings/sound/simple-card.yaml 51 + Documentation/devicetree/bindings/sound/audio-graph-card.yaml 52 + Note: In case of the audio-graph-card binding the used port index should 53 + be 3. 54 + 55 + sil,i2s-data-lanes: 56 + $ref: /schemas/types.yaml#/definitions/uint32-array 57 + minItems: 1 58 + maxItems: 4 59 + uniqueItems: true 60 + items: 61 + enum: [ 0, 1, 2, 3 ] 62 + description: 63 + Each integer indicates which I2S pin is connected to which audio FIFO. 64 + The first integer selects the I2S audio pin for the first audio FIFO#0 65 + (HDMI channels 1&2), the second for FIFO#1 (HDMI channels 3&4), and so 66 + on. There are 4 FIFOs and 4 I2S pins (SD0 - SD3). Any I2S pin can be 67 + connected to any FIFO, but there can be no gaps. E.g. an I2S pin must be 68 + mapped to FIFO#0 and FIFO#1 before mapping a channel to FIFO#2. The 69 + default value is <0>, describing SD0 pin being routed to HDMI audio 70 + FIFO#0. 71 + 72 + clocks: 73 + maxItems: 1 74 + description: MCLK input. MCLK can be used to produce HDMI audio CTS values. 75 + 76 + clock-names: 77 + const: mclk 78 + 79 + ports: 80 + $ref: /schemas/graph.yaml#/properties/ports 81 + 82 + properties: 83 + port@0: 84 + $ref: /schemas/graph.yaml#/properties/port 85 + description: Parallel RGB input port 86 + 87 + port@1: 88 + $ref: /schemas/graph.yaml#/properties/port 89 + description: HDMI output port 90 + 91 + port@3: 92 + $ref: /schemas/graph.yaml#/properties/port 93 + description: Sound input port 94 + 95 + required: 96 + - compatible 97 + - reg 98 + 99 + additionalProperties: false 100 + 101 + examples: 102 + - | 103 + i2c { 104 + #address-cells = <1>; 105 + #size-cells = <0>; 106 + 107 + hdmi-bridge@39 { 108 + compatible = "sil,sii9022"; 109 + reg = <0x39>; 110 + reset-gpios = <&pioA 1 0>; 111 + iovcc-supply = <&v3v3_hdmi>; 112 + cvcc12-supply = <&v1v2_hdmi>; 113 + 114 + #sound-dai-cells = <0>; 115 + sil,i2s-data-lanes = < 0 1 2 >; 116 + clocks = <&mclk>; 117 + clock-names = "mclk"; 118 + 119 + ports { 120 + #address-cells = <1>; 121 + #size-cells = <0>; 122 + 123 + port@0 { 124 + reg = <0>; 125 + bridge_in: endpoint { 126 + remote-endpoint = <&dc_out>; 127 + }; 128 + }; 129 + }; 130 + }; 131 + };
+27
Documentation/devicetree/bindings/display/panel/arm,rtsm-display.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/display/panel/arm,rtsm-display.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Arm RTSM Virtual Platforms Display 8 + 9 + maintainers: 10 + - Linus Walleij <linus.walleij@linaro.org> 11 + 12 + allOf: 13 + - $ref: panel-common.yaml# 14 + 15 + properties: 16 + compatible: 17 + const: arm,rtsm-display 18 + 19 + port: true 20 + 21 + required: 22 + - compatible 23 + - port 24 + 25 + additionalProperties: false 26 + 27 + ...
+1 -1
Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml
··· 15 15 16 16 allOf: 17 17 - $ref: panel-common.yaml# 18 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 18 19 19 20 properties: 20 21 compatible: 21 22 const: lg,lg4573 22 23 23 24 reg: true 24 - spi-max-frequency: true 25 25 26 26 required: 27 27 - compatible
+1
Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml
··· 38 38 0 - burst-mode 39 39 1 - non-burst with sync event 40 40 2 - non-burst with sync pulse 41 + $ref: /schemas/types.yaml#/definitions/uint32 41 42 enum: [0, 1, 2] 42 43 43 44 required:
+1
Documentation/devicetree/bindings/display/sitronix,st7735r.yaml
··· 15 15 16 16 allOf: 17 17 - $ref: panel/panel-common.yaml# 18 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 18 19 19 20 properties: 20 21 compatible:
+3 -4
Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml
··· 49 49 vbat-supply: 50 50 description: The supply for VBAT 51 51 52 - # Only required for SPI 53 - spi-max-frequency: true 54 - 55 52 solomon,height: 56 53 $ref: /schemas/types.yaml#/definitions/uint32 57 54 default: 16 ··· 150 153 - reg 151 154 152 155 allOf: 156 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 157 + 153 158 - if: 154 159 properties: 155 160 compatible: ··· 222 223 solomon,dclk-frq: 223 224 default: 10 224 225 225 - additionalProperties: false 226 + unevaluatedProperties: false 226 227 227 228 examples: 228 229 - |
+100
Documentation/devicetree/bindings/dma/qcom,bam-dma.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/dma/qcom,bam-dma.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm Technologies Inc BAM DMA controller 8 + 9 + maintainers: 10 + - Andy Gross <agross@kernel.org> 11 + - Bjorn Andersson <bjorn.andersson@linaro.org> 12 + 13 + allOf: 14 + - $ref: "dma-controller.yaml#" 15 + 16 + properties: 17 + compatible: 18 + enum: 19 + # APQ8064, IPQ8064 and MSM8960 20 + - qcom,bam-v1.3.0 21 + # MSM8974, APQ8074 and APQ8084 22 + - qcom,bam-v1.4.0 23 + # MSM8916 24 + - qcom,bam-v1.7.0 25 + 26 + clocks: 27 + maxItems: 1 28 + 29 + clock-names: 30 + items: 31 + - const: bam_clk 32 + 33 + "#dma-cells": 34 + const: 1 35 + 36 + interrupts: 37 + maxItems: 1 38 + 39 + iommus: 40 + minItems: 1 41 + maxItems: 4 42 + 43 + num-channels: 44 + $ref: /schemas/types.yaml#/definitions/uint32 45 + description: 46 + Indicates supported number of DMA channels in a remotely controlled bam. 47 + 48 + qcom,controlled-remotely: 49 + type: boolean 50 + description: 51 + Indicates that the bam is controlled by remote proccessor i.e. execution 52 + environment. 53 + 54 + qcom,ee: 55 + $ref: /schemas/types.yaml#/definitions/uint32 56 + minimum: 0 57 + maximum: 7 58 + description: 59 + Indicates the active Execution Environment identifier (0-7) used in the 60 + secure world. 61 + 62 + qcom,num-ees: 63 + $ref: /schemas/types.yaml#/definitions/uint32 64 + description: 65 + Indicates supported number of Execution Environments in a remotely 66 + controlled bam. 67 + 68 + qcom,powered-remotely: 69 + type: boolean 70 + description: 71 + Indicates that the bam is powered up by a remote processor but must be 72 + initialized by the local processor. 73 + 74 + reg: 75 + maxItems: 1 76 + 77 + required: 78 + - compatible 79 + - "#dma-cells" 80 + - interrupts 81 + - qcom,ee 82 + - reg 83 + 84 + additionalProperties: false 85 + 86 + examples: 87 + - | 88 + #include <dt-bindings/interrupt-controller/arm-gic.h> 89 + #include <dt-bindings/clock/qcom,gcc-msm8974.h> 90 + 91 + dma-controller@f9944000 { 92 + compatible = "qcom,bam-v1.4.0"; 93 + reg = <0xf9944000 0x15000>; 94 + interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; 95 + clocks = <&gcc GCC_BLSP2_AHB_CLK>; 96 + clock-names = "bam_clk"; 97 + #dma-cells = <1>; 98 + qcom,ee = <0>; 99 + }; 100 + ...
-52
Documentation/devicetree/bindings/dma/qcom_bam_dma.txt
··· 1 - QCOM BAM DMA controller 2 - 3 - Required properties: 4 - - compatible: must be one of the following: 5 - * "qcom,bam-v1.4.0" for MSM8974, APQ8074 and APQ8084 6 - * "qcom,bam-v1.3.0" for APQ8064, IPQ8064 and MSM8960 7 - * "qcom,bam-v1.7.0" for MSM8916 8 - - reg: Address range for DMA registers 9 - - interrupts: Should contain the one interrupt shared by all channels 10 - - #dma-cells: must be <1>, the cell in the dmas property of the client device 11 - represents the channel number 12 - - clocks: required clock 13 - - clock-names: must contain "bam_clk" entry 14 - - qcom,ee : indicates the active Execution Environment identifier (0-7) used in 15 - the secure world. 16 - - qcom,controlled-remotely : optional, indicates that the bam is controlled by 17 - remote proccessor i.e. execution environment. 18 - - qcom,powered-remotely : optional, indicates that the bam is powered up by 19 - a remote processor but must be initialized by the local processor. 20 - - num-channels : optional, indicates supported number of DMA channels in a 21 - remotely controlled bam. 22 - - qcom,num-ees : optional, indicates supported number of Execution Environments 23 - in a remotely controlled bam. 24 - 25 - Example: 26 - 27 - uart-bam: dma@f9984000 = { 28 - compatible = "qcom,bam-v1.4.0"; 29 - reg = <0xf9984000 0x15000>; 30 - interrupts = <0 94 0>; 31 - clocks = <&gcc GCC_BAM_DMA_AHB_CLK>; 32 - clock-names = "bam_clk"; 33 - #dma-cells = <1>; 34 - qcom,ee = <0>; 35 - }; 36 - 37 - DMA clients must use the format described in the dma.txt file, using a two cell 38 - specifier for each channel. 39 - 40 - Example: 41 - serial@f991e000 { 42 - compatible = "qcom,msm-uart"; 43 - reg = <0xf991e000 0x1000> 44 - <0xf9944000 0x19000>; 45 - interrupts = <0 108 0>; 46 - clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, 47 - <&gcc GCC_BLSP1_AHB_CLK>; 48 - clock-names = "core", "iface"; 49 - 50 - dmas = <&uart-bam 0>, <&uart-bam 1>; 51 - dma-names = "rx", "tx"; 52 - };
+2 -3
Documentation/devicetree/bindings/eeprom/at25.yaml
··· 44 44 reg: 45 45 maxItems: 1 46 46 47 - spi-max-frequency: true 48 - 49 47 pagesize: 50 48 $ref: /schemas/types.yaml#/definitions/uint32 51 49 enum: [1, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072] ··· 103 105 - spi-max-frequency 104 106 105 107 allOf: 108 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 106 109 - if: 107 110 properties: 108 111 compatible: ··· 116 117 - size 117 118 - address-width 118 119 119 - additionalProperties: false 120 + unevaluatedProperties: false 120 121 121 122 examples: 122 123 - |
+1 -1
Documentation/devicetree/bindings/fpga/fpga-region.txt
··· 330 330 331 331 The Device Tree Overlay will contain: 332 332 * "target-path" or "target" 333 - The insertion point where the the contents of the overlay will go into the 333 + The insertion point where the contents of the overlay will go into the 334 334 live tree. target-path is a full path, while target is a phandle. 335 335 * "ranges" 336 336 The address space mapping from processor to FPGA bus(ses).
+1 -1
Documentation/devicetree/bindings/gpio/gpio-pisosr.txt
··· 14 14 - ngpios : Number of used GPIO lines (0..n-1), default is 8. 15 15 - load-gpios : GPIO pin specifier attached to load enable, this 16 16 pin is pulsed before reading from the device to 17 - load input pin values into the the device. 17 + load input pin values into the device. 18 18 19 19 For other required and optional properties of SPI slave 20 20 nodes please refer to ../spi/spi-bus.txt.
+30
Documentation/devicetree/bindings/hwinfo/samsung,s5pv210-chipid.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/hwinfo/samsung,s5pv210-chipid.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Samsung S5PV210 SoC ChipID 8 + 9 + maintainers: 10 + - Krzysztof Kozlowski <krzk@kernel.org> 11 + 12 + properties: 13 + compatible: 14 + const: samsung,s5pv210-chipid 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + required: 20 + - compatible 21 + - reg 22 + 23 + additionalProperties: false 24 + 25 + examples: 26 + - | 27 + chipid@e0000000 { 28 + compatible = "samsung,s5pv210-chipid"; 29 + reg = <0xe0000000 0x1000>; 30 + };
+1 -1
Documentation/devicetree/bindings/hwmon/adt7475.yaml
··· 57 57 Configures bypassing the individual voltage input attenuator. If 58 58 set to 1 the attenuator is bypassed if set to 0 the attenuator is 59 59 not bypassed. If the property is absent then the attenuator 60 - retains it's configuration from the bios/bootloader. 60 + retains its configuration from the bios/bootloader. 61 61 $ref: /schemas/types.yaml#/definitions/uint32 62 62 enum: [0, 1] 63 63
-33
Documentation/devicetree/bindings/i2c/i2c-efm32.txt
··· 1 - * Energymicro efm32 i2c controller 2 - 3 - Required properties : 4 - 5 - - reg : Offset and length of the register set for the device 6 - - compatible : should be "energymicro,efm32-i2c" 7 - - interrupts : the interrupt number 8 - - clocks : reference to the module clock 9 - 10 - Recommended properties : 11 - 12 - - clock-frequency : maximal I2C bus clock frequency in Hz. 13 - - energymicro,location : Decides the location of the USART I/O pins. 14 - Allowed range : [0 .. 6] 15 - 16 - Example: 17 - i2c0: i2c@4000a000 { 18 - #address-cells = <1>; 19 - #size-cells = <0>; 20 - compatible = "energymicro,efm32-i2c"; 21 - reg = <0x4000a000 0x400>; 22 - interrupts = <9>; 23 - clocks = <&cmu clk_HFPERCLKI2C0>; 24 - clock-frequency = <100000>; 25 - energymicro,location = <3>; 26 - 27 - eeprom@50 { 28 - compatible = "microchip,24c02"; 29 - reg = <0x50>; 30 - pagesize = <16>; 31 - }; 32 - }; 33 -
Documentation/devicetree/bindings/i2c/ibm,p8-occ-hwmon.txt Documentation/devicetree/bindings/hwmon/ibm,p8-occ-hwmon.txt
+2
Documentation/devicetree/bindings/iio/dac/adi,ad5766.yaml
··· 22 22 - adi,ad5767 23 23 24 24 output-range-microvolts: 25 + $ref: /schemas/types.yaml#/definitions/int32-array 26 + maxItems: 2 25 27 description: Select converter output range. 26 28 27 29 reg:
+1 -1
Documentation/devicetree/bindings/input/touchscreen/ektf2127.txt
··· 6 6 - interrupts : interrupt specification for the ektf2127 interrupt 7 7 - power-gpios : GPIO specification for the pin connected to the 8 8 ektf2127's wake input. This needs to be driven high 9 - to take ektf2127 out of it's low power state 9 + to take ektf2127 out of its low power state 10 10 11 11 For additional optional properties see: touchscreen.txt 12 12
-61
Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt
··· 1 - RDA Micro RDA8810PL Interrupt Controller 2 - 3 - The interrupt controller in RDA8810PL SoC is a custom interrupt controller 4 - which supports up to 32 interrupts. 5 - 6 - Required properties: 7 - 8 - - compatible: Should be "rda,8810pl-intc". 9 - - reg: Specifies base physical address of the registers set. 10 - - interrupt-controller: Identifies the node as an interrupt controller. 11 - - #interrupt-cells: Specifies the number of cells needed to encode an 12 - interrupt source. The value shall be 2. 13 - 14 - The interrupt sources are as follows: 15 - 16 - ID Name 17 - ------------ 18 - 0: PULSE_DUMMY 19 - 1: I2C 20 - 2: NAND_NFSC 21 - 3: SDMMC1 22 - 4: SDMMC2 23 - 5: SDMMC3 24 - 6: SPI1 25 - 7: SPI2 26 - 8: SPI3 27 - 9: UART1 28 - 10: UART2 29 - 11: UART3 30 - 12: GPIO1 31 - 13: GPIO2 32 - 14: GPIO3 33 - 15: KEYPAD 34 - 16: TIMER 35 - 17: TIMEROS 36 - 18: COMREG0 37 - 19: COMREG1 38 - 20: USB 39 - 21: DMC 40 - 22: DMA 41 - 23: CAMERA 42 - 24: GOUDA 43 - 25: GPU 44 - 26: VPU_JPG 45 - 27: VPU_HOST 46 - 28: VOC 47 - 29: AUIFC0 48 - 30: AUIFC1 49 - 31: L2CC 50 - 51 - Example: 52 - apb@20800000 { 53 - compatible = "simple-bus"; 54 - ... 55 - intc: interrupt-controller@0 { 56 - compatible = "rda,8810pl-intc"; 57 - reg = <0x0 0x1000>; 58 - interrupt-controller; 59 - #interrupt-cells = <2>; 60 - }; 61 - };
+43
Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/interrupt-controller/rda,8810pl-intc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: RDA Micro RDA8810PL interrupt controller 8 + 9 + maintainers: 10 + - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 11 + 12 + allOf: 13 + - $ref: /schemas/interrupt-controller.yaml# 14 + 15 + properties: 16 + compatible: 17 + const: rda,8810pl-intc 18 + 19 + reg: 20 + maxItems: 1 21 + 22 + interrupt-controller: true 23 + 24 + '#interrupt-cells': 25 + const: 2 26 + 27 + required: 28 + - compatible 29 + - reg 30 + - interrupt-controller 31 + - '#interrupt-cells' 32 + 33 + additionalProperties: false 34 + 35 + examples: 36 + - | 37 + intc: interrupt-controller@0 { 38 + compatible = "rda,8810pl-intc"; 39 + reg = <0x0 0x1000>; 40 + interrupt-controller; 41 + #interrupt-cells = <2>; 42 + }; 43 + ...
+193
Documentation/devicetree/bindings/leds/issi,is31fl319x.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/leds/issi,is31fl319x.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: ISSI LED controllers bindings for IS31FL319{0,1,3,6,9} 8 + 9 + maintainers: 10 + - Vincent Knecht <vincent.knecht@mailoo.org> 11 + 12 + description: | 13 + The IS31FL319X are LED controllers with I2C interface. 14 + Previously known as Si-En SN319{0,1,3,6,9}. 15 + 16 + For more product information please see the links below: 17 + https://lumissil.com/assets/pdf/core/IS31FL3190_DS.pdf 18 + https://lumissil.com/assets/pdf/core/IS31FL3191_DS.pdf 19 + https://lumissil.com/assets/pdf/core/IS31FL3193_DS.pdf 20 + https://lumissil.com/assets/pdf/core/IS31FL3196_DS.pdf 21 + https://lumissil.com/assets/pdf/core/IS31FL3199_DS.pdf 22 + 23 + properties: 24 + compatible: 25 + enum: 26 + - issi,is31fl3190 27 + - issi,is31fl3191 28 + - issi,is31fl3193 29 + - issi,is31fl3196 30 + - issi,is31fl3199 31 + - si-en,sn3190 32 + - si-en,sn3191 33 + - si-en,sn3193 34 + - si-en,sn3196 35 + - si-en,sn3199 36 + 37 + reg: 38 + maxItems: 1 39 + 40 + shutdown-gpios: 41 + maxItems: 1 42 + description: GPIO attached to the SDB pin. 43 + 44 + audio-gain-db: 45 + $ref: /schemas/types.yaml#/definitions/uint32 46 + default: 0 47 + description: Audio gain selection for external analog modulation input. 48 + enum: [0, 3, 6, 9, 12, 15, 18, 21] 49 + 50 + "#address-cells": 51 + const: 1 52 + 53 + "#size-cells": 54 + const: 0 55 + 56 + patternProperties: 57 + "^led@[1-9]$": 58 + type: object 59 + $ref: common.yaml# 60 + 61 + properties: 62 + reg: 63 + description: Index of the LED. 64 + minimum: 1 65 + maximum: 9 66 + 67 + led-max-microamp: 68 + description: 69 + Note that a driver will take the lowest of all LED limits 70 + since the chip has a single global setting. The lowest value 71 + will be chosen due to the PWM specificity, where lower 72 + brightness is achieved by reducing the duty-cycle of pulses 73 + and not the current, which will always have its peak value 74 + equal to led-max-microamp. 75 + 76 + allOf: 77 + - if: 78 + properties: 79 + compatible: 80 + contains: 81 + enum: 82 + - issi,is31fl3190 83 + - issi,is31fl3191 84 + - issi,is31fl3193 85 + - si-en,sn3190 86 + - si-en,sn3191 87 + - si-en,sn3193 88 + then: 89 + properties: 90 + reg: 91 + enum: [0x68, 0x69, 0x6a, 0x6b] 92 + 93 + audio-gain-db: false 94 + 95 + patternProperties: 96 + "^led@[1-9]$": 97 + properties: 98 + led-max-microamp: 99 + default: 42000 100 + enum: [5000, 10000, 17500, 30000, 42000] 101 + else: 102 + properties: 103 + reg: 104 + enum: [0x64, 0x65, 0x66, 0x67] 105 + 106 + patternProperties: 107 + "^led@[1-9]$": 108 + properties: 109 + led-max-microamp: 110 + default: 20000 111 + enum: [5000, 10000, 15000, 20000, 25000, 30000, 35000, 40000] 112 + - if: 113 + properties: 114 + compatible: 115 + contains: 116 + enum: 117 + - issi,is31fl3190 118 + - issi,is31fl3191 119 + - si-en,sn3190 120 + - si-en,sn3191 121 + then: 122 + patternProperties: 123 + "^led@[1-9]$": 124 + properties: 125 + reg: 126 + maximum: 1 127 + - if: 128 + properties: 129 + compatible: 130 + contains: 131 + enum: 132 + - issi,is31fl3193 133 + - si-en,sn3193 134 + then: 135 + patternProperties: 136 + "^led@[1-9]$": 137 + properties: 138 + reg: 139 + maximum: 3 140 + - if: 141 + properties: 142 + compatible: 143 + contains: 144 + enum: 145 + - issi,is31fl3196 146 + - si-en,sn3196 147 + then: 148 + patternProperties: 149 + "^led@[1-9]$": 150 + properties: 151 + reg: 152 + maximum: 6 153 + 154 + required: 155 + - compatible 156 + - reg 157 + - "#address-cells" 158 + - "#size-cells" 159 + 160 + additionalProperties: false 161 + 162 + examples: 163 + - | 164 + #include <dt-bindings/gpio/gpio.h> 165 + #include <dt-bindings/leds/common.h> 166 + 167 + i2c0 { 168 + #address-cells = <1>; 169 + #size-cells = <0>; 170 + 171 + led-controller@65 { 172 + compatible = "issi,is31fl3196"; 173 + reg = <0x65>; 174 + #address-cells = <1>; 175 + #size-cells = <0>; 176 + 177 + shutdown-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; 178 + 179 + led@1 { 180 + reg = <1>; 181 + label = "red:aux"; 182 + led-max-microamp = <10000>; 183 + }; 184 + 185 + led@5 { 186 + reg = <5>; 187 + label = "green:power"; 188 + linux,default-trigger = "default-on"; 189 + }; 190 + }; 191 + }; 192 + ... 193 +
-77
Documentation/devicetree/bindings/leds/leds-aat1290.txt
··· 1 - * Skyworks Solutions, Inc. AAT1290 Current Regulator for Flash LEDs 2 - 3 - The device is controlled through two pins: FL_EN and EN_SET. The pins when, 4 - asserted high, enable flash strobe and movie mode (max 1/2 of flash current) 5 - respectively. In order to add a capability of selecting the strobe signal source 6 - (e.g. CPU or camera sensor) there is an additional switch required, independent 7 - of the flash chip. The switch is controlled with pin control. 8 - 9 - Required properties: 10 - 11 - - compatible : Must be "skyworks,aat1290". 12 - - flen-gpios : Must be device tree identifier of the flash device FL_EN pin. 13 - - enset-gpios : Must be device tree identifier of the flash device EN_SET pin. 14 - 15 - Optional properties: 16 - - pinctrl-names : Must contain entries: "default", "host", "isp". Entries 17 - "default" and "host" must refer to the same pin configuration 18 - node, which sets the host as a strobe signal provider. Entry 19 - "isp" must refer to the pin configuration node, which sets the 20 - ISP as a strobe signal provider. 21 - 22 - A discrete LED element connected to the device must be represented by a child 23 - node - see Documentation/devicetree/bindings/leds/common.txt. 24 - 25 - Required properties of the LED child node: 26 - - led-max-microamp : see Documentation/devicetree/bindings/leds/common.txt 27 - - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt 28 - Maximum flash LED supply current can be calculated using 29 - following formula: I = 1A * 162kohm / Rset. 30 - - flash-max-timeout-us : see Documentation/devicetree/bindings/leds/common.txt 31 - Maximum flash timeout can be calculated using following 32 - formula: T = 8.82 * 10^9 * Ct. 33 - 34 - Optional properties of the LED child node: 35 - - function : see Documentation/devicetree/bindings/leds/common.txt 36 - - color : see Documentation/devicetree/bindings/leds/common.txt 37 - - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated) 38 - 39 - Example (by Ct = 220nF, Rset = 160kohm and exynos4412-trats2 board with 40 - a switch that allows for routing strobe signal either from the host or from 41 - the camera sensor): 42 - 43 - #include "exynos4412.dtsi" 44 - #include <dt-bindings/leds/common.h> 45 - 46 - led-controller { 47 - compatible = "skyworks,aat1290"; 48 - flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>; 49 - enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>; 50 - 51 - pinctrl-names = "default", "host", "isp"; 52 - pinctrl-0 = <&camera_flash_host>; 53 - pinctrl-1 = <&camera_flash_host>; 54 - pinctrl-2 = <&camera_flash_isp>; 55 - 56 - camera_flash: led { 57 - function = LED_FUNCTION_FLASH; 58 - color = <LED_COLOR_ID_WHITE>; 59 - led-max-microamp = <520833>; 60 - flash-max-microamp = <1012500>; 61 - flash-max-timeout-us = <1940000>; 62 - }; 63 - }; 64 - 65 - &pinctrl_0 { 66 - camera_flash_host: camera-flash-host { 67 - samsung,pins = "gpj1-0"; 68 - samsung,pin-function = <1>; 69 - samsung,pin-val = <0>; 70 - }; 71 - 72 - camera_flash_isp: camera-flash-isp { 73 - samsung,pins = "gpj1-0"; 74 - samsung,pin-function = <1>; 75 - samsung,pin-val = <1>; 76 - }; 77 - };
-61
Documentation/devicetree/bindings/leds/leds-is31fl319x.txt
··· 1 - LEDs connected to is31fl319x LED controller chip 2 - 3 - Required properties: 4 - - compatible : Should be any of 5 - "issi,is31fl3190" 6 - "issi,is31fl3191" 7 - "issi,is31fl3193" 8 - "issi,is31fl3196" 9 - "issi,is31fl3199" 10 - "si-en,sn3199". 11 - - #address-cells: Must be 1. 12 - - #size-cells: Must be 0. 13 - - reg: 0x64, 0x65, 0x66, or 0x67. 14 - 15 - Optional properties: 16 - - audio-gain-db : audio gain selection for external analog modulation input. 17 - Valid values: 0 - 21, step by 3 (rounded down) 18 - Default: 0 19 - - shutdown-gpios : Specifier of the GPIO connected to SDB pin of the chip. 20 - 21 - Each led is represented as a sub-node of the issi,is31fl319x device. 22 - There can be less leds subnodes than the chip can support but not more. 23 - 24 - Required led sub-node properties: 25 - - reg : number of LED line 26 - Valid values: 1 - number of leds supported by the chip variant. 27 - 28 - Optional led sub-node properties: 29 - - label : see Documentation/devicetree/bindings/leds/common.txt. 30 - - linux,default-trigger : 31 - see Documentation/devicetree/bindings/leds/common.txt. 32 - - led-max-microamp : (optional) 33 - Valid values: 5000 - 40000, step by 5000 (rounded down) 34 - Default: 20000 (20 mA) 35 - Note: a driver will take the lowest of all led limits since the 36 - chip has a single global setting. The lowest value will be chosen 37 - due to the PWM specificity, where lower brightness is achieved 38 - by reducing the dury-cycle of pulses and not the current, which 39 - will always have its peak value equal to led-max-microamp. 40 - 41 - Examples: 42 - 43 - fancy_leds: leds@65 { 44 - compatible = "issi,is31fl3196"; 45 - #address-cells = <1>; 46 - #size-cells = <0>; 47 - reg = <0x65>; 48 - shutdown-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; 49 - 50 - red_aux: led@1 { 51 - label = "red:aux"; 52 - reg = <1>; 53 - led-max-microamp = <10000>; 54 - }; 55 - 56 - green_power: led@5 { 57 - label = "green:power"; 58 - reg = <5>; 59 - linux,default-trigger = "default-on"; 60 - }; 61 - };
+52 -46
Documentation/devicetree/bindings/leds/leds-lp50xx.yaml
··· 78 78 79 79 examples: 80 80 - | 81 - #include <dt-bindings/gpio/gpio.h> 82 - #include <dt-bindings/leds/common.h> 81 + #include <dt-bindings/gpio/gpio.h> 82 + #include <dt-bindings/leds/common.h> 83 83 84 - i2c { 85 - #address-cells = <1>; 86 - #size-cells = <0>; 84 + i2c { 85 + #address-cells = <1>; 86 + #size-cells = <0>; 87 87 88 - led-controller@14 { 89 - compatible = "ti,lp5009"; 90 - reg = <0x14>; 91 - #address-cells = <1>; 92 - #size-cells = <0>; 93 - enable-gpios = <&gpio1 16>; 94 - 95 - multi-led@1 { 96 - #address-cells = <1>; 97 - #size-cells = <0>; 98 - reg = <0x1>; 99 - color = <LED_COLOR_ID_RGB>; 100 - function = LED_FUNCTION_CHARGING; 101 - 102 - led-0 { 103 - color = <LED_COLOR_ID_RED>; 104 - }; 105 - 106 - led-1 { 107 - color = <LED_COLOR_ID_GREEN>; 108 - }; 109 - 110 - led-2 { 111 - color = <LED_COLOR_ID_BLUE>; 112 - }; 113 - }; 114 - 115 - multi-led@2 { 88 + led-controller@14 { 89 + compatible = "ti,lp5009"; 90 + reg = <0x14>; 116 91 #address-cells = <1>; 117 - #size-cells = <2>; 118 - reg = <0x2 0x3 0x5>; 119 - color = <LED_COLOR_ID_RGB>; 120 - function = LED_FUNCTION_STANDBY; 92 + #size-cells = <0>; 93 + enable-gpios = <&gpio1 16>; 121 94 122 - led-6 { 123 - color = <LED_COLOR_ID_RED>; 95 + multi-led@1 { 96 + #address-cells = <1>; 97 + #size-cells = <0>; 98 + reg = <0x1>; 99 + color = <LED_COLOR_ID_RGB>; 100 + function = LED_FUNCTION_CHARGING; 101 + 102 + led@0 { 103 + reg = <0x0>; 104 + color = <LED_COLOR_ID_RED>; 105 + }; 106 + 107 + led@1 { 108 + reg = <0x1>; 109 + color = <LED_COLOR_ID_GREEN>; 110 + }; 111 + 112 + led@2 { 113 + reg = <0x2>; 114 + color = <LED_COLOR_ID_BLUE>; 115 + }; 124 116 }; 125 117 126 - led-7 { 127 - color = <LED_COLOR_ID_GREEN>; 128 - }; 118 + multi-led@3 { 119 + #address-cells = <1>; 120 + #size-cells = <0>; 121 + reg = <0x3>, <0x4>, <0x5>; 122 + color = <LED_COLOR_ID_RGB>; 123 + function = LED_FUNCTION_STANDBY; 129 124 130 - led-8 { 131 - color = <LED_COLOR_ID_BLUE>; 125 + led@3 { 126 + reg = <0x3>; 127 + color = <LED_COLOR_ID_RED>; 128 + }; 129 + 130 + led@4 { 131 + reg = <0x4>; 132 + color = <LED_COLOR_ID_GREEN>; 133 + }; 134 + 135 + led@5 { 136 + reg = <0x5>; 137 + color = <LED_COLOR_ID_BLUE>; 138 + }; 132 139 }; 133 - }; 134 - }; 140 + }; 135 141 }; 136 142 137 143 ...
+96 -96
Documentation/devicetree/bindings/leds/leds-lp55xx.yaml
··· 108 108 109 109 examples: 110 110 - | 111 - #include <dt-bindings/leds/common.h> 111 + #include <dt-bindings/leds/common.h> 112 112 113 - i2c { 114 - #address-cells = <1>; 115 - #size-cells = <0>; 113 + i2c { 114 + #address-cells = <1>; 115 + #size-cells = <0>; 116 116 117 - led-controller@32 { 118 - #address-cells = <1>; 119 - #size-cells = <0>; 120 - compatible = "ti,lp8501"; 121 - reg = <0x32>; 122 - clock-mode = /bits/ 8 <2>; 123 - pwr-sel = /bits/ 8 <3>; /* D1~9 connected to VOUT */ 117 + led-controller@32 { 118 + #address-cells = <1>; 119 + #size-cells = <0>; 120 + compatible = "ti,lp8501"; 121 + reg = <0x32>; 122 + clock-mode = /bits/ 8 <2>; 123 + pwr-sel = /bits/ 8 <3>; /* D1~9 connected to VOUT */ 124 124 125 - led@0 { 126 - reg = <0>; 127 - chan-name = "d1"; 128 - led-cur = /bits/ 8 <0x14>; 129 - max-cur = /bits/ 8 <0x20>; 130 - }; 125 + led@0 { 126 + reg = <0>; 127 + chan-name = "d1"; 128 + led-cur = /bits/ 8 <0x14>; 129 + max-cur = /bits/ 8 <0x20>; 130 + }; 131 131 132 - led@1 { 133 - reg = <1>; 134 - chan-name = "d2"; 135 - led-cur = /bits/ 8 <0x14>; 136 - max-cur = /bits/ 8 <0x20>; 137 - }; 132 + led@1 { 133 + reg = <1>; 134 + chan-name = "d2"; 135 + led-cur = /bits/ 8 <0x14>; 136 + max-cur = /bits/ 8 <0x20>; 137 + }; 138 138 139 - led@2 { 140 - reg = <2>; 141 - chan-name = "d3"; 142 - led-cur = /bits/ 8 <0x14>; 143 - max-cur = /bits/ 8 <0x20>; 144 - }; 139 + led@2 { 140 + reg = <2>; 141 + chan-name = "d3"; 142 + led-cur = /bits/ 8 <0x14>; 143 + max-cur = /bits/ 8 <0x20>; 144 + }; 145 145 146 - led@3 { 147 - reg = <3>; 148 - chan-name = "d4"; 149 - led-cur = /bits/ 8 <0x14>; 150 - max-cur = /bits/ 8 <0x20>; 151 - }; 146 + led@3 { 147 + reg = <3>; 148 + chan-name = "d4"; 149 + led-cur = /bits/ 8 <0x14>; 150 + max-cur = /bits/ 8 <0x20>; 151 + }; 152 152 153 - led@4 { 154 - reg = <4>; 155 - chan-name = "d5"; 156 - led-cur = /bits/ 8 <0x14>; 157 - max-cur = /bits/ 8 <0x20>; 158 - }; 153 + led@4 { 154 + reg = <4>; 155 + chan-name = "d5"; 156 + led-cur = /bits/ 8 <0x14>; 157 + max-cur = /bits/ 8 <0x20>; 158 + }; 159 159 160 - led@5 { 161 - reg = <5>; 162 - chan-name = "d6"; 163 - led-cur = /bits/ 8 <0x14>; 164 - max-cur = /bits/ 8 <0x20>; 165 - }; 160 + led@5 { 161 + reg = <5>; 162 + chan-name = "d6"; 163 + led-cur = /bits/ 8 <0x14>; 164 + max-cur = /bits/ 8 <0x20>; 165 + }; 166 166 167 - led@6 { 168 - reg = <6>; 169 - chan-name = "d7"; 170 - led-cur = /bits/ 8 <0x14>; 171 - max-cur = /bits/ 8 <0x20>; 172 - }; 167 + led@6 { 168 + reg = <6>; 169 + chan-name = "d7"; 170 + led-cur = /bits/ 8 <0x14>; 171 + max-cur = /bits/ 8 <0x20>; 172 + }; 173 173 174 - led@7 { 175 - reg = <7>; 176 - chan-name = "d8"; 177 - led-cur = /bits/ 8 <0x14>; 178 - max-cur = /bits/ 8 <0x20>; 179 - }; 174 + led@7 { 175 + reg = <7>; 176 + chan-name = "d8"; 177 + led-cur = /bits/ 8 <0x14>; 178 + max-cur = /bits/ 8 <0x20>; 179 + }; 180 180 181 - led@8 { 182 - reg = <8>; 183 - chan-name = "d9"; 184 - led-cur = /bits/ 8 <0x14>; 185 - max-cur = /bits/ 8 <0x20>; 186 - }; 181 + led@8 { 182 + reg = <8>; 183 + chan-name = "d9"; 184 + led-cur = /bits/ 8 <0x14>; 185 + max-cur = /bits/ 8 <0x20>; 186 + }; 187 187 }; 188 188 189 - led-controller@33 { 190 - #address-cells = <1>; 191 - #size-cells = <0>; 192 - compatible = "national,lp5523"; 193 - reg = <0x33>; 194 - clock-mode = /bits/ 8 <0>; 189 + led-controller@33 { 190 + #address-cells = <1>; 191 + #size-cells = <0>; 192 + compatible = "national,lp5523"; 193 + reg = <0x33>; 194 + clock-mode = /bits/ 8 <0>; 195 195 196 - multi-led@2 { 197 - #address-cells = <1>; 198 - #size-cells = <0>; 199 - reg = <0x2>; 200 - color = <LED_COLOR_ID_RGB>; 201 - function = LED_FUNCTION_STANDBY; 202 - linux,default-trigger = "heartbeat"; 196 + multi-led@2 { 197 + #address-cells = <1>; 198 + #size-cells = <0>; 199 + reg = <0x2>; 200 + color = <LED_COLOR_ID_RGB>; 201 + function = LED_FUNCTION_STANDBY; 202 + linux,default-trigger = "heartbeat"; 203 203 204 - led@0 { 205 - led-cur = /bits/ 8 <50>; 206 - max-cur = /bits/ 8 <100>; 207 - reg = <0x0>; 208 - color = <LED_COLOR_ID_GREEN>; 209 - }; 204 + led@0 { 205 + led-cur = /bits/ 8 <50>; 206 + max-cur = /bits/ 8 <100>; 207 + reg = <0x0>; 208 + color = <LED_COLOR_ID_GREEN>; 209 + }; 210 210 211 - led@1 { 212 - led-cur = /bits/ 8 <50>; 213 - max-cur = /bits/ 8 <100>; 214 - reg = <0x1>; 215 - color = <LED_COLOR_ID_BLUE>; 216 - }; 211 + led@1 { 212 + led-cur = /bits/ 8 <50>; 213 + max-cur = /bits/ 8 <100>; 214 + reg = <0x1>; 215 + color = <LED_COLOR_ID_BLUE>; 216 + }; 217 217 218 - led@6 { 219 - led-cur = /bits/ 8 <50>; 220 - max-cur = /bits/ 8 <100>; 221 - reg = <0x6>; 222 - color = <LED_COLOR_ID_RED>; 223 - }; 218 + led@6 { 219 + led-cur = /bits/ 8 <50>; 220 + max-cur = /bits/ 8 <100>; 221 + reg = <0x6>; 222 + color = <LED_COLOR_ID_RED>; 223 + }; 224 224 }; 225 225 }; 226 226 };
+15 -15
Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml
··· 55 55 compatible = "pwm-leds-multicolor"; 56 56 57 57 multi-led { 58 - color = <LED_COLOR_ID_RGB>; 59 - function = LED_FUNCTION_INDICATOR; 60 - max-brightness = <65535>; 58 + color = <LED_COLOR_ID_RGB>; 59 + function = LED_FUNCTION_INDICATOR; 60 + max-brightness = <65535>; 61 61 62 - led-red { 63 - pwms = <&pwm1 0 1000000>; 64 - color = <LED_COLOR_ID_RED>; 65 - }; 62 + led-red { 63 + pwms = <&pwm1 0 1000000>; 64 + color = <LED_COLOR_ID_RED>; 65 + }; 66 66 67 - led-green { 68 - pwms = <&pwm2 0 1000000>; 69 - color = <LED_COLOR_ID_GREEN>; 70 - }; 67 + led-green { 68 + pwms = <&pwm2 0 1000000>; 69 + color = <LED_COLOR_ID_GREEN>; 70 + }; 71 71 72 - led-blue { 73 - pwms = <&pwm3 0 1000000>; 74 - color = <LED_COLOR_ID_BLUE>; 75 - }; 72 + led-blue { 73 + pwms = <&pwm3 0 1000000>; 74 + color = <LED_COLOR_ID_BLUE>; 75 + }; 76 76 }; 77 77 }; 78 78
+1
Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
··· 17 17 properties: 18 18 compatible: 19 19 enum: 20 + - qcom,pm660l-lpg 20 21 - qcom,pm8150b-lpg 21 22 - qcom,pm8150l-lpg 22 23 - qcom,pm8350c-pwm
+95
Documentation/devicetree/bindings/leds/skyworks,aat1290.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/leds/skyworks,aat1290.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Skyworks Solutions, Inc. AAT1290 Current Regulator for Flash LEDs 8 + 9 + maintainers: 10 + - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 + - Krzysztof Kozlowski <krzk@kernel.org> 12 + 13 + description: | 14 + The device is controlled through two pins:: FL_EN and EN_SET. The pins when, 15 + asserted high, enable flash strobe and movie mode (max 1/2 of flash current) 16 + respectively. In order to add a capability of selecting the strobe signal 17 + source (e.g. CPU or camera sensor) there is an additional switch required, 18 + independent of the flash chip. The switch is controlled with pin control. 19 + 20 + properties: 21 + compatible: 22 + const: skyworks,aat1290 23 + 24 + enset-gpios: 25 + maxItems: 1 26 + description: EN_SET pin 27 + 28 + flen-gpios: 29 + maxItems: 1 30 + description: FL_EN pin 31 + 32 + led: 33 + $ref: common.yaml# 34 + unevaluatedProperties: false 35 + 36 + properties: 37 + led-max-microamp: true 38 + 39 + flash-max-microamp: 40 + description: | 41 + Maximum flash LED supply current can be calculated using following 42 + formula:: I = 1A * 162 kOhm / Rset. 43 + 44 + flash-max-timeout-us: 45 + description: | 46 + Maximum flash timeout can be calculated using following formula:: 47 + T = 8.82 * 10^9 * Ct. 48 + 49 + required: 50 + - flash-max-microamp 51 + - flash-max-timeout-us 52 + - led-max-microamp 53 + 54 + pinctrl-names: 55 + items: 56 + - const: default 57 + - const: host 58 + - const: isp 59 + 60 + pinctrl-0: true 61 + pinctrl-1: true 62 + pinctrl-2: true 63 + 64 + required: 65 + - compatible 66 + - enset-gpios 67 + - flen-gpios 68 + - led 69 + 70 + additionalProperties: false 71 + 72 + examples: 73 + - | 74 + #include <dt-bindings/gpio/gpio.h> 75 + #include <dt-bindings/leds/common.h> 76 + 77 + // Ct = 220 nF, Rset = 160 kOhm 78 + led-controller { 79 + compatible = "skyworks,aat1290"; 80 + flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>; 81 + enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>; 82 + 83 + pinctrl-names = "default", "host", "isp"; 84 + pinctrl-0 = <&camera_flash_host>; 85 + pinctrl-1 = <&camera_flash_host>; 86 + pinctrl-2 = <&camera_flash_isp>; 87 + 88 + led { 89 + function = LED_FUNCTION_FLASH; 90 + color = <LED_COLOR_ID_WHITE>; 91 + led-max-microamp = <520833>; 92 + flash-max-microamp = <1012500>; 93 + flash-max-timeout-us = <1940000>; 94 + }; 95 + };
-20
Documentation/devicetree/bindings/media/gpio-ir-receiver.txt
··· 1 - Device-Tree bindings for GPIO IR receiver 2 - 3 - Required properties: 4 - - compatible: should be "gpio-ir-receiver". 5 - - gpios: specifies GPIO used for IR signal reception. 6 - 7 - Optional properties: 8 - - linux,rc-map-name: see rc.txt file in the same 9 - directory. 10 - - linux,autosuspend-period: autosuspend delay time, 11 - the unit is milisecond. 12 - 13 - Example node: 14 - 15 - ir: ir-receiver { 16 - compatible = "gpio-ir-receiver"; 17 - gpios = <&gpio0 19 1>; 18 - linux,rc-map-name = "rc-rc6-mce"; 19 - linux,autosuspend-period = <125>; 20 - };
+40
Documentation/devicetree/bindings/media/gpio-ir-receiver.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/media/gpio-ir-receiver.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: GPIO Based IR receiver 8 + 9 + maintainers: 10 + - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> 11 + 12 + allOf: 13 + - $ref: rc.yaml# 14 + 15 + properties: 16 + compatible: 17 + const: gpio-ir-receiver 18 + 19 + gpios: 20 + maxItems: 1 21 + 22 + linux,autosuspend-period: 23 + description: autosuspend delay time in milliseconds 24 + $ref: /schemas/types.yaml#/definitions/uint32 25 + 26 + required: 27 + - compatible 28 + - gpios 29 + 30 + unevaluatedProperties: false 31 + 32 + examples: 33 + - | 34 + ir-receiver { 35 + compatible = "gpio-ir-receiver"; 36 + gpios = <&gpio0 19 1>; 37 + linux,rc-map-name = "rc-rc6-mce"; 38 + linux,autosuspend-period = <125>; 39 + }; 40 + ...
+1 -1
Documentation/devicetree/bindings/media/rc.yaml
··· 12 12 13 13 properties: 14 14 $nodename: 15 - pattern: "^ir(@[a-f0-9]+)?$" 15 + pattern: "^ir(-receiver)?(@[a-f0-9]+)?$" 16 16 17 17 linux,rc-map-name: 18 18 description:
+1 -1
Documentation/devicetree/bindings/mfd/rohm,bd71815-pmic.yaml
··· 74 74 rohm,enable-hidden-gpo: 75 75 description: | 76 76 The BD71815 has undocumented GPO at pin E5. Pin is marked as GND at the 77 - data-sheet as it's location in the middle of GND pins makes it hard to 77 + data-sheet as its location in the middle of GND pins makes it hard to 78 78 use on PCB. If your board has managed to use this pin you can enable the 79 79 second GPO by defining this property. Dont enable this if you are unsure 80 80 about how the E5 pin is connected on your board.
+1 -1
Documentation/devicetree/bindings/mips/lantiq/rcu.txt
··· 2 2 =========================== 3 3 4 4 This binding describes the RCU (reset controller unit) multifunction device, 5 - where each sub-device has it's own set of registers. 5 + where each sub-device has its own set of registers. 6 6 7 7 The RCU register range is used for multiple purposes. Mostly one device 8 8 uses one or multiple register exclusively, but for some registers some
+5 -6
Documentation/devicetree/bindings/misc/eeprom-93xx46.yaml Documentation/devicetree/bindings/eeprom/microchip,93lc46b.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 2 %YAML 1.2 3 3 --- 4 - $id: http://devicetree.org/schemas/misc/eeprom-93xx46.yaml# 4 + $id: http://devicetree.org/schemas/eeprom/microchip,93lc46b.yaml# 5 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Microchip 93xx46 SPI compatible EEPROM family dt bindings ··· 28 28 description: chip select of EEPROM 29 29 maxItems: 1 30 30 31 - spi-max-frequency: true 32 - spi-cs-high: true 33 - 34 31 read-only: 35 32 description: 36 33 parameter-less property which disables writes to the EEPROM ··· 39 42 of EEPROM (e.g. for SPI bus multiplexing) 40 43 maxItems: 1 41 44 42 - 43 45 required: 44 46 - compatible 45 47 - reg 46 48 - data-size 47 49 - spi-max-frequency 48 50 49 - additionalProperties: false 51 + allOf: 52 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 53 + 54 + unevaluatedProperties: false 50 55 51 56 examples: 52 57 - |
+4 -3
Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml
··· 22 22 reg: 23 23 maxItems: 1 24 24 25 - spi-max-frequency: true 26 - 27 25 required: 28 26 - compatible 29 27 - reg 30 28 31 - additionalProperties: false 29 + allOf: 30 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 31 + 32 + unevaluatedProperties: false 32 33 33 34 examples: 34 35 - |
-17
Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.txt
··· 1 - ARM AFS - ARM Firmware Suite Partitions 2 - ======================================= 3 - 4 - The ARM Firmware Suite is a flash partitioning system found on the 5 - ARM reference designs: Integrator AP, Integrator CP, Versatile AB, 6 - Versatile PB, the RealView family, Versatile Express and Juno. 7 - 8 - Required properties: 9 - - compatible : (required) must be "arm,arm-firmware-suite" 10 - 11 - Example: 12 - 13 - flash@0 { 14 - partitions { 15 - compatible = "arm,arm-firmware-suite"; 16 - }; 17 - };
+28
Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/mtd/partitions/arm,arm-firmware-suite.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: ARM Firmware Suite (AFS) Partitions 8 + 9 + maintainers: 10 + - Linus Walleij <linus.walleij@linaro.org> 11 + 12 + description: | 13 + The ARM Firmware Suite is a flash partitioning system found on the 14 + ARM reference designs: Integrator AP, Integrator CP, Versatile AB, 15 + Versatile PB, the RealView family, Versatile Express and Juno. 16 + 17 + properties: 18 + compatible: 19 + const: arm,arm-firmware-suite 20 + 21 + additionalProperties: false 22 + 23 + examples: 24 + - | 25 + partitions { 26 + compatible = "arm,arm-firmware-suite"; 27 + }; 28 + ...
+1 -1
Documentation/devicetree/bindings/net/altera_tse.txt
··· 15 15 "rx_desc": MSGDMA Rx dispatcher descriptor space region 16 16 "rx_resp": MSGDMA Rx dispatcher response space region 17 17 "s1": SGDMA descriptor memory 18 - - interrupts: Should contain the TSE interrupts and it's mode. 18 + - interrupts: Should contain the TSE interrupts and its mode. 19 19 - interrupt-names: Should contain the interrupt names 20 20 "rx_irq": xDMA Rx dispatcher interrupt 21 21 "tx_irq": xDMA Tx dispatcher interrupt
+1 -1
Documentation/devicetree/bindings/net/cpsw.txt
··· 20 20 - active_slave : Specifies the slave to use for time stamping, 21 21 ethtool and SIOCGMIIPHY 22 22 - cpsw-phy-sel : Specifies the phandle to the CPSW phy mode selection 23 - device. See also cpsw-phy-sel.txt for it's binding. 23 + device. See also cpsw-phy-sel.txt for its binding. 24 24 Note that in legacy cases cpsw-phy-sel may be 25 25 a child device instead of a phandle 26 26 (DEPRECATED, use phys property instead).
-52
Documentation/devicetree/bindings/net/emac_rockchip.txt
··· 1 - * ARC EMAC 10/100 Ethernet platform driver for Rockchip RK3036/RK3066/RK3188 SoCs 2 - 3 - Required properties: 4 - - compatible: should be "rockchip,<name>-emac" 5 - "rockchip,rk3036-emac": found on RK3036 SoCs 6 - "rockchip,rk3066-emac": found on RK3066 SoCs 7 - "rockchip,rk3188-emac": found on RK3188 SoCs 8 - - reg: Address and length of the register set for the device 9 - - interrupts: Should contain the EMAC interrupts 10 - - rockchip,grf: phandle to the syscon grf used to control speed and mode 11 - for emac. 12 - - phy: see ethernet.txt file in the same directory. 13 - - phy-mode: see ethernet.txt file in the same directory. 14 - 15 - Optional properties: 16 - - phy-supply: phandle to a regulator if the PHY needs one 17 - 18 - Clock handling: 19 - - clocks: Must contain an entry for each entry in clock-names. 20 - - clock-names: Shall be "hclk" for the host clock needed to calculate and set 21 - polling period of EMAC and "macref" for the reference clock needed to transfer 22 - data to and from the phy. 23 - 24 - Child nodes of the driver are the individual PHY devices connected to the 25 - MDIO bus. They must have a "reg" property given the PHY address on the MDIO bus. 26 - 27 - Examples: 28 - 29 - ethernet@10204000 { 30 - compatible = "rockchip,rk3188-emac"; 31 - reg = <0xc0fc2000 0x3c>; 32 - interrupts = <6>; 33 - mac-address = [ 00 11 22 33 44 55 ]; 34 - 35 - clocks = <&cru HCLK_EMAC>, <&cru SCLK_MAC>; 36 - clock-names = "hclk", "macref"; 37 - 38 - pinctrl-names = "default"; 39 - pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>; 40 - 41 - rockchip,grf = <&grf>; 42 - 43 - phy = <&phy0>; 44 - phy-mode = "rmii"; 45 - phy-supply = <&vcc_rmii>; 46 - 47 - #address-cells = <1>; 48 - #size-cells = <0>; 49 - phy0: ethernet-phy@0 { 50 - reg = <1>; 51 - }; 52 - };
-1
Documentation/devicetree/bindings/net/nfc/nxp,nci.yaml
··· 7 7 title: NXP Semiconductors NCI NFC controller 8 8 9 9 maintainers: 10 - - Charles Gorand <charles.gorand@effinnov.com> 11 10 - Krzysztof Kozlowski <krzk@kernel.org> 12 11 13 12 properties:
+1 -1
Documentation/devicetree/bindings/net/qcom-emac.txt
··· 14 14 - mac-address : The 6-byte MAC address. If present, it is the default 15 15 MAC address. 16 16 - internal-phy : phandle to the internal PHY node 17 - - phy-handle : phandle the the external PHY node 17 + - phy-handle : phandle the external PHY node 18 18 19 19 Internal PHY node: 20 20 - compatible : Should be "qcom,fsm9900-emac-sgmii" or "qcom,qdf2432-emac-sgmii".
+115
Documentation/devicetree/bindings/net/rockchip,emac.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/net/rockchip,emac.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Rockchip RK3036/RK3066/RK3188 Ethernet Media Access Controller (EMAC) 8 + 9 + maintainers: 10 + - Heiko Stuebner <heiko@sntech.de> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - rockchip,rk3036-emac 16 + - rockchip,rk3066-emac 17 + - rockchip,rk3188-emac 18 + 19 + reg: 20 + maxItems: 1 21 + 22 + interrupts: 23 + maxItems: 1 24 + 25 + clocks: 26 + minItems: 2 27 + items: 28 + - description: host clock 29 + - description: reference clock 30 + - description: mac TX/RX clock 31 + 32 + clock-names: 33 + minItems: 2 34 + items: 35 + - const: hclk 36 + - const: macref 37 + - const: macclk 38 + 39 + rockchip,grf: 40 + $ref: /schemas/types.yaml#/definitions/phandle 41 + description: 42 + Phandle to the syscon GRF used to control speed and mode for the EMAC. 43 + 44 + phy-supply: 45 + description: 46 + Phandle to a regulator if the PHY needs one. 47 + 48 + mdio: 49 + $ref: mdio.yaml# 50 + unevaluatedProperties: false 51 + 52 + required: 53 + - compatible 54 + - reg 55 + - interrupts 56 + - clocks 57 + - clock-names 58 + - rockchip,grf 59 + - phy 60 + - phy-mode 61 + - mdio 62 + 63 + allOf: 64 + - $ref: "ethernet-controller.yaml#" 65 + - if: 66 + properties: 67 + compatible: 68 + contains: 69 + const: rockchip,rk3036-emac 70 + 71 + then: 72 + properties: 73 + clocks: 74 + minItems: 3 75 + 76 + clock-names: 77 + minItems: 3 78 + 79 + else: 80 + properties: 81 + clocks: 82 + maxItems: 2 83 + 84 + clock-names: 85 + maxItems: 2 86 + 87 + unevaluatedProperties: false 88 + 89 + examples: 90 + - | 91 + #include <dt-bindings/clock/rk3188-cru-common.h> 92 + #include <dt-bindings/interrupt-controller/arm-gic.h> 93 + 94 + ethernet@10204000 { 95 + compatible = "rockchip,rk3188-emac"; 96 + reg = <0xc0fc2000 0x3c>; 97 + interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; 98 + clocks = <&cru HCLK_EMAC>, <&cru SCLK_MAC>; 99 + clock-names = "hclk", "macref"; 100 + rockchip,grf = <&grf>; 101 + pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>; 102 + pinctrl-names = "default"; 103 + phy = <&phy0>; 104 + phy-mode = "rmii"; 105 + phy-supply = <&vcc_rmii>; 106 + 107 + mdio { 108 + #address-cells = <1>; 109 + #size-cells = <0>; 110 + 111 + phy0: ethernet-phy@0 { 112 + reg = <1>; 113 + }; 114 + }; 115 + };
+1
Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml
··· 144 144 description: If present then the reset sequence using the GPIO 145 145 specified in the "reset-gpio" property is reversed (H=reset state, 146 146 L=operation state) (optional required). 147 + type: boolean 147 148 148 149 vpcie-supply: 149 150 description: Should specify the regulator in charge of PCIe port power.
+3
Documentation/devicetree/bindings/pci/host-generic-pci.yaml
··· 106 106 maxItems: 3 107 107 108 108 dma-coherent: true 109 + iommu-map: true 110 + iommu-map-mask: true 111 + msi-parent: true 109 112 110 113 required: 111 114 - compatible
+40
Documentation/devicetree/bindings/perf/arm,ccn.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/perf/arm,ccn.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: ARM CCN (Cache Coherent Network) Performance Monitors 8 + 9 + maintainers: 10 + - Robin Murphy <robin.murphy@arm.com> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - arm,ccn-502 16 + - arm,ccn-504 17 + - arm,ccn-508 18 + - arm,ccn-512 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + interrupts: 24 + maxItems: 1 25 + 26 + required: 27 + - compatible 28 + - reg 29 + - interrupts 30 + 31 + additionalProperties: false 32 + 33 + examples: 34 + - | 35 + ccn@20000000 { 36 + compatible = "arm,ccn-504"; 37 + reg = <0x20000000 0x1000000>; 38 + interrupts = <0 181 4>; 39 + }; 40 + ...
-23
Documentation/devicetree/bindings/perf/arm-ccn.txt
··· 1 - * ARM CCN (Cache Coherent Network) 2 - 3 - Required properties: 4 - 5 - - compatible: (standard compatible string) should be one of: 6 - "arm,ccn-502" 7 - "arm,ccn-504" 8 - "arm,ccn-508" 9 - "arm,ccn-512" 10 - 11 - - reg: (standard registers property) physical address and size 12 - (16MB) of the configuration registers block 13 - 14 - - interrupts: (standard interrupt property) single interrupt 15 - generated by the control block 16 - 17 - Example: 18 - 19 - ccn@2000000000 { 20 - compatible = "arm,ccn-504"; 21 - reg = <0x20 0x00000000 0 0x1000000>; 22 - interrupts = <0 181 4>; 23 - };
+1 -1
Documentation/devicetree/bindings/phy/amlogic,meson-axg-mipi-pcie-analog.yaml
··· 16 16 - compatible: Should be the following: 17 17 "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon" 18 18 19 - Refer to the the bindings described in 19 + Refer to the bindings described in 20 20 Documentation/devicetree/bindings/mfd/syscon.yaml 21 21 22 22 properties:
+1 -1
Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml
··· 16 16 - compatible: Should be one of the following: 17 17 "aspeed,ast2400-scu", "syscon", "simple-mfd" 18 18 19 - Refer to the the bindings described in 19 + Refer to the bindings described in 20 20 Documentation/devicetree/bindings/mfd/syscon.yaml 21 21 22 22 properties:
+1 -1
Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml
··· 17 17 "aspeed,ast2500-scu", "syscon", "simple-mfd" 18 18 "aspeed,g5-scu", "syscon", "simple-mfd" 19 19 20 - Refer to the the bindings described in 20 + Refer to the bindings described in 21 21 Documentation/devicetree/bindings/mfd/syscon.yaml 22 22 23 23 properties:
+1 -1
Documentation/devicetree/bindings/pinctrl/aspeed,ast2600-pinctrl.yaml
··· 16 16 - compatible: Should be one of the following: 17 17 "aspeed,ast2600-scu", "syscon", "simple-mfd" 18 18 19 - Refer to the the bindings described in 19 + Refer to the bindings described in 20 20 Documentation/devicetree/bindings/mfd/syscon.yaml 21 21 22 22 properties:
+3 -3
Documentation/devicetree/bindings/power/amlogic,meson-ee-pwrc.yaml
··· 2 2 # Copyright 2019 BayLibre, SAS 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/amlogic,meson-ee-pwrc.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/amlogic,meson-ee-pwrc.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: Amlogic Meson Everything-Else Power Domains 9 9 ··· 17 17 - compatible: Should be the following: 18 18 "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon" 19 19 20 - Refer to the the bindings described in 20 + Refer to the bindings described in 21 21 Documentation/devicetree/bindings/mfd/syscon.yaml 22 22 23 23 properties:
+2 -2
Documentation/devicetree/bindings/power/amlogic,meson-sec-pwrc.yaml
··· 3 3 # Author: Jianxin Pan <jianxin.pan@amlogic.com> 4 4 %YAML 1.2 5 5 --- 6 - $id: "http://devicetree.org/schemas/power/amlogic,meson-sec-pwrc.yaml#" 7 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 6 + $id: http://devicetree.org/schemas/power/amlogic,meson-sec-pwrc.yaml# 7 + $schema: http://devicetree.org/meta-schemas/core.yaml# 8 8 9 9 title: Amlogic Meson Secure Power Domains 10 10
+1 -1
Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml
··· 10 10 - Hector Martin <marcan@marcan.st> 11 11 12 12 allOf: 13 - - $ref: "power-domain.yaml#" 13 + - $ref: power-domain.yaml# 14 14 15 15 description: | 16 16 Apple SoCs include PMGR blocks responsible for power management,
+2 -2
Documentation/devicetree/bindings/power/brcm,bcm63xx-power.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/brcm,bcm63xx-power.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/brcm,bcm63xx-power.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: BCM63xx power domain driver 8 8
+2 -2
Documentation/devicetree/bindings/power/renesas,apmu.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/renesas,apmu.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/renesas,apmu.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Renesas Advanced Power Management Unit 8 8
+2 -2
Documentation/devicetree/bindings/power/renesas,rcar-sysc.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/renesas,rcar-sysc.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/renesas,rcar-sysc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Renesas R-Car and RZ/G System Controller 8 8
+6 -2
Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
··· 30 30 31 31 pwrkey: 32 32 type: object 33 - $ref: "../../input/qcom,pm8941-pwrkey.yaml#" 33 + $ref: /schemas/input/qcom,pm8941-pwrkey.yaml# 34 34 35 35 resin: 36 36 type: object 37 - $ref: "../../input/qcom,pm8941-pwrkey.yaml#" 37 + $ref: /schemas/input/qcom,pm8941-pwrkey.yaml# 38 + 39 + watchdog: 40 + type: object 41 + $ref: /schemas/watchdog/qcom,pm8916-wdt.yaml 38 42 39 43 required: 40 44 - compatible
+1 -1
Documentation/devicetree/bindings/power/reset/regulator-poweroff.yaml
··· 16 16 17 17 properties: 18 18 compatible: 19 - const: "regulator-poweroff" 19 + const: regulator-poweroff 20 20 21 21 cpu-supply: 22 22 description:
+1 -1
Documentation/devicetree/bindings/power/reset/xlnx,zynqmp-power.yaml
··· 15 15 16 16 properties: 17 17 compatible: 18 - const: "xlnx,zynqmp-power" 18 + const: xlnx,zynqmp-power 19 19 20 20 interrupts: 21 21 maxItems: 1
+2 -2
Documentation/devicetree/bindings/power/supply/active-semi,act8945a-charger.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/active-semi,act8945a-charger.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/active-semi,act8945a-charger.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Active-semi ACT8945A Charger Function 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/bq2415x.yaml
··· 2 2 # Copyright (C) 2021 Sebastian Reichel 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/bq2415x.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/bq2415x.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: Binding for TI bq2415x Li-Ion Charger 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/bq24190.yaml
··· 2 2 # Copyright (C) 2021 Sebastian Reichel 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/bq24190.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/bq24190.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: Binding for TI BQ2419x Li-Ion Battery Charger 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/bq24257.yaml
··· 2 2 # Copyright (C) 2021 Sebastian Reichel 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/bq24257.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/bq24257.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: Binding for bq24250, bq24251 and bq24257 Li-Ion Charger 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/bq24735.yaml
··· 2 2 # Copyright (C) 2021 Sebastian Reichel 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/bq24735.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/bq24735.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: Binding for TI BQ24735 Li-Ion Battery Charger 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/bq2515x.yaml
··· 2 2 # Copyright (C) 2020 Texas Instruments Incorporated 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/bq2515x.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/bq2515x.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: TI bq2515x 500-mA Linear charger family 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/bq256xx.yaml
··· 2 2 # Copyright (C) 2020 Texas Instruments Incorporated 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/bq256xx.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/bq256xx.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: TI bq256xx Switch Mode Buck Charger 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/bq25890.yaml
··· 2 2 # Copyright (C) 2021 Sebastian Reichel 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/bq25890.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/bq25890.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: Binding for bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/bq25980.yaml
··· 2 2 # Copyright (C) 2020 Texas Instruments Incorporated 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/bq25980.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/bq25980.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: TI BQ25980 Flash Charger 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/bq27xxx.yaml
··· 2 2 # Copyright (C) 2020 Texas Instruments Incorporated 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/bq27xxx.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/bq27xxx.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: TI BQ27XXX fuel gauge family 9 9
+1
Documentation/devicetree/bindings/power/supply/charger-manager.yaml
··· 50 50 51 51 cm-battery-stat: 52 52 description: battery status 53 + $ref: /schemas/types.yaml#/definitions/uint32 53 54 enum: 54 55 - 0 # battery always present 55 56 - 1 # no battery
+2 -2
Documentation/devicetree/bindings/power/supply/cpcap-battery.yaml
··· 2 2 # Copyright (C) 2021 Sebastian Reichel 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/cpcap-battery.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/cpcap-battery.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: Motorola CPCAP PMIC battery 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/cpcap-charger.yaml
··· 2 2 # Copyright (C) 2021 Sebastian Reichel 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/cpcap-charger.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/cpcap-charger.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: Motorola CPCAP PMIC charger 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/dlg,da9150-charger.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/dlg,da9150-charger.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/dlg,da9150-charger.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Dialog Semiconductor DA9150 Charger Power Supply bindings 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/dlg,da9150-fuel-gauge.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/dlg,da9150-fuel-gauge.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/dlg,da9150-fuel-gauge.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Dialog Semiconductor DA9150 Fuel-Gauge Power Supply bindings 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/ingenic,battery.yaml
··· 2 2 # Copyright 2019-2020 Artur Rojek 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/ingenic,battery.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/ingenic,battery.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: Ingenic JZ47xx battery bindings 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/isp1704.yaml
··· 2 2 # Copyright (C) 2021 Sebastian Reichel 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/isp1704.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/isp1704.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: Binding for NXP ISP1704 USB Charger Detection 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/lego,ev3-battery.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/lego,ev3-battery.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/lego,ev3-battery.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: LEGO MINDSTORMS EV3 Battery 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/lltc,lt3651-charger.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/lltc,lt3651-charger.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/lltc,lt3651-charger.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Analog Devices LT3651 Charger Power Supply bindings 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/lltc,ltc294x.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/lltc,ltc294x.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/lltc,ltc294x.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Binding for LTC2941, LTC2942, LTC2943 and LTC2944 battery fuel gauges 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml
··· 2 2 # Copyright (C) 2020 Topic Embedded Products 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/ltc4162-l.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/ltc4162-l.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: Linear Technology (Analog Devices) LTC4162-L Charger 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/maxim,ds2760.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/maxim,ds2760.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/maxim,ds2760.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Maxim DS2760 DT bindings 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/maxim,max14656.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/maxim,max14656.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/maxim,max14656.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Maxim MAX14656 DT bindings 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/maxim,max17040.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/maxim,max17040.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/maxim,max17040.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Maxim 17040 fuel gauge series 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/maxim,max17042.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/maxim,max17042.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Maxim 17042 fuel gauge series 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/maxim,max8903.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/maxim,max8903.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/maxim,max8903.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Maxim Semiconductor MAX8903 Battery Charger 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/nokia,n900-battery.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/nokia,n900-battery.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/nokia,n900-battery.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Nokia N900 battery 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/olpc-battery.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/olpc-battery.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/olpc-battery.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: OLPC Battery 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/power-supply.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/power-supply.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/power-supply.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Power Supply Core Support 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/richtek,rt5033-battery.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/richtek,rt5033-battery.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-battery.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Richtek RT5033 PMIC Fuel Gauge 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/richtek,rt9455.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/richtek,rt9455.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/richtek,rt9455.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Binding for Richtek rt9455 battery charger 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/sc2731-charger.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/sc2731-charger.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Spreadtrum SC2731 PMICs battery charger binding 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/sc27xx-fg.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/sc27xx-fg.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Spreadtrum SC27XX PMICs Fuel Gauge Unit Power Supply Bindings 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/stericsson,ab8500-btemp.yaml
··· 2 2 # Copyright (C) 2021 Sebastian Reichel 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/stericsson,ab8500-btemp.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-btemp.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: AB8500 Battery Temperature Monitor 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/stericsson,ab8500-chargalg.yaml
··· 2 2 # Copyright (C) 2021 Sebastian Reichel 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/stericsson,ab8500-chargalg.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-chargalg.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: AB8500 Charging Algorithm 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/stericsson,ab8500-charger.yaml
··· 2 2 # Copyright (C) 2021 Sebastian Reichel 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/stericsson,ab8500-charger.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-charger.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: AB8500 Charger 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/stericsson,ab8500-fg.yaml
··· 2 2 # Copyright (C) 2021 Sebastian Reichel 3 3 %YAML 1.2 4 4 --- 5 - $id: "http://devicetree.org/schemas/power/supply/stericsson,ab8500-fg.yaml#" 6 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 5 + $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-fg.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 8 title: AB8500 Fuel Gauge 9 9
+2 -2
Documentation/devicetree/bindings/power/supply/summit,smb347-charger.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Battery charger driver for SMB345, SMB347 and SMB358 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/tps65090-charger.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/tps65090-charger.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/tps65090-charger.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: TPS65090 Frontend PMU with Switchmode Charger 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/tps65217-charger.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/tps65217-charger.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/tps65217-charger.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: TPS65217 Charger 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/twl4030-charger.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/twl4030-charger.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/twl4030-charger.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: TWL4030 BCI (Battery Charger Interface) 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/x-powers,axp20x-ac-power-supply.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/x-powers,axp20x-ac-power-supply.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-ac-power-supply.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: AXP20x AC power-supply 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/x-powers,axp20x-battery-power-supply.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-battery-power-supply.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: AXP20x Battery power-supply 8 8
+2 -2
Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: "http://devicetree.org/schemas/power/supply/x-powers,axp20x-usb-power-supply.yaml#" 5 - $schema: "http://devicetree.org/meta-schemas/core.yaml#" 4 + $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-usb-power-supply.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: AXP20x USB power-supply 8 8
+1 -1
Documentation/devicetree/bindings/powerpc/fsl/cpus.txt
··· 5 5 Power Architecture CPUs in Freescale SOCs are represented in device trees as 6 6 per the definition in the Devicetree Specification. 7 7 8 - In addition to the the Devicetree Specification definitions, the properties 8 + In addition to the Devicetree Specification definitions, the properties 9 9 defined below may be present on CPU nodes. 10 10 11 11 PROPERTIES
+1 -1
Documentation/devicetree/bindings/powerpc/fsl/mpc5200.txt
··· 172 172 The mpc5200 pic binding splits hardware IRQ numbers into two levels. The 173 173 split reflects the layout of the PIC hardware itself, which groups 174 174 interrupts into one of three groups; CRIT, MAIN or PERP. Also, the 175 - Bestcomm dma engine has it's own set of interrupt sources which are 175 + Bestcomm dma engine has its own set of interrupt sources which are 176 176 cascaded off of peripheral interrupt 0, which the driver interprets as a 177 177 fourth group, SDMA. 178 178
+1 -1
Documentation/devicetree/bindings/powerpc/opal/power-mgt.txt
··· 39 39 40 40 - ibm,cpu-idle-state-flags: 41 41 Array of unsigned 32-bit values containing the values of the 42 - flags associated with the the aforementioned idle-states. The 42 + flags associated with the aforementioned idle-states. The 43 43 flag bits are as follows: 44 44 0x00000001 /* Decrementer would stop */ 45 45 0x00000002 /* Needs timebase restore */
+1 -1
Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
··· 37 37 - interrupt-names: 38 38 Usage: required 39 39 Value type: <stringlist> 40 - Definition: The interrupts needed depends on the the compatible 40 + Definition: The interrupts needed depends on the compatible 41 41 string: 42 42 qcom,q6v5-pil: 43 43 qcom,ipq8074-wcss-pil:
-52
Documentation/devicetree/bindings/rtc/rtc-ds1307.txt
··· 1 - Dallas DS1307 and compatible RTC 2 - 3 - Required properties: 4 - - compatible: should be one of: 5 - "dallas,ds1307", 6 - "dallas,ds1308", 7 - "dallas,ds1337", 8 - "dallas,ds1338", 9 - "dallas,ds1339", 10 - "dallas,ds1388", 11 - "dallas,ds1340", 12 - "dallas,ds1341", 13 - "maxim,ds3231", 14 - "st,m41t0", 15 - "st,m41t00", 16 - "st,m41t11", 17 - "microchip,mcp7940x", 18 - "microchip,mcp7941x", 19 - "pericom,pt7c4338", 20 - "epson,rx8025", 21 - "isil,isl12057" 22 - "epson,rx8130" 23 - - reg: I2C bus address of the device 24 - 25 - Optional properties: 26 - - interrupts: rtc alarm interrupt. 27 - - clock-output-names: From common clock binding to override the default output 28 - clock name 29 - - wakeup-source: Enables wake up of host system on alarm 30 - - trickle-resistor-ohms : ds1339, ds1340 and ds 1388 only 31 - Selected resistor for trickle charger 32 - Possible values are 250, 2000, 4000 33 - Should be given if trickle charger should be enabled 34 - - aux-voltage-chargeable: ds1339, ds1340, ds1388 and rx8130 only 35 - Tells whether the battery/supercap of the RTC (if any) is 36 - chargeable or not. 37 - Possible values are 0 (not chargeable), 1 (chargeable) 38 - 39 - Deprecated properties: 40 - - trickle-diode-disable : ds1339, ds1340 and ds1388 only 41 - Do not use internal trickle charger diode 42 - Should be given if internal trickle charger diode should be disabled 43 - (superseded by aux-voltage-chargeable) 44 - 45 - Example: 46 - ds1339: rtc@68 { 47 - compatible = "dallas,ds1339"; 48 - reg = <0x68>; 49 - interrupt-parent = <&gpio4>; 50 - interrupts = <20 0>; 51 - trickle-resistor-ohms = <250>; 52 - };
+102
Documentation/devicetree/bindings/rtc/rtc-ds1307.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/rtc/rtc-ds1307.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Dallas DS1307 and compatible RTC 8 + 9 + maintainers: 10 + - Alexandre Belloni <alexandre.belloni@bootlin.com> 11 + 12 + properties: 13 + compatible: 14 + oneOf: 15 + - enum: 16 + - dallas,ds1307 17 + - dallas,ds1308 18 + - dallas,ds1337 19 + - dallas,ds1338 20 + - dallas,ds1339 21 + - dallas,ds1388 22 + - dallas,ds1340 23 + - dallas,ds1341 24 + - maxim,ds3231 25 + - st,m41t0 26 + - st,m41t00 27 + - st,m41t11 28 + - microchip,mcp7940x 29 + - microchip,mcp7941x 30 + - pericom,pt7c4338 31 + - epson,rx8025 32 + - isil,isl12057 33 + - epson,rx8130 34 + 35 + - items: 36 + - enum: 37 + - st,m41t00 38 + - const: dallas,ds1338 39 + 40 + reg: 41 + maxItems: 1 42 + 43 + interrupts: 44 + minItems: 1 45 + maxItems: 2 46 + 47 + interrupt-names: 48 + maxItems: 2 49 + 50 + "#clock-cells": 51 + const: 1 52 + 53 + clock-output-names: 54 + description: From common clock binding to override the default output clock name. 55 + 56 + wakeup-source: 57 + description: Enables wake up of host system on alarm. 58 + 59 + vcc-supply: true 60 + 61 + allOf: 62 + - $ref: rtc.yaml 63 + - if: 64 + properties: 65 + compatible: 66 + contains: 67 + enum: 68 + - dallas,ds1339 69 + - dallas,ds1340 70 + - dallas,ds1388 71 + then: 72 + properties: 73 + trickle-resistor-ohms: 74 + description: Selected resistor for trickle charger. Should be specified if trickle 75 + charger should be enabled. 76 + enum: [ 250, 2000, 4000 ] 77 + 78 + trickle-diode-disable: 79 + description: Do not use internal trickle charger diode. Should be given if internal 80 + trickle charger diode should be disabled (superseded by aux-voltage-chargeable) 81 + deprecated: true 82 + 83 + unevaluatedProperties: false 84 + 85 + required: 86 + - compatible 87 + - reg 88 + 89 + examples: 90 + - | 91 + i2c { 92 + #address-cells = <1>; 93 + #size-cells = <0>; 94 + 95 + rtc@68 { 96 + compatible = "dallas,ds1337"; 97 + reg = <0x68>; 98 + interrupt-parent = <&gpio4>; 99 + interrupts = <20 0>; 100 + trickle-resistor-ohms = <250>; 101 + }; 102 + };
+2
Documentation/devicetree/bindings/rtc/trivial-rtc.yaml
··· 30 30 - dallas,ds1672 31 31 # Extremely Accurate I²C RTC with Integrated Crystal and SRAM 32 32 - dallas,ds3232 33 + # EM Microelectronic EM3027 RTC 34 + - emmicro,em3027 33 35 # I2C-BUS INTERFACE REAL TIME CLOCK MODULE 34 36 - epson,rx8010 35 37 # I2C-BUS INTERFACE REAL TIME CLOCK MODULE
-20
Documentation/devicetree/bindings/serial/efm32-uart.txt
··· 1 - * Energymicro efm32 UART 2 - 3 - Required properties: 4 - - compatible : Should be "energymicro,efm32-uart" 5 - - reg : Address and length of the register set 6 - - interrupts : Should contain uart interrupt 7 - 8 - Optional properties: 9 - - energymicro,location : Decides the location of the USART I/O pins. 10 - Allowed range : [0 .. 5] 11 - Default: 0 12 - 13 - Example: 14 - 15 - uart@4000c400 { 16 - compatible = "energymicro,efm32-uart"; 17 - reg = <0x4000c400 0x400>; 18 - interrupts = <15>; 19 - energymicro,location = <0>; 20 - };
-23
Documentation/devicetree/bindings/serio/ps2-gpio.txt
··· 1 - Device-Tree binding for ps/2 gpio device 2 - 3 - Required properties: 4 - - compatible = "ps2-gpio" 5 - - data-gpios: the data pin 6 - - clk-gpios: the clock pin 7 - - interrupts: Should trigger on the falling edge of the clock line. 8 - 9 - Optional properties: 10 - - write-enable: Indicates whether write function is provided 11 - to serio device. Possibly providing the write fn will not work, because 12 - of the tough timing requirements. 13 - 14 - Example nodes: 15 - 16 - ps2@0 { 17 - compatible = "ps2-gpio"; 18 - interrupt-parent = <&gpio>; 19 - interrupts = <23 IRQ_TYPE_EDGE_FALLING>; 20 - data-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>; 21 - clk-gpios = <&gpio 23 GPIO_ACTIVE_HIGH>; 22 - write-enable; 23 - };
+64
Documentation/devicetree/bindings/serio/ps2-gpio.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/serio/ps2-gpio.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Bindings for GPIO based PS/2 8 + 9 + maintainers: 10 + - Danilo Krummrich <danilokrummrich@dk-develop.de> 11 + 12 + properties: 13 + compatible: 14 + const: ps2-gpio 15 + 16 + data-gpios: 17 + description: 18 + the gpio used for the data signal - this should be flagged as 19 + active high using open drain with (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN) 20 + from <dt-bindings/gpio/gpio.h> since the signal is open drain by 21 + definition 22 + maxItems: 1 23 + 24 + clk-gpios: 25 + description: 26 + the gpio used for the clock signal - this should be flagged as 27 + active high using open drain with (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN) 28 + from <dt-bindings/gpio/gpio.h> since the signal is open drain by 29 + definition 30 + maxItems: 1 31 + 32 + interrupts: 33 + description: 34 + The given interrupt should trigger on the falling edge of the clock line. 35 + maxItems: 1 36 + 37 + write-enable: 38 + type: boolean 39 + description: 40 + Indicates whether write function is provided to serio device. Possibly 41 + providing the write function will not work, because of the tough timing 42 + requirements. 43 + 44 + required: 45 + - compatible 46 + - data-gpios 47 + - clk-gpios 48 + - interrupts 49 + 50 + additionalProperties: false 51 + 52 + examples: 53 + - | 54 + #include <dt-bindings/gpio/gpio.h> 55 + #include <dt-bindings/interrupt-controller/irq.h> 56 + 57 + ps2 { 58 + compatible = "ps2-gpio"; 59 + interrupt-parent = <&gpio>; 60 + interrupts = <23 IRQ_TYPE_EDGE_FALLING>; 61 + data-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 62 + clk-gpios = <&gpio 23 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 63 + write-enable; 64 + };
+1 -1
Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml
··· 13 13 This binding describes the hardware component responsible for side channel 14 14 requests to the always-on subsystem (AOSS), used for certain power management 15 15 requests that is not handled by the standard RPMh interface. Each client in the 16 - SoC has it's own block of message RAM and IRQ for communication with the AOSS. 16 + SoC has its own block of message RAM and IRQ for communication with the AOSS. 17 17 The protocol used to communicate in the message RAM is known as Qualcomm 18 18 Messaging Protocol (QMP) 19 19
+1 -1
Documentation/devicetree/bindings/soc/samsung/exynos-chipid.yaml Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: http://devicetree.org/schemas/soc/samsung/exynos-chipid.yaml# 4 + $id: http://devicetree.org/schemas/hwinfo/samsung,exynos-chipid.yaml# 5 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Samsung Exynos SoC series Chipid driver
+1 -1
Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml Documentation/devicetree/bindings/hwinfo/ti,k3-socinfo.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 2 %YAML 1.2 3 3 --- 4 - $id: http://devicetree.org/schemas/soc/ti/k3-socinfo.yaml# 4 + $id: http://devicetree.org/schemas/hwinfo/ti,k3-socinfo.yaml# 5 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 7 title: Texas Instruments K3 Multicore SoC platforms chipid module
+1 -1
Documentation/devicetree/bindings/sound/da9055.txt
··· 2 2 3 3 DA9055 provides Audio CODEC support (I2C only). 4 4 5 - The Audio CODEC device in DA9055 has it's own I2C address which is configurable, 5 + The Audio CODEC device in DA9055 has its own I2C address which is configurable, 6 6 so the device is instantiated separately from the PMIC (MFD) device. 7 7 8 8 For details on accompanying PMIC I2C device, see the following:
+2 -2
Documentation/devicetree/bindings/sound/tlv320adcx140.yaml
··· 68 68 array is defined as <PDMIN1 PDMIN2 PDMIN3 PDMIN4>. 69 69 70 70 0 - (default) Odd channel is latched on the negative edge and even 71 - channel is latched on the the positive edge. 71 + channel is latched on the positive edge. 72 72 1 - Odd channel is latched on the positive edge and even channel is 73 - latched on the the negative edge. 73 + latched on the negative edge. 74 74 75 75 PDMIN1 - PDMCLK latching edge used for channel 1 and 2 data 76 76 PDMIN2 - PDMCLK latching edge used for channel 3 and 4 data
-39
Documentation/devicetree/bindings/spi/efm32-spi.txt
··· 1 - * Energy Micro EFM32 SPI 2 - 3 - Required properties: 4 - - #address-cells: see spi-bus.txt 5 - - #size-cells: see spi-bus.txt 6 - - compatible: should be "energymicro,efm32-spi" 7 - - reg: Offset and length of the register set for the controller 8 - - interrupts: pair specifying rx and tx irq 9 - - clocks: phandle to the spi clock 10 - - cs-gpios: see spi-bus.txt 11 - 12 - Recommended properties : 13 - - energymicro,location: Value to write to the ROUTE register's LOCATION 14 - bitfield to configure the pinmux for the device, see 15 - datasheet for values. 16 - If this property is not provided, keeping what is 17 - already configured in the hardware, so its either the 18 - reset default 0 or whatever the bootloader did. 19 - 20 - Example: 21 - 22 - spi1: spi@4000c400 { /* USART1 */ 23 - #address-cells = <1>; 24 - #size-cells = <0>; 25 - compatible = "energymicro,efm32-spi"; 26 - reg = <0x4000c400 0x400>; 27 - interrupts = <15 16>; 28 - clocks = <&cmu 20>; 29 - cs-gpios = <&gpio 51 1>; // D3 30 - energymicro,location = <1>; 31 - 32 - ks8851@0 { 33 - compatible = "ks8851"; 34 - spi-max-frequency = <6000000>; 35 - reg = <0>; 36 - interrupt-parent = <&boardfpga>; 37 - interrupts = <4>; 38 - }; 39 - };
+75
Documentation/devicetree/bindings/sram/qcom,imem.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/sram/qcom,imem.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm IMEM memory region 8 + 9 + maintainers: 10 + - Bjorn Andersson <bjorn.andersson@linaro.org> 11 + 12 + description: 13 + Qualcomm IMEM is dedicated memory region for various debug features and DMA 14 + transactions. 15 + 16 + properties: 17 + compatible: 18 + items: 19 + - enum: 20 + - qcom,apq8064-imem 21 + - qcom,msm8974-imem 22 + - qcom,qcs404-imem 23 + - qcom,sc7180-imem 24 + - qcom,sc7280-imem 25 + - qcom,sdm630-imem 26 + - qcom,sdm845-imem 27 + - qcom,sdx55-imem 28 + - const: syscon 29 + - const: simple-mfd 30 + 31 + reg: 32 + maxItems: 1 33 + 34 + ranges: true 35 + 36 + '#address-cells': 37 + const: 1 38 + 39 + '#size-cells': 40 + const: 1 41 + 42 + reboot-mode: 43 + $ref: /schemas/power/reset/syscon-reboot-mode.yaml# 44 + 45 + patternProperties: 46 + "^pil-reloc@[0-9a-f]+$": 47 + $ref: /schemas/remoteproc/qcom,pil-info.yaml# 48 + description: Peripheral image loader relocation region 49 + 50 + required: 51 + - compatible 52 + - reg 53 + 54 + additionalProperties: false 55 + 56 + examples: 57 + - | 58 + soc { 59 + #address-cells = <2>; 60 + #size-cells = <2>; 61 + 62 + sram@146bf000 { 63 + compatible = "qcom,sdm845-imem", "syscon", "simple-mfd"; 64 + reg = <0 0x146bf000 0 0x1000>; 65 + ranges = <0 0 0x146bf000 0x1000>; 66 + 67 + #address-cells = <1>; 68 + #size-cells = <1>; 69 + 70 + pil-reloc@94c { 71 + compatible = "qcom,pil-reloc-info"; 72 + reg = <0x94c 0xc8>; 73 + }; 74 + }; 75 + };
+5 -5
Documentation/devicetree/bindings/sram/qcom,ocmem.yaml
··· 72 72 73 73 examples: 74 74 - | 75 - #include <dt-bindings/clock/qcom,rpmcc.h> 76 - #include <dt-bindings/clock/qcom,mmcc-msm8974.h> 75 + #include <dt-bindings/clock/qcom,rpmcc.h> 76 + #include <dt-bindings/clock/qcom,mmcc-msm8974.h> 77 77 78 - ocmem: ocmem@fdd00000 { 78 + sram@fdd00000 { 79 79 compatible = "qcom,msm8974-ocmem"; 80 80 81 81 reg = <0xfdd00000 0x2000>, ··· 93 93 ranges = <0 0xfec00000 0x100000>; 94 94 95 95 gmu-sram@0 { 96 - reg = <0x0 0x100000>; 96 + reg = <0x0 0x100000>; 97 97 }; 98 - }; 98 + };
+1 -1
Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.yaml
··· 16 16 - compatible: Should be one of the following: 17 17 "brcm,bcm2711-avs-monitor", "syscon", "simple-mfd" 18 18 19 - Refer to the the bindings described in 19 + Refer to the bindings described in 20 20 Documentation/devicetree/bindings/mfd/syscon.yaml 21 21 22 22 properties:
+1 -1
Documentation/devicetree/bindings/thermal/nvidia,tegra124-soctherm.txt
··· 96 96 software shutdown. 97 97 98 98 - the "hot" type trip points will be set to SOC_THERM hardware as the throttle 99 - temperature. Once the the temperature of this thermal zone is higher 99 + temperature. Once the temperature of this thermal zone is higher 100 100 than it, it will trigger the HW throttle event. 101 101 102 102 Example :
+1 -1
Documentation/devicetree/bindings/thermal/rcar-thermal.yaml
··· 42 42 description: 43 43 Address ranges of the thermal registers. If more then one range is given 44 44 the first one must be the common registers followed by each sensor 45 - according the the datasheet. 45 + according the datasheet. 46 46 minItems: 1 47 47 maxItems: 4 48 48
+16 -2
Documentation/devicetree/bindings/vendor-prefixes.yaml
··· 141 141 description: ASIX Electronics Corporation 142 142 "^aspeed,.*": 143 143 description: ASPEED Technology Inc. 144 + "^asrock,.*": 145 + description: ASRock Inc. 144 146 "^asus,.*": 145 147 description: AsusTek Computer Inc. 146 148 "^atheros,.*": ··· 200 198 description: Broadcom Corporation 201 199 "^bsh,.*": 202 200 description: BSH Hausgeraete GmbH 201 + "^bticino,.*": 202 + description: Bticino International 203 203 "^buffalo,.*": 204 204 description: Buffalo, Inc. 205 205 "^bur,.*": 206 206 description: B&R Industrial Automation GmbH 207 - "^bticino,.*": 208 - description: Bticino International 207 + "^bytedance,.*": 208 + description: ByteDance Ltd. 209 209 "^calamp,.*": 210 210 description: CalAmp Corp. 211 211 "^calaosystems,.*": ··· 312 308 description: Dell Inc. 313 309 "^delta,.*": 314 310 description: Delta Electronics, Inc. 311 + "^densitron,.*": 312 + description: Densitron Technologies Ltd 315 313 "^denx,.*": 316 314 description: Denx Software Engineering 317 315 "^devantech,.*": ··· 557 551 description: Shenzhen Hugsun Technology Co. Ltd. 558 552 "^hwacom,.*": 559 553 description: HwaCom Systems Inc. 554 + "^hxt,.*": 555 + description: HXT Semiconductor 560 556 "^hycon,.*": 561 557 description: Hycon Technology Corp. 562 558 "^hydis,.*": ··· 593 585 description: Infineon Technologies 594 586 "^inforce,.*": 595 587 description: Inforce Computing 588 + "^ingrasys,.*": 589 + description: Ingrasys Technology Inc. 596 590 "^ivo,.*": 597 591 description: InfoVision Optoelectronics Kunshan Co. Ltd. 598 592 "^ingenic,.*": ··· 615 605 description: Inter Control Group 616 606 "^invensense,.*": 617 607 description: InvenSense Inc. 608 + "^inventec,.*": 609 + description: Inventec 618 610 "^inversepath,.*": 619 611 description: Inverse Path 620 612 "^iom,.*": ··· 1031 1019 description: Shenzhen QiShenglong Industrialist Co., Ltd. 1032 1020 "^qnap,.*": 1033 1021 description: QNAP Systems, Inc. 1022 + "^quanta,.*": 1023 + description: Quanta Computer Inc. 1034 1024 "^radxa,.*": 1035 1025 description: Radxa 1036 1026 "^raidsonic,.*":
+1 -1
Documentation/devicetree/bindings/watchdog/faraday,ftwdt010.yaml
··· 55 55 compatible = "faraday,ftwdt010"; 56 56 reg = <0x41000000 0x1000>; 57 57 interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; 58 - timeout-secs = <5>; 58 + timeout-sec = <5>; 59 59 }; 60 60 - | 61 61 watchdog: watchdog@98500000 {
-28
Documentation/devicetree/bindings/watchdog/qcom,pm8916-wdt.txt
··· 1 - QCOM PM8916 watchdog timer controller 2 - 3 - This pm8916 watchdog timer controller must be under pm8916-pon node. 4 - 5 - Required properties: 6 - - compatible: should be "qcom,pm8916-wdt" 7 - 8 - Optional properties : 9 - - interrupts : Watchdog pre-timeout (bark) interrupt. 10 - - timeout-sec : Watchdog timeout value in seconds. 11 - 12 - Example: 13 - 14 - pm8916_0: pm8916@0 { 15 - compatible = "qcom,pm8916", "qcom,spmi-pmic"; 16 - reg = <0x0 SPMI_USID>; 17 - 18 - pon@800 { 19 - compatible = "qcom,pm8916-pon"; 20 - reg = <0x800>; 21 - 22 - watchdog { 23 - compatible = "qcom,pm8916-wdt"; 24 - interrupts = <0x0 0x8 6 IRQ_TYPE_EDGE_RISING>; 25 - timeout-sec = <10>; 26 - }; 27 - }; 28 - };
+51
Documentation/devicetree/bindings/watchdog/qcom,pm8916-wdt.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/watchdog/qcom,pm8916-wdt.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm PM8916 watchdog timer controller 8 + 9 + maintainers: 10 + - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11 + 12 + allOf: 13 + - $ref: watchdog.yaml# 14 + 15 + properties: 16 + compatible: 17 + const: qcom,pm8916-wdt 18 + 19 + interrupts: 20 + maxItems: 1 21 + 22 + required: 23 + - compatible 24 + - interrupts 25 + 26 + unevaluatedProperties: false 27 + 28 + examples: 29 + - | 30 + #include <dt-bindings/interrupt-controller/irq.h> 31 + #include <dt-bindings/spmi/spmi.h> 32 + 33 + pmic@0 { 34 + compatible = "qcom,pm8916", "qcom,spmi-pmic"; 35 + reg = <0x0 SPMI_USID>; 36 + #address-cells = <1>; 37 + #size-cells = <0>; 38 + 39 + pon@800 { 40 + compatible = "qcom,pm8916-pon"; 41 + reg = <0x800>; 42 + mode-bootloader = <0x2>; 43 + mode-recovery = <0x1>; 44 + 45 + watchdog { 46 + compatible = "qcom,pm8916-wdt"; 47 + interrupts = <0x0 0x8 6 IRQ_TYPE_EDGE_RISING>; 48 + timeout-sec = <60>; 49 + }; 50 + }; 51 + };
+1 -1
Documentation/devicetree/bindings/writing-bindings.rst
··· 53 53 54 54 - DO use common property unit suffixes for properties with scientific units. 55 55 Recommended suffixes are listed at 56 - https://github.com/devicetree-org/dt-schema/blob/master/schemas/property-units.yaml 56 + https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/property-units.yaml 57 57 58 58 - DO define properties in terms of constraints. How many entries? What are 59 59 possible values? What is the order?
+3 -1
MAINTAINERS
··· 2609 2609 S: Maintained 2610 2610 F: Documentation/devicetree/bindings/arm/rda.yaml 2611 2611 F: Documentation/devicetree/bindings/gpio/gpio-rda.yaml 2612 - F: Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt 2612 + F: Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.yaml 2613 2613 F: Documentation/devicetree/bindings/serial/rda,8810pl-uart.yaml 2614 2614 F: Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml 2615 2615 F: arch/arm/boot/dts/rda8810pl-* ··· 2689 2689 T: git git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git 2690 2690 F: Documentation/arm/samsung/ 2691 2691 F: Documentation/devicetree/bindings/arm/samsung/ 2692 + F: Documentation/devicetree/bindings/hwinfo/samsung,* 2692 2693 F: Documentation/devicetree/bindings/power/pd-samsung.yaml 2693 2694 F: Documentation/devicetree/bindings/soc/samsung/ 2694 2695 F: arch/arm/boot/dts/exynos* ··· 2942 2941 L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) 2943 2942 S: Supported 2944 2943 F: Documentation/devicetree/bindings/arm/ti/k3.yaml 2944 + F: Documentation/devicetree/bindings/hwinfo/ti,k3-socinfo.yaml 2945 2945 F: arch/arm64/boot/dts/ti/Makefile 2946 2946 F: arch/arm64/boot/dts/ti/k3-* 2947 2947 F: include/dt-bindings/pinctrl/k3.h
+1 -1
drivers/of/base.c
··· 2079 2079 * 2080 2080 * @cpu: cpu number(logical index) for which the last cache level is needed 2081 2081 * 2082 - * Return: The the level at which the last cache is present. It is exactly 2082 + * Return: The level at which the last cache is present. It is exactly 2083 2083 * same as the total number of cache levels for the given logical cpu. 2084 2084 */ 2085 2085 int of_find_last_cache_level(unsigned int cpu)
+4 -1
drivers/of/device.c
··· 81 81 * restricted-dma-pool region is allowed. 82 82 */ 83 83 if (of_device_is_compatible(node, "restricted-dma-pool") && 84 - of_device_is_available(node)) 84 + of_device_is_available(node)) { 85 + of_node_put(node); 85 86 break; 87 + } 88 + of_node_put(node); 86 89 } 87 90 88 91 /*
+9 -10
drivers/of/fdt.c
··· 246 246 } 247 247 248 248 *pnp = np; 249 - return true; 249 + return 0; 250 250 } 251 251 252 252 static void reverse_nodes(struct device_node *parent) ··· 477 477 478 478 static u32 of_fdt_crc32; 479 479 480 - static int __init early_init_dt_reserve_memory_arch(phys_addr_t base, 481 - phys_addr_t size, bool nomap) 480 + static int __init early_init_dt_reserve_memory(phys_addr_t base, 481 + phys_addr_t size, bool nomap) 482 482 { 483 483 if (nomap) { 484 484 /* ··· 525 525 size = dt_mem_next_cell(dt_root_size_cells, &prop); 526 526 527 527 if (size && 528 - early_init_dt_reserve_memory_arch(base, size, nomap) == 0) { 528 + early_init_dt_reserve_memory(base, size, nomap) == 0) { 529 529 pr_debug("Reserved memory: reserved region for node '%s': base %pa, size %lu MiB\n", 530 530 uname, &base, (unsigned long)(size / SZ_1M)); 531 531 if (!nomap) 532 532 kmemleak_alloc_phys(base, size, 0, 0); 533 533 } 534 534 else 535 - pr_info("Reserved memory: failed to reserve memory for node '%s': base %pa, size %lu MiB\n", 536 - uname, &base, (unsigned long)(size / SZ_1M)); 535 + pr_err("Reserved memory: failed to reserve memory for node '%s': base %pa, size %lu MiB\n", 536 + uname, &base, (unsigned long)(size / SZ_1M)); 537 537 538 538 len -= t_len; 539 539 if (first) { ··· 644 644 fdt_get_mem_rsv(initial_boot_params, n, &base, &size); 645 645 if (!size) 646 646 break; 647 - early_init_dt_reserve_memory_arch(base, size, false); 647 + memblock_reserve(base, size); 648 648 } 649 649 650 650 fdt_scan_reserved_mem(); ··· 661 661 return; 662 662 663 663 /* Reserve the dtb region */ 664 - early_init_dt_reserve_memory_arch(__pa(initial_boot_params), 665 - fdt_totalsize(initial_boot_params), 666 - false); 664 + memblock_reserve(__pa(initial_boot_params), 665 + fdt_totalsize(initial_boot_params)); 667 666 } 668 667 669 668 /**
+17
drivers/of/kexec.c
··· 128 128 { 129 129 int ret, len; 130 130 unsigned long tmp_addr; 131 + unsigned long start_pfn, end_pfn; 131 132 size_t tmp_size; 132 133 const void *prop; 133 134 ··· 139 138 ret = do_get_kexec_buffer(prop, len, &tmp_addr, &tmp_size); 140 139 if (ret) 141 140 return ret; 141 + 142 + /* Do some sanity on the returned size for the ima-kexec buffer */ 143 + if (!tmp_size) 144 + return -ENOENT; 145 + 146 + /* 147 + * Calculate the PFNs for the buffer and ensure 148 + * they are with in addressable memory. 149 + */ 150 + start_pfn = PHYS_PFN(tmp_addr); 151 + end_pfn = PHYS_PFN(tmp_addr + tmp_size - 1); 152 + if (!page_is_ram(start_pfn) || !page_is_ram(end_pfn)) { 153 + pr_warn("IMA buffer at 0x%lx, size = 0x%zx beyond memory\n", 154 + tmp_addr, tmp_size); 155 + return -EINVAL; 156 + } 142 157 143 158 *addr = __va(tmp_addr); 144 159 *size = tmp_size;
+2 -1
drivers/of/of_reserved_mem.c
··· 156 156 } 157 157 158 158 if (base == 0) { 159 - pr_info("failed to allocate memory for node '%s'\n", uname); 159 + pr_err("failed to allocate memory for node '%s': size %lu MiB\n", 160 + uname, (unsigned long)(size / SZ_1M)); 160 161 return -ENOMEM; 161 162 } 162 163
+7 -13
drivers/of/overlay.c
··· 903 903 { 904 904 int ret = 0, ret_revert, ret_tmp; 905 905 906 - if (devicetree_corrupt()) { 907 - pr_err("devicetree state suspect, refuse to apply overlay\n"); 908 - ret = -EBUSY; 909 - goto out; 910 - } 911 - 912 906 ret = of_resolve_phandles(ovcs->overlay_root); 913 907 if (ret) 914 908 goto out; ··· 977 983 978 984 *ret_ovcs_id = 0; 979 985 986 + if (devicetree_corrupt()) { 987 + pr_err("devicetree state suspect, refuse to apply overlay\n"); 988 + return -EBUSY; 989 + } 990 + 980 991 if (overlay_fdt_size < sizeof(struct fdt_header) || 981 992 fdt_check_header(overlay_fdt)) { 982 993 pr_err("Invalid overlay_fdt header\n"); ··· 1043 1044 * goto err_free_ovcs. Instead, the caller of of_overlay_fdt_apply() 1044 1045 * can call of_overlay_remove(); 1045 1046 */ 1046 - 1047 - mutex_unlock(&of_mutex); 1048 - of_overlay_mutex_unlock(); 1049 - 1050 1047 *ret_ovcs_id = ovcs->id; 1051 - 1052 - return ret; 1048 + goto out_unlock; 1053 1049 1054 1050 err_free_ovcs: 1055 1051 free_overlay_changeset(ovcs); 1056 1052 1053 + out_unlock: 1057 1054 mutex_unlock(&of_mutex); 1058 1055 of_overlay_mutex_unlock(); 1059 - 1060 1056 return ret; 1061 1057 } 1062 1058 EXPORT_SYMBOL_GPL(of_overlay_fdt_apply);
+8 -9
drivers/of/unittest.c
··· 1602 1602 1603 1603 platform_set_drvdata(pdev, devptr); 1604 1604 1605 - devptr->chip.of_node = pdev->dev.of_node; 1605 + devptr->chip.fwnode = dev_fwnode(&pdev->dev); 1606 1606 devptr->chip.label = "of-unittest-gpio"; 1607 1607 devptr->chip.base = -1; /* dynamic allocation */ 1608 1608 devptr->chip.ngpio = 5; ··· 1611 1611 ret = gpiochip_add_data(&devptr->chip, NULL); 1612 1612 1613 1613 unittest(!ret, 1614 - "gpiochip_add_data() for node @%pOF failed, ret = %d\n", devptr->chip.of_node, ret); 1614 + "gpiochip_add_data() for node @%pfw failed, ret = %d\n", devptr->chip.fwnode, ret); 1615 1615 1616 1616 if (!ret) 1617 1617 unittest_gpio_probe_pass_count++; ··· 1620 1620 1621 1621 static int unittest_gpio_remove(struct platform_device *pdev) 1622 1622 { 1623 - struct unittest_gpio_dev *gdev = platform_get_drvdata(pdev); 1623 + struct unittest_gpio_dev *devptr = platform_get_drvdata(pdev); 1624 1624 struct device *dev = &pdev->dev; 1625 - struct device_node *np = pdev->dev.of_node; 1626 1625 1627 - dev_dbg(dev, "%s for node @%pOF\n", __func__, np); 1626 + dev_dbg(dev, "%s for node @%pfw\n", __func__, devptr->chip.fwnode); 1628 1627 1629 - if (!gdev) 1628 + if (!devptr) 1630 1629 return -EINVAL; 1631 1630 1632 - if (gdev->chip.base != -1) 1633 - gpiochip_remove(&gdev->chip); 1631 + if (devptr->chip.base != -1) 1632 + gpiochip_remove(&devptr->chip); 1634 1633 1635 1634 platform_set_drvdata(pdev, NULL); 1636 - kfree(gdev); 1635 + kfree(devptr); 1637 1636 1638 1637 return 0; 1639 1638 }
-43
include/dt-bindings/clock/efm32-cmu.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - #ifndef __DT_BINDINGS_CLOCK_EFM32_CMU_H 3 - #define __DT_BINDINGS_CLOCK_EFM32_CMU_H 4 - 5 - #define clk_HFXO 0 6 - #define clk_HFRCO 1 7 - #define clk_LFXO 2 8 - #define clk_LFRCO 3 9 - #define clk_ULFRCO 4 10 - #define clk_AUXHFRCO 5 11 - #define clk_HFCLKNODIV 6 12 - #define clk_HFCLK 7 13 - #define clk_HFPERCLK 8 14 - #define clk_HFCORECLK 9 15 - #define clk_LFACLK 10 16 - #define clk_LFBCLK 11 17 - #define clk_WDOGCLK 12 18 - #define clk_HFCORECLKDMA 13 19 - #define clk_HFCORECLKAES 14 20 - #define clk_HFCORECLKUSBC 15 21 - #define clk_HFCORECLKUSB 16 22 - #define clk_HFCORECLKLE 17 23 - #define clk_HFCORECLKEBI 18 24 - #define clk_HFPERCLKUSART0 19 25 - #define clk_HFPERCLKUSART1 20 26 - #define clk_HFPERCLKUSART2 21 27 - #define clk_HFPERCLKUART0 22 28 - #define clk_HFPERCLKUART1 23 29 - #define clk_HFPERCLKTIMER0 24 30 - #define clk_HFPERCLKTIMER1 25 31 - #define clk_HFPERCLKTIMER2 26 32 - #define clk_HFPERCLKTIMER3 27 33 - #define clk_HFPERCLKACMP0 28 34 - #define clk_HFPERCLKACMP1 29 35 - #define clk_HFPERCLKI2C0 30 36 - #define clk_HFPERCLKI2C1 31 37 - #define clk_HFPERCLKGPIO 32 38 - #define clk_HFPERCLKVCMP 33 39 - #define clk_HFPERCLKPRS 34 40 - #define clk_HFPERCLKADC0 35 41 - #define clk_HFPERCLKDAC0 36 42 - 43 - #endif /* __DT_BINDINGS_CLOCK_EFM32_CMU_H */
+3 -2
include/linux/of.h
··· 207 207 } 208 208 209 209 #if defined(CONFIG_OF_DYNAMIC) || defined(CONFIG_SPARC) 210 - static inline int of_property_check_flag(struct property *p, unsigned long flag) 210 + static inline int of_property_check_flag(const struct property *p, unsigned long flag) 211 211 { 212 212 return test_bit(flag, &p->_flags); 213 213 } ··· 812 812 { 813 813 } 814 814 815 - static inline int of_property_check_flag(struct property *p, unsigned long flag) 815 + static inline int of_property_check_flag(const struct property *p, 816 + unsigned long flag) 816 817 { 817 818 return 0; 818 819 }