Skip to content

dtb: add 'wakeup-source' property to phandle_args#199

Open
kwillis01 wants to merge 1 commit into
devicetree-org:mainfrom
kwillis01:wakeup-source-cell-size
Open

dtb: add 'wakeup-source' property to phandle_args#199
kwillis01 wants to merge 1 commit into
devicetree-org:mainfrom
kwillis01:wakeup-source-cell-size

Conversation

@kwillis01

Copy link
Copy Markdown

Add 'wakeup-source' property to phandle_args since the property can be of phandle-array type, but can only have a fixed phandle arg size of 0 for each entry.

Fixes warning on TI K3 device trees that use the 'wakeup-source' property with phandle-arrays:

arch/arm64/boot/dts/ti/k3-am62-lp-sk.dtb: can@4e08000 (bosch,m_can): wakeup-source: 'oneOf' conditional failed, one must be fixed:
         [[9, 10, 11, 12]] is not of type 'boolean'
         [9, 10, 11, 12] is too long
         from schema $id: http://devicetree.org/schemas/wakeup-source.yaml

where the warning is that the array is too long since 'maxItems' is 1 for the phandle-array elements.

Add 'wakeup-source' property to phandle_args since the property can be
of phandle-array type, but can only have a fixed phandle arg size of 0
for each entry.

Signed-off-by: Kendall Willis <k-willis@ti.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants