diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml index b995f562319bf3..42e35986fbf60d 100644 --- a/Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml @@ -27,8 +27,6 @@ properties: - waveshare,7.0-dsi-touch-a - wanchanglong,w552946aaa - wanchanglong,w552946aba - - raspberrypi,dsi-5inch - - raspberrypi,dsi-7inch - const: ilitek,ili9881c reg: diff --git a/Documentation/devicetree/bindings/display/panel/panel-dsi.yaml b/Documentation/devicetree/bindings/display/panel/panel-dsi.yaml index 0576541d956797..5da594698eee91 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-dsi.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-dsi.yaml @@ -9,9 +9,6 @@ title: Generic MIPI DSI Panel maintainers: - Timon Skerutsch -allOf: - - $ref: panel-common.yaml# - properties: compatible: description: @@ -51,30 +48,46 @@ properties: description: | DSI mode flags. See DSI Specs for details. These are driver independent features of the DSI bus. + $ref: /schemas/types.yaml#/definitions/string-array items: - - const: MODE_VIDEO - - const: MODE_VIDEO_BURST - - const: MODE_VIDEO_SYNC_PULSE - - const: MODE_VIDEO_AUTO_VERT - - const: MODE_VIDEO_HSE - - const: MODE_VIDEO_NO_HFP - - const: MODE_VIDEO_NO_HBP - - const: MODE_VIDEO_NO_HSA - - const: MODE_VSYNC_FLUSH - - const: MODE_NO_EOT_PACKET - - const: CLOCK_NON_CONTINUOUS - - const: MODE_LPM - - const: HS_PKT_END_ALIGNED - - reg: true - backlight: true - enable-gpios: true + enum: + - MODE_VIDEO + - MODE_VIDEO_BURST + - MODE_VIDEO_SYNC_PULSE + - MODE_VIDEO_AUTO_VERT + - MODE_VIDEO_HSE + - MODE_VIDEO_NO_HFP + - MODE_VIDEO_NO_HBP + - MODE_VIDEO_NO_HSA + - MODE_VSYNC_FLUSH + - MODE_NO_EOT_PACKET + - CLOCK_NON_CONTINUOUS + - MODE_LPM + - HS_PKT_END_ALIGNED + + reg: + maxItems: 1 + + backlight: + $ref: panel-common.yaml#/properties/backlight + + enable-gpios: + $ref: panel-common.yaml#/properties/enable-gpios + width-mm: true + height-mm: true - panel-timing: true + + panel-timing: + $ref: panel-common.yaml#/properties/panel-timing + power-supply: true - reset-gpios: true - ddc-i2c-bus: true + + reset-gpios: + $ref: panel-common.yaml#/properties/reset-gpios + + ddc-i2c-bus: + $ref: panel-common.yaml#/properties/ddc-i2c-bus required: - panel-timing @@ -87,32 +100,38 @@ additionalProperties: false examples: - | - panel { - compatible = "panel-mfgr,generic-dsi-panel","panel-dsi"; - power-supply = <&vcc_supply>; - backlight = <&backlight>; - dsi-color-format = "RGB888"; - reg = <0>; - mode = "MODE_VIDEO", "MODE_VIDEO_BURST", "MODE_NO_EOT_PACKET"; - - port { - panel_dsi_port: endpoint { - data-lanes = <1 2>; - remote-endpoint = <&dsi_out>; + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "panel-mfgr,generic-dsi-panel","panel-dsi"; + power-supply = <&vcc_supply>; + backlight = <&backlight>; + dsi-color-format = "RGB888"; + reg = <0>; + mode = "MODE_VIDEO", "MODE_VIDEO_BURST", "MODE_NO_EOT_PACKET"; + + port { + panel_dsi_port: endpoint { + data-lanes = <1 2>; + remote-endpoint = <&dsi_out>; + }; }; - }; - panel-timing { - clock-frequency = <9200000>; - hactive = <800>; - vactive = <480>; - hfront-porch = <8>; - hback-porch = <4>; - hsync-len = <41>; - vback-porch = <2>; - vfront-porch = <4>; - vsync-len = <10>; + panel-timing { + clock-frequency = <9200000>; + hactive = <800>; + vactive = <480>; + hfront-porch = <8>; + hback-porch = <4>; + hsync-len = <41>; + vback-porch = <2>; + vfront-porch = <4>; + vsync-len = <10>; + }; }; + }; ... diff --git a/Documentation/devicetree/bindings/media/i2c/arducam-pivariety.yaml b/Documentation/devicetree/bindings/media/i2c/arducam-pivariety.yaml index 92bf4ff32eb4cc..88578aa04f47b6 100644 --- a/Documentation/devicetree/bindings/media/i2c/arducam-pivariety.yaml +++ b/Documentation/devicetree/bindings/media/i2c/arducam-pivariety.yaml @@ -90,7 +90,7 @@ examples: #address-cells = <1>; #size-cells = <0>; - arducam_pivariety: sensor@0c { + arducam_pivariety: sensor@c { compatible = "arducam,arducam-pivariety"; reg = <0x0c>; clocks = <&arducam_pivariety_clk>; diff --git a/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.yaml b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.yaml index 6de07543e9731d..2cc5c495b1cefb 100644 --- a/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.yaml +++ b/Documentation/devicetree/bindings/media/i2c/dongwoon,dw9807-vcm.yaml @@ -16,7 +16,6 @@ description: | DW9817 is very similar as a 10-bit DAC with current sink capability, however the output drive is a bidirection -100 to +100mA. - properties: compatible: items: diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx500.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx500.yaml index b8538ae6c80f28..bd7ece70000c87 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx500.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx500.yaml @@ -20,6 +20,9 @@ description: |- address of 0x36. Image data is sent through MIPI CSI-2, which is configured as either 2 or 4 data lanes. +allOf: + - $ref: /schemas/media/video-interface-devices.yaml# + properties: compatible: const: sony,imx500 @@ -69,9 +72,15 @@ properties: unevaluatedProperties: false properties: data-lanes: - items: - - const: 2 - - const: 4 + oneOf: + - items: + - const: 1 + - const: 2 + - items: + - const: 1 + - const: 2 + - const: 3 + - const: 4 clock-noncontinuous: true link-frequencies: true required: @@ -96,6 +105,8 @@ required: - vif-supply - port +unevaluatedProperties: false + examples: - | #include diff --git a/Documentation/devicetree/bindings/pwm/pwm-rp1.yaml b/Documentation/devicetree/bindings/pwm/pwm-rp1.yaml deleted file mode 100644 index db9d7085f1c3b5..00000000000000 --- a/Documentation/devicetree/bindings/pwm/pwm-rp1.yaml +++ /dev/null @@ -1,38 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pwm/pwm-rp1.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Raspberry Pi RP1 PWM controller - -maintainers: - - Naushir Patuck - -properties: - compatible: - enum: - - raspberrypi,rp1-pwm - - reg: - maxItems: 1 - - "#pwm-cells": - const: 3 - -required: - - compatible - - reg - - clocks - - "#pwm-cells" - -additionalProperties: false - -examples: - - | - pwm0: pwm@98000 { - compatible = "raspberrypi,rp1-pwm"; - reg = <0x0 0x98000 0x0 0x100>; - clocks = <&rp1_sys>; - #pwm-cells = <3>; - }; diff --git a/Documentation/devicetree/bindings/sound/ti,pcm3168a.yaml b/Documentation/devicetree/bindings/sound/ti,pcm3168a.yaml index d8ffcdd3828167..0c503a5f9087e6 100644 --- a/Documentation/devicetree/bindings/sound/ti,pcm3168a.yaml +++ b/Documentation/devicetree/bindings/sound/ti,pcm3168a.yaml @@ -59,10 +59,12 @@ properties: description: DAC power supply regulator 2 (+5V) adc-force-cons: + type: boolean description: Force ADC to operate in consumer mode. Useful if ADC and DAC clock pins are tied together with DAC as producer. dac-force-cons: + type: boolean description: Force DAC to operate in consumer mode. Useful if ADC and DAC clock pins are tied together with ADC as producer. diff --git a/Documentation/devicetree/bindings/spi/raspberrypi,rp2040-gpio-bridge.yaml b/Documentation/devicetree/bindings/spi/raspberrypi,rp2040-gpio-bridge.yaml index d6af6db169d514..150ad055c916b7 100644 --- a/Documentation/devicetree/bindings/spi/raspberrypi,rp2040-gpio-bridge.yaml +++ b/Documentation/devicetree/bindings/spi/raspberrypi,rp2040-gpio-bridge.yaml @@ -36,9 +36,11 @@ properties: gpio-controller: true fast_xfer_requires_i2c_lock: + type: boolean description: Set if I2C bus should be locked during fast transfer. fast_xfer_recv_gpio_base: + $ref: /schemas/types.yaml#/definitions/uint32 description: RP2040 GPIO base for fast transfer pair. fast_xfer-gpios: diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml index f44f16abb5389e..788a70b39fe90a 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml @@ -186,11 +186,13 @@ properties: type: boolean snps,enhanced-nak-fs-quirk: + type: boolean description: When set, the controller schedules many more handshakes to Async FS endpoints, improving throughput when they frequently respond with NAKs. snps,enhanced-nak-hs-quirk: + type: boolean description: When set, the controller schedules many more handshakes to Async HS endpoints, improving throughput when they frequently respond with NAKs. @@ -387,6 +389,14 @@ properties: $ref: /schemas/types.yaml#/definitions/uint8 minimum: 3 + snps,axi-pipe-limit: + $ref: /schemas/types.yaml#/definitions/uint8 + minimum: 1 + maximum: 16 + description: + Maximum number of pipelined AXI transfers (GSBUSCFG1.PIPETRANSLIMIT). + If absent, the hardware default is kept. + snps,incr-burst-type-adjustment: description: Value for INCR burst type of GSBUSCFG0 register, undefined length INCR