linux-yocto/Documentation/devicetree/bindings
Yao Zi 40f62f8cf8 dt-bindings: serial: 8250: Make clocks and clock-frequency exclusive
commit 0981213407 upstream.

The 8250 binding before converting to json-schema states,

  - clock-frequency : the input clock frequency for the UART
  	or
  - clocks phandle to refer to the clk used as per Documentation/devicetree

for clock-related properties, where "or" indicates these properties
shouldn't exist at the same time.

Additionally, the behavior of Linux's driver is strange when both clocks
and clock-frequency are specified: it ignores clocks and obtains the
frequency from clock-frequency, left the specified clocks unclaimed. It
may even be disabled, which is undesired most of the time.

But "anyOf" doesn't prevent these two properties from coexisting, as it
considers the object valid as long as there's at LEAST one match.

Let's switch to "oneOf" and disallows the other property if one exists,
precisely matching the original binding and avoiding future confusion on
the driver's behavior.

Fixes: e69f5dc623 ("dt-bindings: serial: Convert 8250 to json-schema")
Cc: stable <stable@kernel.org>
Signed-off-by: Yao Zi <ziyao@disroot.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250623093445.62327-1-ziyao@disroot.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-06 11:00:13 +02:00
..
arc
arm dt-bindings: coresight: qcom,coresight-tpdm: Fix too many 'reg' 2025-04-25 10:45:34 +02:00
ata dt-bindings: ata: pata-common: Add missing additionalProperties on child nodes 2023-09-25 15:51:16 +09:00
auxdisplay
board
bus dt-bindings: bus: fsl,imx8qxp-pixel-link-msi-bus: Drop child 'reg' property 2023-10-06 13:54:00 -05:00
cache dt-bindings: cache: andestech,ax45mp-cache: Fix unit address in example 2023-10-04 08:33:11 -05:00
chrome
clock dt-bindings: clock: axi-clkgen: include AXI clk 2024-12-09 10:32:22 +01:00
connector dt-bindings: Drop remaining unneeded quotes 2023-08-24 11:43:57 -05:00
counter
cpu
cpufreq OPP updates for 6.6 2023-08-28 14:15:41 +02:00
crypto Devicetree updates for v6.6: 2023-08-30 16:59:03 -07:00
csky
devfreq dt-bindings: Fix typos 2023-08-18 11:32:25 -05:00
display dt-bindings: display: adi,adv7533: Drop single lane support 2025-01-09 13:32:08 +01:00
dma dt-bindings: dma: fsl-edma: fix dma-channels constraints 2024-06-27 13:49:12 +02:00
dsp
dvfs
edac
eeprom Devicetree updates for v6.6: 2023-08-30 16:59:03 -07:00
extcon Char/Misc driver changes for 6.6-rc1 2023-09-01 09:53:54 -07:00
firmware Devicetree updates for v6.6: 2023-08-30 16:59:03 -07:00
fpga dt-bindings: Fix typos 2023-08-18 11:32:25 -05:00
fsi dt-bindings: fsi: Document the IBM I2C Responder virtual FSI master 2023-08-11 13:32:14 +09:30
fuse
gnss
goldfish
gpio dt-bindings: gpio: xilinx: Fix node address in gpio 2024-01-25 15:35:58 -08:00
gpu
hsi
hwinfo
hwlock dt-bindings: use capital "OR" for multiple licenses in SPDX 2023-08-23 15:00:31 -05:00
hwmon dt-bindings: Drop remaining unneeded quotes 2023-08-24 11:43:57 -05:00
i2c dt-bindings: i2c: nvidia,tegra20-i2c: Specify the required properties 2025-06-27 11:09:03 +01:00
i3c I3C for 6.6 2023-09-07 15:59:57 -07:00
iio dt-bindings: iio: dac: ad3552r: fix maximum spi speed 2024-12-09 10:32:45 +01:00
infiniband
input Input updates for 6.6 merge window: 2023-09-06 09:24:25 -07:00
interconnect dt-bindings: interconnect: OSM L3: add SDM670 compatible 2023-08-22 01:08:55 +03:00
interrupt-controller dt-bindings: interrupt-controller: Allow #power-domain-cells 2023-12-13 18:45:09 +01:00
iommu dt-bindings: arm-smmu: Fix SDM630 clocks description 2023-09-18 10:17:35 +01:00
ipmi dt-bindings: Drop remaining unneeded quotes 2023-08-24 11:43:57 -05:00
leds dt-bindings: leds: class-multicolor: Fix path to color definitions 2025-02-08 09:51:51 +01:00
mailbox dt-bindings: use capital "OR" for multiple licenses in SPDX 2023-08-23 15:00:31 -05:00
media dt-bindings: media: st,stmipid02: correct lane-polarities maxItems 2025-04-25 10:45:21 +02:00
memory-controllers Devicetree updates for v6.6: 2023-08-30 16:59:03 -07:00
mfd dt-bindings: mfd: bd71815: Fix rsense and typos 2025-02-08 09:51:52 +01:00
mips dt-bindings: Drop remaining unneeded quotes 2023-08-24 11:43:57 -05:00
misc dt-bindings: Drop remaining unneeded quotes 2023-08-24 11:43:57 -05:00
mmc dt-bindings: mmc: controller: clarify the address-cells description 2025-02-08 09:51:50 +01:00
mtd Core MTD changes: 2023-09-03 09:59:53 -07:00
mux
net dt-bindings: net: fec: add pps channel property 2024-12-27 13:58:58 +01:00
nios2 dt-bindings: Fix typos 2023-08-18 11:32:25 -05:00
nvme
nvmem dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp 2024-01-01 12:42:42 +00:00
openrisc/opencores
opp dt-bindings: cpufreq: Convert ti-cpufreq to json schema 2023-08-21 11:23:34 +05:30
pci dt-bindings: PCI: rockchip,rk3399-pcie: Add missing maxItems to ep-gpios 2024-06-12 11:12:33 +02:00
peci dt-bindings: Add bindings for peci-npcm 2023-08-07 18:27:55 +02:00
perf
phy dt-bindings: phy: imx8mq-usb: fix fsl,phy-tx-vboost-level-microvolt property 2025-06-19 15:28:01 +02:00
pinctrl dt-bindings: pinctrl: mediatek: mt7622: fix array properties 2024-06-12 11:12:24 +02:00
pmem dt-bindings: Fix typos 2023-08-18 11:32:25 -05:00
power Devicetree updates for v6.6: 2023-08-30 16:59:03 -07:00
powerpc dt-bindings: Fix typos 2023-08-18 11:32:25 -05:00
pps dt-bindings: pps: pps-gpio: Convert to yaml 2023-08-18 16:04:13 -05:00
ptp
pwm pwm: Changes for v6.6-rc1 2023-09-07 18:05:58 -07:00
regmap
regulator regulator: dt-bindings: mt6357: Drop fixed compatible requirement 2025-06-19 15:28:46 +02:00
remoteproc remoteproc updates for v6.6 2023-09-04 15:12:26 -07:00
reserved-memory
reset Devicetree updates for v6.6: 2023-08-30 16:59:03 -07:00
riscv dt-bindings: riscv: cpus: Add missing additionalProperties on interrupt-controller node 2023-09-22 15:33:58 -05:00
rng dt-bindings: Fix typos 2023-08-18 11:32:25 -05:00
rtc RTC for 6.6 2023-09-07 16:07:35 -07:00
scsi
security/tpm
serial dt-bindings: serial: 8250: Make clocks and clock-frequency exclusive 2025-07-06 11:00:13 +02:00
serio
sifive
siox
slimbus
soc dt-bindings: rockchip: grf: Add missing type to 'pcie-phy' node 2024-06-12 11:11:22 +02:00
sound ASoC: dt-bindings: mt6359: Update generic node name and dmic-mode 2024-12-09 10:32:01 +01:00
soundwire dt-bindings: Fix typos 2023-08-18 11:32:25 -05:00
spi dt-bindings: spi: nxp-fspi: add imx8ulp support 2024-10-04 16:29:59 +02:00
spmi dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references 2024-06-12 11:12:27 +02:00
sram
staging/iio/adc
thermal dt-bindings: thermal: correct thermal zone node name limit 2024-08-03 08:54:12 +02:00
timer dt-bindings: timer: renesas,rz-mtu3: Fix overflow/underflow interrupt names 2023-11-28 17:20:02 +00:00
timestamp
ufs dt-bindings: ufs: qcom: Add ICE to sm8450 example 2023-08-24 12:11:28 -05:00
usb dt-bindings: usb: cypress,hx3: Add support for all variants 2025-06-19 15:28:01 +02:00
virtio
w1
watchdog linux-watchdog 6.6-rc1 tag 2023-09-06 09:19:12 -07:00
x86
xillybus
.gitignore
.yamllint dt-bindings: yamllint: Enable quoted string check 2023-08-24 11:43:57 -05:00
ABI.rst
common-properties.txt
example-schema.yaml
graph.txt
index.rst
jailhouse.txt
Makefile
numa.txt
resource-names.txt
submitting-patches.rst
trivial-devices.yaml dt-bindings: trivial-devices: Fix MEMSIC MXC4005 compatible string 2023-10-06 13:54:14 -05:00
unittest.txt
vendor-prefixes.yaml dt-bindings: vendor-prefixes: Add Liontron name 2025-06-19 15:28:24 +02:00
writing-bindings.rst
writing-schema.rst
xilinx.txt