From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4CB8C4321E for ; Mon, 5 Dec 2022 08:08:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231815AbiLEIIL (ORCPT ); Mon, 5 Dec 2022 03:08:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231406AbiLEIIE (ORCPT ); Mon, 5 Dec 2022 03:08:04 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9126120AE; Mon, 5 Dec 2022 00:08:02 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id BC8A2CE0ED0; Mon, 5 Dec 2022 08:08:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED95BC433C1; Mon, 5 Dec 2022 08:07:53 +0000 (UTC) Message-ID: Date: Mon, 5 Dec 2022 09:07:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH 3/9] media: dt-bindings: cec: convert common CEC properties to DT schema To: Krzysztof Kozlowski , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Thierry Reding , Jonathan Hunter , Marek Szyprowski , Alain Volmat , Maxime Coquelin , Alexandre Torgue , Joe Tessler , Yannick Fertre , Jeff Chase , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com References: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> <20221204182908.138910-3-krzysztof.kozlowski@linaro.org> Content-Language: en-US From: Hans Verkuil In-Reply-To: <20221204182908.138910-3-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/12/2022 19:29, Krzysztof Kozlowski wrote: > Convert common HDMI CEC adapter bindings to DT schema. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Hans Verkuil Thanks! Hans > --- > .../devicetree/bindings/media/cec.txt | 8 ------ > .../bindings/media/cec/cec-common.yaml | 28 +++++++++++++++++++ > MAINTAINERS | 2 +- > 3 files changed, 29 insertions(+), 9 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/media/cec.txt > create mode 100644 Documentation/devicetree/bindings/media/cec/cec-common.yaml > > diff --git a/Documentation/devicetree/bindings/media/cec.txt b/Documentation/devicetree/bindings/media/cec.txt > deleted file mode 100644 > index 22d7aae3d3d7..000000000000 > --- a/Documentation/devicetree/bindings/media/cec.txt > +++ /dev/null > @@ -1,8 +0,0 @@ > -Common bindings for HDMI CEC adapters > - > -- hdmi-phandle: phandle to the HDMI controller. > - > -- needs-hpd: if present the CEC support is only available when the HPD > - is high. Some boards only let the CEC pin through if the HPD is high, > - for example if there is a level converter that uses the HPD to power > - up or down. > diff --git a/Documentation/devicetree/bindings/media/cec/cec-common.yaml b/Documentation/devicetree/bindings/media/cec/cec-common.yaml > new file mode 100644 > index 000000000000..af6ee5f1c73f > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/cec/cec-common.yaml > @@ -0,0 +1,28 @@ > +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/cec/cec-common.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: HDMI CEC Adapters Common Properties > + > +maintainers: > + - Hans Verkuil > + > +properties: > + $nodename: > + pattern: "^cec(@[0-9a-f]+|-[0-9]+)?$" > + > + hdmi-phandle: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: > + Phandle to the HDMI controller. > + > + needs-hpd: > + type: boolean > + description: > + The CEC support is only available when the HPD is high. Some boards only > + let the CEC pin through if the HPD is high, for example if there is a > + level converter that uses the HPD to power up or down. > + > +additionalProperties: true > diff --git a/MAINTAINERS b/MAINTAINERS > index 07cb85cac4c3..45402e03cda5 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -4832,7 +4832,7 @@ S: Supported > W: http://linuxtv.org > T: git git://linuxtv.org/media_tree.git > F: Documentation/ABI/testing/debugfs-cec-error-inj > -F: Documentation/devicetree/bindings/media/cec.txt > +F: Documentation/devicetree/bindings/media/cec/cec-common.yaml > F: Documentation/driver-api/media/cec-core.rst > F: Documentation/userspace-api/media/cec > F: drivers/media/cec/