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

Pull devicetree fixes from Rob Herring:

- Allow child nodes on renesas-bsc bus binding

- Drop node name pattern on allwinner,sun50i-a64-de2 bus binding

- Switch DT patchwork to kernel.org from ozlabs.org

- Fix some typos in docs and bindings

- Fix reference count in PCI node unittest

* tag 'devicetree-fixes-for-6.18-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
dt-bindings: bus: renesas-bsc: allow additional properties
dt-bindings: bus: allwinner,sun50i-a64-de2: don't check node names
MAINTAINERS: Move DT patchwork to kernel.org
of: unittest: Fix device reference count leak in of_unittest_pci_node_verify
of: doc: Fix typo in doc comments.
dt-bindings: mmc: Correct typo "upto" to "up to"

+23 -9
+1 -1
Documentation/devicetree/bindings/bus/allwinner,sun50i-a64-de2.yaml
··· 44 45 patternProperties: 46 # All other properties should be child nodes with unit-address and 'reg' 47 - "^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+$": 48 type: object 49 additionalProperties: true 50 properties:
··· 44 45 patternProperties: 46 # All other properties should be child nodes with unit-address and 'reg' 47 + "@[0-9a-f]+$": 48 type: object 49 additionalProperties: true 50 properties:
+12
Documentation/devicetree/bindings/bus/renesas,bsc.yaml
··· 41 interrupts: 42 maxItems: 1 43 44 required: 45 - reg 46
··· 41 interrupts: 42 maxItems: 1 43 44 + patternProperties: 45 + # All other properties should be child nodes with unit-address and 'reg' 46 + "@[0-9a-f]+$": 47 + type: object 48 + additionalProperties: true 49 + properties: 50 + reg: 51 + maxItems: 1 52 + 53 + required: 54 + - reg 55 + 56 required: 57 - reg 58
+1 -1
Documentation/devicetree/bindings/mmc/mmc-controller-common.yaml
··· 85 - for eMMC, the maximum supported frequency is 200MHz, 86 - for SD/SDIO cards the SDR104 mode has a max supported 87 frequency of 208MHz, 88 - - some mmc host controllers do support a max frequency upto 89 384MHz. 90 So, lets keep the maximum supported value here. 91
··· 85 - for eMMC, the maximum supported frequency is 200MHz, 86 - for SD/SDIO cards the SDR104 mode has a max supported 87 frequency of 208MHz, 88 + - some mmc host controllers do support a max frequency up to 89 384MHz. 90 So, lets keep the maximum supported value here. 91
+2 -1
MAINTAINERS
··· 19248 M: Saravana Kannan <saravanak@google.com> 19249 L: devicetree@vger.kernel.org 19250 S: Maintained 19251 W: http://www.devicetree.org/ 19252 C: irc://irc.libera.chat/devicetree 19253 T: git git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git ··· 19269 M: Conor Dooley <conor+dt@kernel.org> 19270 L: devicetree@vger.kernel.org 19271 S: Maintained 19272 - Q: http://patchwork.ozlabs.org/project/devicetree-bindings/list/ 19273 C: irc://irc.libera.chat/devicetree 19274 T: git git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git 19275 F: Documentation/devicetree/
··· 19248 M: Saravana Kannan <saravanak@google.com> 19249 L: devicetree@vger.kernel.org 19250 S: Maintained 19251 + Q: http://patchwork.kernel.org/project/devicetree/list/ 19252 W: http://www.devicetree.org/ 19253 C: irc://irc.libera.chat/devicetree 19254 T: git git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git ··· 19268 M: Conor Dooley <conor+dt@kernel.org> 19269 L: devicetree@vger.kernel.org 19270 S: Maintained 19271 + Q: http://patchwork.kernel.org/project/devicetree/list/ 19272 C: irc://irc.libera.chat/devicetree 19273 T: git git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git 19274 F: Documentation/devicetree/
+1 -1
drivers/of/irq.c
··· 163 * @out_irq: structure of_phandle_args updated by this function 164 * 165 * This function is a low-level interrupt tree walking function. It 166 - * can be used to do a partial walk with synthetized reg and interrupts 167 * properties, for example when resolving PCI interrupts when no device 168 * node exist for the parent. It takes an interrupt specifier structure as 169 * input, walks the tree looking for any interrupt-map properties, translates
··· 163 * @out_irq: structure of_phandle_args updated by this function 164 * 165 * This function is a low-level interrupt tree walking function. It 166 + * can be used to do a partial walk with synthesized reg and interrupts 167 * properties, for example when resolving PCI interrupts when no device 168 * node exist for the parent. It takes an interrupt specifier structure as 169 * input, walks the tree looking for any interrupt-map properties, translates
+1 -1
drivers/of/overlay.c
··· 135 * @nb: Notifier block to register 136 * 137 * Register for notification on overlay operations on device tree nodes. The 138 - * reported actions definied by @of_reconfig_change. The notifier callback 139 * furthermore receives a pointer to the affected device tree node. 140 * 141 * Note that a notifier callback is not supposed to store pointers to a device
··· 135 * @nb: Notifier block to register 136 * 137 * Register for notification on overlay operations on device tree nodes. The 138 + * reported actions defined by @of_reconfig_change. The notifier callback 139 * furthermore receives a pointer to the affected device tree node. 140 * 141 * Note that a notifier callback is not supposed to store pointers to a device
+1
drivers/of/unittest.c
··· 4300 unittest(!np, "Child device tree node is not removed\n"); 4301 child_dev = device_find_any_child(&pdev->dev); 4302 unittest(!child_dev, "Child device is not removed\n"); 4303 } 4304 4305 failed:
··· 4300 unittest(!np, "Child device tree node is not removed\n"); 4301 child_dev = device_find_any_child(&pdev->dev); 4302 unittest(!child_dev, "Child device is not removed\n"); 4303 + put_device(child_dev); 4304 } 4305 4306 failed:
+4 -4
include/linux/of.h
··· 1134 * Search for a property in a device node and count the number of u8 elements 1135 * in it. 1136 * 1137 - * Return: The number of elements on sucess, -EINVAL if the property does 1138 * not exist or its length does not match a multiple of u8 and -ENODATA if the 1139 * property does not have a value. 1140 */ ··· 1153 * Search for a property in a device node and count the number of u16 elements 1154 * in it. 1155 * 1156 - * Return: The number of elements on sucess, -EINVAL if the property does 1157 * not exist or its length does not match a multiple of u16 and -ENODATA if the 1158 * property does not have a value. 1159 */ ··· 1172 * Search for a property in a device node and count the number of u32 elements 1173 * in it. 1174 * 1175 - * Return: The number of elements on sucess, -EINVAL if the property does 1176 * not exist or its length does not match a multiple of u32 and -ENODATA if the 1177 * property does not have a value. 1178 */ ··· 1191 * Search for a property in a device node and count the number of u64 elements 1192 * in it. 1193 * 1194 - * Return: The number of elements on sucess, -EINVAL if the property does 1195 * not exist or its length does not match a multiple of u64 and -ENODATA if the 1196 * property does not have a value. 1197 */
··· 1134 * Search for a property in a device node and count the number of u8 elements 1135 * in it. 1136 * 1137 + * Return: The number of elements on success, -EINVAL if the property does 1138 * not exist or its length does not match a multiple of u8 and -ENODATA if the 1139 * property does not have a value. 1140 */ ··· 1153 * Search for a property in a device node and count the number of u16 elements 1154 * in it. 1155 * 1156 + * Return: The number of elements on success, -EINVAL if the property does 1157 * not exist or its length does not match a multiple of u16 and -ENODATA if the 1158 * property does not have a value. 1159 */ ··· 1172 * Search for a property in a device node and count the number of u32 elements 1173 * in it. 1174 * 1175 + * Return: The number of elements on success, -EINVAL if the property does 1176 * not exist or its length does not match a multiple of u32 and -ENODATA if the 1177 * property does not have a value. 1178 */ ··· 1191 * Search for a property in a device node and count the number of u64 elements 1192 * in it. 1193 * 1194 + * Return: The number of elements on success, -EINVAL if the property does 1195 * not exist or its length does not match a multiple of u64 and -ENODATA if the 1196 * property does not have a value. 1197 */