mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-02 08:32:55 +00:00

st,stih407-core-syscfg syscon block comes with a child - the audio codec, whose binding is still in TXT format. Document the child to fix dtbs_check validation errors, while allowing later the binding to be converted to DT schema: stih410-b2260.dtb: core-syscfg@92b0000: 'sti-sasg-codec' does not match any of the regexes: 'pinctrl-[0-9]+' Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20240517142245.178556-1-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
56 lines
1.2 KiB
YAML
56 lines
1.2 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/soc/sti/st,sti-syscon.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: STMicroelectronics STi platform sysconfig
|
|
|
|
maintainers:
|
|
- Patrice Chotard <patrice.chotard@foss.st.com>
|
|
|
|
description: |
|
|
Binding for the various sysconfig nodes used within the STi
|
|
platform device-tree to point to some common configuration
|
|
registers used by other nodes.
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- enum:
|
|
- st,stih407-core-syscfg
|
|
- st,stih407-flash-syscfg
|
|
- st,stih407-front-syscfg
|
|
- st,stih407-lpm-syscfg
|
|
- st,stih407-rear-syscfg
|
|
- st,stih407-sbc-reg-syscfg
|
|
- st,stih407-sbc-syscfg
|
|
- const: syscon
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
sti-sasg-codec:
|
|
description: STi internal audio codec
|
|
type: object
|
|
additionalProperties: true
|
|
|
|
properties:
|
|
compatible:
|
|
const: st,stih407-sas-codec
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
syscfg_sbc: syscon@9620000 {
|
|
compatible = "st,stih407-sbc-syscfg", "syscon";
|
|
reg = <0x9620000 0x1000>;
|
|
};
|
|
|
|
...
|