From patchwork Sun Dec 4 18:29:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 29441 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1896429wrr; Sun, 4 Dec 2022 10:30:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf6higWNq/P8XgsULumsRAKT6igFoobszWaeSSmyqP0iADTd0l6wWyNIDWXarvtPvwK5a8Mq X-Received: by 2002:a17:906:2b81:b0:7c0:f716:e395 with SMTP id m1-20020a1709062b8100b007c0f716e395mr911687ejg.160.1670178632807; Sun, 04 Dec 2022 10:30:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670178632; cv=none; d=google.com; s=arc-20160816; b=hZPjdudCaojpfPNMA72cBO708WNQe8Vzqs0Sc7+J/7Zdddd+4cUOPLZFfBv5zfcKaL uYmrTSTcuKIJIo3eYOX6Xb5rjWg7Q19UKvGM9DAFEBaMILlugkQ8q5wYlhvd8IrSpybj 4PCj+Xj2tfQy7APPJUo+QkNKcF5x9q2b5Uy8kEJLj2tg9LZUsTM1MV+zr98YgpGmxFIU uP6LKjucNVO554nMyzArzhZ5FR/mWhDqKP6mm6nKrxK11wLV6Iie2nbObuPNIrirLn3V 3bVjgJYw6nUQZsV5A6dcd9f87yUalToLV8+AtlLCzS6mheEp1H+3yvNJBLXOKpBVoKyF Z7Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=w4/E18WmIhglr3OIlvmjkp6vFsJUZQRrJVlXhfNxPYU=; b=cVvBbQ//UHnikZww2Szx8f8s7JSTjeclb0H5j4JuAy4fykzygbIMIqridn+vnPd2EA AWBTPVjnCblBZ2cszbXc4yy+1/s+5WFzWWU1QM3LusblYL1pbv3StOIMGNEB4m6g1lNi ufkJ6R1cNx6Rt8/Rvu6RY6qlzoJxmUQGAjzHCYfK4SfasL2eloRXiCCr1Dr6CoZzg0aa 9cLsbpdBiBVQ0X2GiVDTk2Le3gLMi8qqJiolXd3oKhKuOe6dJkiUQ7GxeeLyGJYCOpTT KO/Uqfl0ZHNCGVY51Ja/SQPEvjgcneqS119CaXNeuZ5Dgn/pe7Lb03X4buRs+Wl9J0so IoMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="y/MaX5ZO"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ft31-20020a170907801f00b007b5dd3e6995si7369312ejc.917.2022.12.04.10.30.10; Sun, 04 Dec 2022 10:30:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="y/MaX5ZO"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230415AbiLDS33 (ORCPT + 99 others); Sun, 4 Dec 2022 13:29:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230315AbiLDS3W (ORCPT ); Sun, 4 Dec 2022 13:29:22 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C85512ABD for ; Sun, 4 Dec 2022 10:29:20 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id g7so15368601lfv.5 for ; Sun, 04 Dec 2022 10:29:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=w4/E18WmIhglr3OIlvmjkp6vFsJUZQRrJVlXhfNxPYU=; b=y/MaX5ZO0cE3OPHHfY0RQC5DkkHWNuMMXBloy+HhZpTftpttNLVdUyeJCINV3JvSkm IdODTo8/NmOen8XdIXzlS0GtqzXABocwgPL3d+RjX5sR47e8NTLJ/k1dbZHCN+qlHVxd OC9V/4qHfEOsdWeD9/qOd18cdKxMNCIVXF1Dz7govCRYD+x19nqUWDnfosZQJVaZYTxM /fyJR7+ngzf8VaQQm00Zmu8g/HCSbRQuNSxSm8BeJcJvvnkeJQXfZFPx+DNGQTANvzrE G6c0LoOryyUOWlWAxf7Nz3mRqCfY6YcwQWEoF75Tsvv6wR1PG8xatDFL9W22KjKaUZdy HYfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=w4/E18WmIhglr3OIlvmjkp6vFsJUZQRrJVlXhfNxPYU=; b=cgJ6vo+ORP5cNXrBA+1b0MIkaOvzUZiISwFjLc7Aw0+laK5VFA2gztxwAYNGbXROHf PaCaz0bZyBh1yJj4HfBYgdsqnS6K9bmcXOqVXcRQQaEJyCq2A84ls4VVw6R3tPj4npWl 4HbhgHN4h6sUKQ7WBx6V1uZEhW7WsmvjhlyQRPhYbsZLijwsyp7RNiWEQLtGlxBz7D3d WV3n0R4Oqt9DVffsZvUc1/49FKTq9GRkW1fJi478H+ESy4yEHfk6gh1KhZRq6JG9Y785 Ia6kqz2U62Xzj1Fr4Ti7ySenUysjTr5PR9MC9Ufr7PqeyQksXr4w4apGrXZSXpT4+vdM 8GVQ== X-Gm-Message-State: ANoB5pkIDD432LVgO7GbRDyDUDjkK940IpbZfInkX7dHdBX9powG2QO7 u4iUd/ffkHiajS70pSKtXVUbMg== X-Received: by 2002:a19:3817:0:b0:4b4:e61f:16c8 with SMTP id f23-20020a193817000000b004b4e61f16c8mr21126378lfa.377.1670178558338; Sun, 04 Dec 2022 10:29:18 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id i15-20020a056512340f00b004b3b2a9f506sm1838996lfr.4.2022.12.04.10.29.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 10:29:17 -0800 (PST) From: Krzysztof Kozlowski To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Hans Verkuil , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 1/9] media: dt-bindings: amlogic,meson-gx-ao-cec: move to cec subfolder Date: Sun, 4 Dec 2022 19:29:00 +0100 Message-Id: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751309230442223186?= X-GMAIL-MSGID: =?utf-8?q?1751309230442223186?= Move amlogic,meson-gx-ao-cec.yaml bindings to cec subfolder and drop unneeded quotes. Signed-off-by: Krzysztof Kozlowski Acked-by: Neil Armstrong --- .../bindings/media/{ => cec}/amlogic,meson-gx-ao-cec.yaml | 4 ++-- MAINTAINERS | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename Documentation/devicetree/bindings/media/{ => cec}/amlogic,meson-gx-ao-cec.yaml (93%) diff --git a/Documentation/devicetree/bindings/media/amlogic,meson-gx-ao-cec.yaml b/Documentation/devicetree/bindings/media/cec/amlogic,meson-gx-ao-cec.yaml similarity index 93% rename from Documentation/devicetree/bindings/media/amlogic,meson-gx-ao-cec.yaml rename to Documentation/devicetree/bindings/media/cec/amlogic,meson-gx-ao-cec.yaml index 8d844f4312d1..f65c9681a9f7 100644 --- a/Documentation/devicetree/bindings/media/amlogic,meson-gx-ao-cec.yaml +++ b/Documentation/devicetree/bindings/media/cec/amlogic,meson-gx-ao-cec.yaml @@ -2,8 +2,8 @@ # Copyright 2019 BayLibre, SAS %YAML 1.2 --- -$id: "http://devicetree.org/schemas/media/amlogic,meson-gx-ao-cec.yaml#" -$schema: "http://devicetree.org/meta-schemas/core.yaml#" +$id: http://devicetree.org/schemas/media/cec/amlogic,meson-gx-ao-cec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# title: Amlogic Meson AO-CEC Controller diff --git a/MAINTAINERS b/MAINTAINERS index e3f3c3e53f77..07cb85cac4c3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13553,7 +13553,7 @@ L: linux-amlogic@lists.infradead.org S: Supported W: http://linux-meson.com/ T: git git://linuxtv.org/media_tree.git -F: Documentation/devicetree/bindings/media/amlogic,meson-gx-ao-cec.yaml +F: Documentation/devicetree/bindings/media/cec/amlogic,meson-gx-ao-cec.yaml F: drivers/media/cec/platform/meson/ao-cec-g12a.c F: drivers/media/cec/platform/meson/ao-cec.c From patchwork Sun Dec 4 18:29:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 29442 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1896482wrr; Sun, 4 Dec 2022 10:30:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf6mVluwbusNBBujnHeZ9O3v3Zz4ZcgGRI6gz2lmnaC8ITA63KxFJq9nA8bCj+UsF/EPN11u X-Received: by 2002:a17:907:a705:b0:78d:3e6b:d402 with SMTP id vw5-20020a170907a70500b0078d3e6bd402mr49894825ejc.563.1670178640280; Sun, 04 Dec 2022 10:30:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670178640; cv=none; d=google.com; s=arc-20160816; b=brshAjxPPB5I1rzfx6QhrdmQmrO9NlzesKIYNMKoBS2X9K/5QhvsirGYD2ZFdRYbsk I6ON8vaOYWekiFn/vVDe/8dyUhrmxyUhDIwjBwBSsVfm+xKK0pidq17C7hdmmM1Nq9th HARr4Q9ynY9AgJ3w5zI2+mHTdyUJxMJZhogYpLFiHB4RyXVQlDvpxEqarOKD+yK5UmzR hOZ+rgLyYc0EV8UvtUpg8+Ypfx47B7hyvJWcPJkSrPtzzbI0oq68JSUP2tuvIu42oPr6 +XG9SC/8kpJziUCFRqrIlvdYFm2VPPbxLEI73obVLzCQ5JzEua0XhhlpV4I3EgS/986d 2StQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=t+PteMG/Ads8tC893Hy13VLmIBDMK2suUNCe/1HZdDs=; b=jCnqAY8af+kiu+hP73WKmzsAQjKtW/fbk280nAQx42Tl4vxT29W5N0RRWW4bWmxVeP /0dkK4AKh4LS56fZ6yWCkqlpGAA0IL+elfRt0RR4w4Ik6zDHRq0h0ekEhAR9ZdeqRa4Y L9TXoGEf/QIzomczRvRNY0TimiZgL+Fb964PgG4JhR4uLHk/NEPWsMy8RVBbzoNPO3f6 xbGm5oNyOhlnpjnYgL19hiciUIVsi4icpRWaVc8WiOq1UWGTSkMyS7d5uD0b8JX+wrMg 8rUq6LrGVZcD5nGc/MKnbeAba4AfWtcdLJR/EwSO88gLRl4AxL8IHBaRz9Qz7zCQsg8V sZFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zP5nnhCX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b17-20020a056402279100b00468f9f21c11si681070ede.245.2022.12.04.10.30.17; Sun, 04 Dec 2022 10:30:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zP5nnhCX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230490AbiLDS3f (ORCPT + 99 others); Sun, 4 Dec 2022 13:29:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230326AbiLDS3W (ORCPT ); Sun, 4 Dec 2022 13:29:22 -0500 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EBD412AFF for ; Sun, 4 Dec 2022 10:29:21 -0800 (PST) Received: by mail-lj1-x233.google.com with SMTP id z24so11190951ljn.4 for ; Sun, 04 Dec 2022 10:29:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=t+PteMG/Ads8tC893Hy13VLmIBDMK2suUNCe/1HZdDs=; b=zP5nnhCXiClJ1DgCHNM3yk7JNqSv02YTEZax4FH6Y0gPcr14cFqylT8Hbkz3SNtRTn MkkF0S/zRYGUQLLy4DbRInPHw2yzVtW7QyTVzI4pU4RpNqkljZEkCcCg/LtaUqR2smha hbhh0k+4K7ONv9Dwd34Xy49ceZftpvWYk8vLjLe/4r/8nB6LiBKf0wYrWO4+eP0fH/jD 3L9eUcSGuHBbDzFwLP8nW/QAjNXtSdRxAemSmyqfsEcvdW5FPFWbBwVX038t0+yVF/nA QpcSWxI0MFIR6ADPslPbPPo2k43pYt8w9InuRouSkiNz/hL1UPAbLyX8H8DHD/vrcD1A Zhxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=t+PteMG/Ads8tC893Hy13VLmIBDMK2suUNCe/1HZdDs=; b=cy+XkP6OLGNyd2yk1oXLwJq/scAYc5g0AsLkZ3GVTRvRRuRObrPm6lDA7cxdK137Wn HExhzL8mojNhuQicisPSycuoh6r2XEah32oti9hdS3oTXYK7qdhhlBnfTQZ6vR0AfnT1 yjCocpbnfwLOkNWLlLAZjLgtt80NEUdJw30o1iOBgwUMWeSC1930mYIWwINqRMikkQWA C0rKoULWf/X/LBTA8xxm5Rouxijj5S92eR6MMnGTY+ZAIDiuSb2o6HmqbzzUofOWF11D IoCtDFTK/zf9GFJMFK/JJHurX7TLiGy1aBKv8xMx/YLYX4RNa51RnfcF06+ucLoD0bgR ljxg== X-Gm-Message-State: ANoB5plgUgECfuDpmBYBB2VjwPZibXY1yCdL7qqUclm0pLoW9VwhT5HX cRhbiiPfEdL7dkyK6XrkHgg+LQ== X-Received: by 2002:a05:651c:1145:b0:277:8759:bf65 with SMTP id h5-20020a05651c114500b002778759bf65mr23608947ljo.108.1670178559826; Sun, 04 Dec 2022 10:29:19 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id i15-20020a056512340f00b004b3b2a9f506sm1838996lfr.4.2022.12.04.10.29.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 10:29:19 -0800 (PST) From: Krzysztof Kozlowski To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Hans Verkuil , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 2/9] media: dt-bindings: st,stm32-cec: move to cec subfolder Date: Sun, 4 Dec 2022 19:29:01 +0100 Message-Id: <20221204182908.138910-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> References: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751309237899725650?= X-GMAIL-MSGID: =?utf-8?q?1751309237899725650?= Move st,stm32-cec.yaml bindings to cec subfolder and drop unneeded "bindings" in the title. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/media/{ => cec}/st,stm32-cec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename Documentation/devicetree/bindings/media/{ => cec}/st,stm32-cec.yaml (89%) diff --git a/Documentation/devicetree/bindings/media/st,stm32-cec.yaml b/Documentation/devicetree/bindings/media/cec/st,stm32-cec.yaml similarity index 89% rename from Documentation/devicetree/bindings/media/st,stm32-cec.yaml rename to Documentation/devicetree/bindings/media/cec/st,stm32-cec.yaml index 77144cc6f7db..2314a9a14650 100644 --- a/Documentation/devicetree/bindings/media/st,stm32-cec.yaml +++ b/Documentation/devicetree/bindings/media/cec/st,stm32-cec.yaml @@ -1,10 +1,10 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- -$id: http://devicetree.org/schemas/media/st,stm32-cec.yaml# +$id: http://devicetree.org/schemas/media/cec/st,stm32-cec.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: STMicroelectronics STM32 CEC bindings +title: STMicroelectronics STM32 CEC maintainers: - Yannick Fertre From patchwork Sun Dec 4 18:29:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 29443 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1896552wrr; Sun, 4 Dec 2022 10:30:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf6c6pXmKEhPco4vKJzKM6+R8OrRjY+2XocwsJ3SAltGPpu6H+yp/jKPTJZLwTaCZhRxLJtR X-Received: by 2002:a17:907:9842:b0:7b9:9492:b3f4 with SMTP id jj2-20020a170907984200b007b99492b3f4mr45439819ejc.688.1670178651093; Sun, 04 Dec 2022 10:30:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670178651; cv=none; d=google.com; s=arc-20160816; b=cLyLwTKCkJE7CM3zz3P4uGWRcSr2FNxsgUhr4obvCTlzDe5ar5PWglLZzdbqV22oKH FaoCUibAZw2IdCk6UzaON2Jxx0/WCmzLVrSEatji700blZurrwvHOLiQzi8IT5yfQRT9 6R0yL/+BJTw3OpRc5nCOGw+SibNYBH7DxKFHD4YgHhT5CXTdnpa5PFvWkXEK/cvEmVe2 URW5hfqgn2Xht4eCXXx/PMlt0tWetBx4Go8KtI+VsspxK5qgQKs1eHTSei/rqbMq8RYq R4fYlIoCFe4kGLUnkGwVMwyclmHXw61eS6y5d1ZionB0Bzs44gWp73pVwWsuW6gbosEI 4EzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1gjIuLbuYm9eN5Zaq7wruCJOGXBkxk9TEVxr2ELzNyM=; b=AIlFi0mPOju39NKAaI+Gto+IvrZUiTnW7Jss/5hiMjEMC4ho5zBiSUcdb9iRhqSZ3Y rIWx6k2yS7M8Ox3Z2XmVneFQUsawWFPHfMNBo17XjTEFZlevW5z3e4lam6Xd1qnlW2Cd 33il+AmbFRVD8tsMEWOEhitxDtObeBsvNP8FDjsMk/ED3r4kY+9xs82O/tMnV3bXtL7+ Y1cv5y2ddDn4526erldXjf2AXDiqULls3rzOr/jMNUGyZTaRNQUtQTr5lxrPd0tWc0bP tDdNepAPnoKu7ogb8oPfASfrIT1u/JOgGKVLQShABlODzz6sTkxAlKr9hZY+KZQwUSdd rN1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=msr4c6dE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c19-20020a056402121300b004672d4e4ff2si9515046edw.171.2022.12.04.10.30.28; Sun, 04 Dec 2022 10:30:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=msr4c6dE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230367AbiLDS3j (ORCPT + 99 others); Sun, 4 Dec 2022 13:29:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230357AbiLDS31 (ORCPT ); Sun, 4 Dec 2022 13:29:27 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F136012D15 for ; Sun, 4 Dec 2022 10:29:22 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id g7so15368690lfv.5 for ; Sun, 04 Dec 2022 10:29:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1gjIuLbuYm9eN5Zaq7wruCJOGXBkxk9TEVxr2ELzNyM=; b=msr4c6dETd0XxzdYTY6W9ZWmBlM+poak3c3oJp5hQc7K1UIwvRlM2VBsa7cprd/zQA jzQ/8PRGd3A+ElhWXkO6twmZZxLFir6zHwGBm8UisZjmvLN4D4jS1AzP+dMMa4+69kHx aX8ktNb/E2zX5YVF1PBWxMsZn2am3+NSy9M4cgd/b621JlEyPONraQ49XsXeTpFGb951 PJZEUEDu8HMthVkriHZcZmUTppE/i6Z4FHD9CYiTEJZBX1xZB/wPCMtddQSKOx66r4O/ bda7BXQz69llTsbmmjaT9a/tTot1p/pySV6q73ie9U99cpO0jtqXSGEjTo5u95pvaXv3 s6Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1gjIuLbuYm9eN5Zaq7wruCJOGXBkxk9TEVxr2ELzNyM=; b=o1lhC3PlWELK1v7xFYe1U8RbpZpywtN3T36MMtvr8kZ6PMHfIrJN9iceRo143HzmYN CzmlNn3t/G2dwXRfPzlLzaIvnZi9LvvYWDUH/sIULjPV4ynWo9qK9qzP3XftAtmXQOio Tw5v/VjV3OSTbL1+Vce54RlJ7/cXRAmcUhaf/MrzXyqnTKNHF7yf3DQMsRm3KHlq2UoK QVy697CEnz0mHqPUKVJmMOnW7zwDdk0fi7Gqrk3JFEpLj16o5/4YwL+sqgwWAk3095L1 t+ouM3T/Lja3hudY1fN0vlezVvYfoQHd5PTBKbJbIYMUUDoqXVop90t1hqbpenlkdJn7 UHXw== X-Gm-Message-State: ANoB5plzWvF9Ikt0/SDZwQLfnXY1sKfvaiGTIsDZZnxyqD0tMcnb7FrC KyY6RrhCDwVSX40ZtsFK88hSuw== X-Received: by 2002:a05:6512:250f:b0:4b4:abb4:c34d with SMTP id be15-20020a056512250f00b004b4abb4c34dmr24680669lfb.218.1670178561302; Sun, 04 Dec 2022 10:29:21 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id i15-20020a056512340f00b004b3b2a9f506sm1838996lfr.4.2022.12.04.10.29.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 10:29:20 -0800 (PST) From: Krzysztof Kozlowski To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Hans Verkuil , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 3/9] media: dt-bindings: cec: convert common CEC properties to DT schema Date: Sun, 4 Dec 2022 19:29:02 +0100 Message-Id: <20221204182908.138910-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> References: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751309249087354411?= X-GMAIL-MSGID: =?utf-8?q?1751309249087354411?= Convert common HDMI CEC adapter bindings to DT schema. Signed-off-by: Krzysztof Kozlowski Acked-by: Hans Verkuil --- .../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/ From patchwork Sun Dec 4 18:29:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 29444 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1896670wrr; Sun, 4 Dec 2022 10:31:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf7/fC+CMDMWyS7NAh4ruQmNFncGAjJx9fM55lmivLADX9Af7eqAeJ+2cfsjfvIscVODcAYQ X-Received: by 2002:a05:6402:2074:b0:46a:bb9e:40d1 with SMTP id bd20-20020a056402207400b0046abb9e40d1mr37938785edb.242.1670178669200; Sun, 04 Dec 2022 10:31:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670178669; cv=none; d=google.com; s=arc-20160816; b=Wg2cvmcfRtVt1RC0QjzzOh1/8cXlVUlKUAwENHZdQkXZRSq250wSJSx/nmvtW5HfgY but45Q6WBu7n0aHTQGhhRPOz8qWl6AZDDm6ZLMuJqHL/dsWcQll3LIJctCcW7aonnZJu frnOBhuIG0/XwWDhiOiip5U3R/vNvfP4yRFWVtm61lkspxftTEqM0YGuSwYfgs6eZZpe MVewWUjtJD4uaa/oZXS7//o/vfPmG1Tthv4v5lTLfXQrPGS/pRFIL13SOHWJtoCh/KLD Zj5tblFSE61v96ONGgyFPvG8htdowS4/JcCLkCw8ZoaHbaGr1oYW0LnStOyvTk3YREm/ 0DSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=k3M3VyN+gt6ftGeaDe6rXF+qMLaJNZCrheDPOaVNkN4=; b=FmC/BJdILpo18y+0jXTX+0lQ2rcqaXHOu01MbHBBsDp5F6gUpwigdrEI7Tqppjj4Fu V9vTZRfb5QYrbuOwWXXe9umx0aF4kBBynoM55dIr2/o2fqnrNeEK6qMvzFjMApn3fQW4 gqIY0Emn6iE4hD15vvxkGs/Q71nFYxDxK67jL35b8z3yvt6mjpxBNWC+b6yCA5po1RIq 2Ryua7rXMmxMK25BQlHHongKGn05uWqLn1cCyT7X0SfSNaKIDd74/IQWpXmpVwFO/uOW 8XeNwONyXUb+2g0pP4EftBqC4XvxKoo9M1jhnGAQ82lf/ReTx7BMQc4DNq/Ey/9NfRnc 9SWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ds+u0ZbE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sc23-20020a1709078a1700b007c07d0c3c53si11368622ejc.532.2022.12.04.10.30.46; Sun, 04 Dec 2022 10:31:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ds+u0ZbE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230196AbiLDS3l (ORCPT + 99 others); Sun, 4 Dec 2022 13:29:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230385AbiLDS32 (ORCPT ); Sun, 4 Dec 2022 13:29:28 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B66E12D2F for ; Sun, 4 Dec 2022 10:29:24 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id s8so15347830lfc.8 for ; Sun, 04 Dec 2022 10:29:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=k3M3VyN+gt6ftGeaDe6rXF+qMLaJNZCrheDPOaVNkN4=; b=Ds+u0ZbE0sJq/iBjWNK+IxPNbNDviPYZcAp+xql3tG9OD0vWUJ8mfgXG/Vaw9ddwiW xEav0N5hivFM+WsRUKsisnKVi+OmcpfL+dZh8IyGIx3ry1F7tciUd61J6xe5BkkBOu35 qcgH6KTuszPG+CggawH1zVfd+rwsK/WqTeoFO4uhXP40rVGDcGMBqo3AJ7jCC99KeYuS 3slDIWRZWydsycY6PPEmkDMDfNgcnAMpx0XUZpzcDVZls3N9jS2EkxyZUeIlfG8lW2To BbA7HiVcq1qaBvak1jJPKyygT50cVcPfUrAjRvEflATLZXrFKApwLkzPdn4FeUE+3iUa XySg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=k3M3VyN+gt6ftGeaDe6rXF+qMLaJNZCrheDPOaVNkN4=; b=phHy6H5RCf0Hi2eyE00CG9y2iKLpd0e3ffUDpqubnW8tlbit1kO4RHs4WxWkuJL2Av aj240szkYlcqKceMBmM4ebKrcdCpw0aoZZmaG3HYBsdUvV6F2byQH1uUwj/axSphywgm 7dZRAGQrAbVRCkrwd7ZlBsw+Qc43eRHruF9RIEduIJth9lCYr1Bo28rftQOESY3ztbIX ELdHmpN1h398wm7RH9NQ0+Vmeg77KU7wOI2RbCZgN+XQvtiYeQFeGbMTiAb6WibeBXoy CBqVHHClP8uOcgwdj1Uj1wmpNAK0q/cQX51AuDZ4JHwmN8Bjo/Qb6sT7qYvLYsb2+DtE zqfw== X-Gm-Message-State: ANoB5pl4aUlUhk+1IYy1qVN1zw+feefQxB6HZqZy4+0MYyKndKX1TzJb AalvGfsFs38xF6/N0k9Cagq4AA== X-Received: by 2002:a19:f713:0:b0:498:f36a:76fa with SMTP id z19-20020a19f713000000b00498f36a76famr27418948lfe.532.1670178562707; Sun, 04 Dec 2022 10:29:22 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id i15-20020a056512340f00b004b3b2a9f506sm1838996lfr.4.2022.12.04.10.29.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 10:29:22 -0800 (PST) From: Krzysztof Kozlowski To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Hans Verkuil , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 4/9] media: dt-bindings: amlogic,meson-gx-ao-cec: reference common CEC properties Date: Sun, 4 Dec 2022 19:29:03 +0100 Message-Id: <20221204182908.138910-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> References: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751309268440347181?= X-GMAIL-MSGID: =?utf-8?q?1751309268440347181?= Reference common HDMI CEC adapter properties to simplify the binding and have only one place of definition for common properties. Signed-off-by: Krzysztof Kozlowski Acked-by: Neil Armstrong --- .../bindings/media/cec/amlogic,meson-gx-ao-cec.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/media/cec/amlogic,meson-gx-ao-cec.yaml b/Documentation/devicetree/bindings/media/cec/amlogic,meson-gx-ao-cec.yaml index f65c9681a9f7..b1fab53418f9 100644 --- a/Documentation/devicetree/bindings/media/cec/amlogic,meson-gx-ao-cec.yaml +++ b/Documentation/devicetree/bindings/media/cec/amlogic,meson-gx-ao-cec.yaml @@ -33,11 +33,8 @@ properties: interrupts: maxItems: 1 - hdmi-phandle: - description: phandle to the HDMI controller - $ref: /schemas/types.yaml#/definitions/phandle - allOf: + - $ref: cec-common.yaml# - if: properties: compatible: @@ -81,7 +78,7 @@ required: - clocks - clock-names -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Sun Dec 4 18:29:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 29445 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1896741wrr; Sun, 4 Dec 2022 10:31:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf6M1gMdt7buYj779hqPGVDmNTIsWOdZGifeI/dWCySmNJve6V9HSxRbYQgv9CEUOdkjCFw/ X-Received: by 2002:a17:906:6153:b0:7ad:b51d:39d0 with SMTP id p19-20020a170906615300b007adb51d39d0mr65208345ejl.571.1670178680683; Sun, 04 Dec 2022 10:31:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670178680; cv=none; d=google.com; s=arc-20160816; b=jnJgm4cy1Pjymkw5f5IykHIgwrdixvMyGeqBrblpWMi+2eKir2Dh2Z+u5TjAAddTCU +iW5pktYsVqNeN62L/CP/59ouzDXCTP9oQ0wB+G8vAkVaNlpbWolfCQVZkzhrbF+LJfP acYtmmPAruvfhJcluUx+6IMr95S32HtWhKnXuzc9kk7iyggghw/8H+iO31n0yqxjdXga sLTqJabz/LqTN1NlbfXAbC9Hq1j1y0xW+pKtMUtl2F+fnBhShybd0qHml8BvYjAbfZGA 3OGaucAaTj2X4ZeMNRjKxJOVfKNNxgpVgUH+5phJw/OTE5UtOYEiqPKdUgzeDuaYdD+b y6gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ryJoqPUtDVrF6ZMuGugpVvxdT6Olzct3tNuDLcoDxHw=; b=tbi6ps5qSZ6k1QRdxs4xC9S2tPOOvbOEPkX7nvMOIsaaDnqBPD3Fp5eC1GEuH6Tjoz qOMO1bKtzlt66CLVyi6dHFfzKpYpdBBjf6/CD+su+LC9MtU2jeLSac3OpazhtZZoJRzV qOVLeCTzvr03xnPU9+MA2e5LCK/6mf76vlrirf4FIpI8oEkCGBibCbhQEa2v+I27/3U5 U5ExRRrLC/nhpu/IlklxmPRxdKRf2FW9+AP0413hml0oHPYiY0WlZqxF34sSjR4AzaaM urSZ50jaoxY2qE7Cu6vvJpQ6WS4uWi2iB9QwYoXtDUnZP4aNVdD2i4SrNbLjgL9UOLq5 H17g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IfFkxwrP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hg6-20020a1709072cc600b007add8160fd9si10650097ejc.765.2022.12.04.10.30.56; Sun, 04 Dec 2022 10:31:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IfFkxwrP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230343AbiLDS3p (ORCPT + 99 others); Sun, 4 Dec 2022 13:29:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230413AbiLDS33 (ORCPT ); Sun, 4 Dec 2022 13:29:29 -0500 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD83913CCF for ; Sun, 4 Dec 2022 10:29:25 -0800 (PST) Received: by mail-lf1-x135.google.com with SMTP id s8so15347877lfc.8 for ; Sun, 04 Dec 2022 10:29:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ryJoqPUtDVrF6ZMuGugpVvxdT6Olzct3tNuDLcoDxHw=; b=IfFkxwrP2J1yEUneey53OCR0QJMYN7AzZLeaCBqufcp2eaE4MYqTHjtFVJYQhKFAGq CS5dL2cp1T0WrQl2ZmyrY4UhTGKIs8hm+R0sw5rumVaswUPmoSGfp0NQFUxwtbllt8+u XAhbonsl8ib/T9GefJ6b3q0xb4S01g2gXehEpQmFcSkH4vBfvn8ZJHlcQDxiK+oGxepR hBk+Mujnls2YCaYsqvN2Ek9vwuGtD5hq5RsXRKpKtof3vu0oYVgTI95GbFK/sc43hlzC ErsbXezeV//52O9fCKNc1nCaUNLbGlbWEc1N3D/Q3Ughd6BS7soYqwCOWSulvuIJ507h qRYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ryJoqPUtDVrF6ZMuGugpVvxdT6Olzct3tNuDLcoDxHw=; b=bUjl3vAp5i+vse+nVCDviMugo7NCLu+AeWjuuzyos8E0oA4gV+0ZtI9y40LuU55D2W C1+QFBlC4FKkrASlMuc/4uzOrR0v6SlEFUQyR9v7nYakHtgZkgOFp/HJYyKTuiwpa7hX NGzt8iSoTgNdR8DBaMph5fy01QEKS0XcE3c9DtS8788E53pSnpUdsv2bh7jG+1Kr/jxb BCHgsVvbHX71JsqtJOmiu9T2d9omNU5S44i9DvDUIw2Qv4YaEs3cmWGzveCb4m/AJNT8 QJpUC0ty+IVdL5RDwsddi+N9gtQE9bz85VMPRCJ558+J+F+s0awB2RKk4GRCwosXuO4K N2Pg== X-Gm-Message-State: ANoB5plBFmH9c9taaLcwW/sRfxquxTQkCEWtl7tmq16x1xioLlCVwp/y voffmF0JuXJf/O7Fnfvu+QjxFg== X-Received: by 2002:a19:6903:0:b0:499:8e29:2763 with SMTP id e3-20020a196903000000b004998e292763mr29560291lfc.137.1670178564112; Sun, 04 Dec 2022 10:29:24 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id i15-20020a056512340f00b004b3b2a9f506sm1838996lfr.4.2022.12.04.10.29.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 10:29:23 -0800 (PST) From: Krzysztof Kozlowski To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Hans Verkuil , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 5/9] media: dt-bindings: chrontel,ch7322: reference common CEC properties Date: Sun, 4 Dec 2022 19:29:04 +0100 Message-Id: <20221204182908.138910-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> References: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751309280389238124?= X-GMAIL-MSGID: =?utf-8?q?1751309280389238124?= Reference common HDMI CEC adapter properties to simplify the binding and have only one place of definition for common properties. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/media/i2c/chrontel,ch7322.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/media/i2c/chrontel,ch7322.yaml b/Documentation/devicetree/bindings/media/i2c/chrontel,ch7322.yaml index 63e5b89d2e0b..50937bf5ebda 100644 --- a/Documentation/devicetree/bindings/media/i2c/chrontel,ch7322.yaml +++ b/Documentation/devicetree/bindings/media/i2c/chrontel,ch7322.yaml @@ -13,6 +13,9 @@ description: The Chrontel CH7322 is a discrete HDMI-CEC controller. It is programmable through I2C and drives a single CEC line. +allOf: + - $ref: /schemas/media/cec/cec-common.yaml# + properties: compatible: const: chrontel,ch7322 @@ -40,16 +43,12 @@ properties: if in auto mode. maxItems: 1 - # see ../cec.txt - hdmi-phandle: - description: phandle to the HDMI controller - required: - compatible - reg - interrupts -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Sun Dec 4 18:29:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 29447 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1896814wrr; Sun, 4 Dec 2022 10:31:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ZtAqOtyDqISTGOD5c5jPfwA3c7LLHQRql9g5yc/qxaXl66MXaWpNz7rHKHHDmSGSh/6ot X-Received: by 2002:a17:906:14c2:b0:78d:554f:fb16 with SMTP id y2-20020a17090614c200b0078d554ffb16mr67167588ejc.151.1670178694469; Sun, 04 Dec 2022 10:31:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670178694; cv=none; d=google.com; s=arc-20160816; b=Em3p8z5VUaex1vx/2ARiWbbISWN0KSRns3962VwhSJt5rgb/PIj/VvISFNx2lRKO/r Qm+BsBPePxGtu6m6/S1F/7EHDo5riJ/wU216FSaPXEtrl4w6wwaN9tV+i4ujQrlxT8nw pgyxp+jgvXbOPFZcD4TsWn4OYnX1iWWg1BzUSiqF1vqqKsfLMXNB4XKAGyuIqo75LycO 02EDR7Tkq3ReUOgJzl+x+IBv+K39hQA7LpLTqAPafrmMDK/pIFmAthejX0SoRNaAT9pP Jk36dDTJ+wOcmtnFe5VCPR85WcBcTOJqSKbqTuwdPm1jdvEvjhiY0rJuBES2i5h39rb0 5GJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ioUCktL+IK6H1GUGfnY9+vm5EQylIwow6IsLvhdaPps=; b=Q6YG4NEdyzXFITqASTXnsiqrlP51LJQxx1kRlHHVNWFF45dDxdA9IRkVTAkpvqtQcK KvPrE/TsGV6WK2Q2fJCcTzJBlrjVU+2Zlza+DQW8cQTqRetyaASq69AreCb3FFaW4WQ/ 6DkVS/LLC6PiALBvwdySp21/wSwphpTe5KG5HOkG1g1BCxQEm1QvrqOv/K9+n6Ocv0v5 ZYfhYXW5brdJV5Tq7qQndFwR8dl/ADillw+qie2LYqN5USqVAwduIhn4njsKtjwQk2WQ wI1WwzA7SeBWgX2bMx9r4+anPQsq5CQIwTWV/Z9z1OOiIgt8GNoTLN1WWFEAQCGiJGK7 K7bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cleRRtVt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne10-20020a1709077b8a00b007c0905bab0esi11268289ejc.59.2022.12.04.10.31.11; Sun, 04 Dec 2022 10:31:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cleRRtVt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230463AbiLDS3x (ORCPT + 99 others); Sun, 4 Dec 2022 13:29:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230441AbiLDS3a (ORCPT ); Sun, 4 Dec 2022 13:29:30 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E81D13CE1 for ; Sun, 4 Dec 2022 10:29:27 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id f21so14475679lfm.9 for ; Sun, 04 Dec 2022 10:29:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ioUCktL+IK6H1GUGfnY9+vm5EQylIwow6IsLvhdaPps=; b=cleRRtVtz8rGYEKyWAHhjbMzZRQakqbIx+blIrS5t0V5cYx6Vr5tOejhOF+IDxlxIo 0MaSj7Wl9wa5ortLlyL/CLju69Z37QvkHmcfpI6QtjqEjmFAfFjLDxCFZExYElLP5sRo MZ1uPqhC7ESsyDdZEK4im38Zbwnxq20mRyBi74QCsQeRNMhIqq7/CPeLTSn9kePjUgeu vovqvOpYic/RI5FCprde8VwgIJYWAgOLusIGCbTMNILQqEDzWwlEeKMpcRRzG/+RTDvq OKfjqSD9FQYP9SBkBPJcxkEKIW2ZG04VdKQbqYrWgDNskvK5W+hW0l8d5eaYVrW2QiZG uXpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ioUCktL+IK6H1GUGfnY9+vm5EQylIwow6IsLvhdaPps=; b=E6+gQ/2c6RbkPlkSOhVhqUizgFvxDdFYmhcV0jhY8u5pxNX8h9+DUGVZSp3lb57QiT 8+w+++GDKGIyhVvrzKC9Hy8Mc47uGs2GT2VvOZaG9EvKscF+q89NLN42kjNvdw2/rcS2 B2vQisqPWtnnX9nZ6xwCft9EoAJGfgGGHdElyEYSWmPfAngDD7Ewna8v2fy0X6hLebHR 3+TguYlrYmivWx4WV9uFUCvZBw6YVLKaOMoPK4LhcD7k0d+N/KsdvuAPQM/kT0xkk5ic CSF7yv2/siZ+O8zupIusw9iKuH3v+SKFlYkPTiDbNaAz1qvcgZq/X3QfmglRzq0VidcW dAkw== X-Gm-Message-State: ANoB5pnO3Vo978hmYLuRniIfGr2u18srnUjNDYJiyjHKFk5vtaHn8Qsw OvLDIrd3tNF/ukGdLmYV7KYEng== X-Received: by 2002:ac2:4558:0:b0:494:6bb2:485f with SMTP id j24-20020ac24558000000b004946bb2485fmr22556449lfm.451.1670178565503; Sun, 04 Dec 2022 10:29:25 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id i15-20020a056512340f00b004b3b2a9f506sm1838996lfr.4.2022.12.04.10.29.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 10:29:25 -0800 (PST) From: Krzysztof Kozlowski To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Hans Verkuil , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 6/9] media: dt-bindings: samsung,s5p-cec: convert to DT schema Date: Sun, 4 Dec 2022 19:29:05 +0100 Message-Id: <20221204182908.138910-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> References: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751309294902593921?= X-GMAIL-MSGID: =?utf-8?q?1751309294902593921?= Convert Samsung S5P HDMI CEC adapter bindings to DT schema. Signed-off-by: Krzysztof Kozlowski --- .../bindings/media/cec/samsung,s5p-cec.yaml | 66 +++++++++++++++++++ .../devicetree/bindings/media/s5p-cec.txt | 36 ---------- MAINTAINERS | 2 +- 3 files changed, 67 insertions(+), 37 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/cec/samsung,s5p-cec.yaml delete mode 100644 Documentation/devicetree/bindings/media/s5p-cec.txt diff --git a/Documentation/devicetree/bindings/media/cec/samsung,s5p-cec.yaml b/Documentation/devicetree/bindings/media/cec/samsung,s5p-cec.yaml new file mode 100644 index 000000000000..016c8a77c1a6 --- /dev/null +++ b/Documentation/devicetree/bindings/media/cec/samsung,s5p-cec.yaml @@ -0,0 +1,66 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/cec/samsung,s5p-cec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung S5PV210 and Exynos HDMI CEC + +maintainers: + - Krzysztof Kozlowski + - Marek Szyprowski + +allOf: + - $ref: cec-common.yaml# + +properties: + compatible: + const: samsung,s5p-cec + + clocks: + maxItems: 1 + + clock-names: + items: + - const: hdmicec + + interrupts: + maxItems: 1 + + samsung,syscon-phandle: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to PMU system controller interface + + reg: + maxItems: 1 + +required: + - compatible + - clocks + - clock-names + - hdmi-phandle + - interrupts + - samsung,syscon-phandle + - reg + +unevaluatedProperties: false + +examples: + - | + #include + #include + + cec@101b0000 { + compatible = "samsung,s5p-cec"; + reg = <0x101B0000 0x200>; + + clocks = <&clock CLK_HDMI_CEC>; + clock-names = "hdmicec"; + interrupts = ; + hdmi-phandle = <&hdmi>; + needs-hpd; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_cec>; + samsung,syscon-phandle = <&pmu_system_controller>; + }; diff --git a/Documentation/devicetree/bindings/media/s5p-cec.txt b/Documentation/devicetree/bindings/media/s5p-cec.txt deleted file mode 100644 index e847291d4aff..000000000000 --- a/Documentation/devicetree/bindings/media/s5p-cec.txt +++ /dev/null @@ -1,36 +0,0 @@ -* Samsung HDMI CEC driver - -The HDMI CEC module is present is Samsung SoCs and its purpose is to -handle communication between HDMI connected devices over the CEC bus. - -Required properties: - - compatible : value should be following - "samsung,s5p-cec" - - - reg : Physical base address of the IP registers and length of memory - mapped region. - - - interrupts : HDMI CEC interrupt number to the CPU. - - clocks : from common clock binding: handle to HDMI CEC clock. - - clock-names : from common clock binding: must contain "hdmicec", - corresponding to entry in the clocks property. - - samsung,syscon-phandle - phandle to the PMU system controller - - hdmi-phandle - phandle to the HDMI controller, see also cec.txt. - -Optional: - - needs-hpd : if present the CEC support is only available when the HPD - is high. See cec.txt for more details. - -Example: - -hdmicec: cec@100b0000 { - compatible = "samsung,s5p-cec"; - reg = <0x100B0000 0x200>; - interrupts = <0 114 0>; - clocks = <&clock CLK_HDMI_CEC>; - clock-names = "hdmicec"; - samsung,syscon-phandle = <&pmu_system_controller>; - hdmi-phandle = <&hdmi>; - pinctrl-names = "default"; - pinctrl-0 = <&hdmi_cec>; -}; diff --git a/MAINTAINERS b/MAINTAINERS index 45402e03cda5..05acbaecef52 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2866,7 +2866,7 @@ M: Marek Szyprowski L: linux-samsung-soc@vger.kernel.org L: linux-media@vger.kernel.org S: Maintained -F: Documentation/devicetree/bindings/media/s5p-cec.txt +F: Documentation/devicetree/bindings/media/cec/samsung,s5p-cec.yaml F: drivers/media/cec/platform/s5p/ ARM/SAMSUNG S5P SERIES JPEG CODEC SUPPORT From patchwork Sun Dec 4 18:29:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 29446 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1896774wrr; Sun, 4 Dec 2022 10:31:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf7qUumAlmtNiN07B0CZgowcfR5DB0mpS/jHYvCqwIRzC4svJEqFg/PEMRfwxo8sHmWC36pk X-Received: by 2002:aa7:dbd9:0:b0:461:e8c4:d21f with SMTP id v25-20020aa7dbd9000000b00461e8c4d21fmr39248127edt.186.1670178686603; Sun, 04 Dec 2022 10:31:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670178686; cv=none; d=google.com; s=arc-20160816; b=y/OcPr/N+l0M8m1gOnUMFIvzopXThzFtGU9XPNQlQGj9KRHlwVj+tsBKHeCm84lxTj RXYHYcJDdZJEwZ8O51XOPbOFHY8LlKKVu9GLjs0ns9+nGtbm9C6UiSP+OA3ut2yW9UCI CkQMMzKXwwEEkb/iE1K/2OQ77lTa1KW2fPUhEGaakBjP5Gdl852/PVBDEHdVGIBHejqJ wpA8SJpt/+BFpq73BwTbuflL5H6BBpHqCSEolsJWM0W16vPHScjzZxigTQ6cdtJTSM4m Ob4Jso/RbVIJOU1JMipbQMjqWuuxC+Dtr7udPFb+HS47nj/zIvzGm2lJoUw5wlUoWewQ n93w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cfEljQl4EQnYkf8QlT89AMte2GMs3c8lv3oMt/y+GaM=; b=G5fEYBbvBqoZ1DEtKrxVMkWTfmc7ZiTBQ9/UumbXWPNxI/pP13QnccLyM30605iIJF 3sqIfj9AR3y8/S2Uy/vnhhQHbe65C952debTrDJ0LFjowlgjReMvK8F/9RlyiwrkQTnI tHQlEcSNAGwtdNOKdQHZ+uNnXLdrb5/YHi35U8DIAIcVEqTbpU8ghgFoIHbzAA4xz6P9 vMsUl9sDTn4FHxRzYKAb993a/K+6wS+BEaQruqyv8cr/whk6EsnaDu3C/E7puyR5/K9K B1mvgv8Ow5lxcCvo+uBMbMaog6ppAiCVPTZOPCYYA35lBxeOcCY7qUchDoMBEGOVZDYu RkDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RzOP2wIm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l11-20020a056402254b00b00461d2ed78acsi10972320edb.378.2022.12.04.10.31.03; Sun, 04 Dec 2022 10:31:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RzOP2wIm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230453AbiLDS3u (ORCPT + 99 others); Sun, 4 Dec 2022 13:29:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230452AbiLDS3b (ORCPT ); Sun, 4 Dec 2022 13:29:31 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9700C13CF6 for ; Sun, 4 Dec 2022 10:29:27 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id c1so15347581lfi.7 for ; Sun, 04 Dec 2022 10:29:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cfEljQl4EQnYkf8QlT89AMte2GMs3c8lv3oMt/y+GaM=; b=RzOP2wIm9bCZ5ESuvwDuHywgx5HU0X8Hi4roafacV4qFdB0j4u+7UHp7eXTTV85PrX o71gYyStglO3NPs9SY/YW81rvDwchWHXgOc1Ss3OtNNQv2ThPsNTKb+FBcX71juysNau ky9X+Q24/xKE+usvEYdonDkgwwQvLfOG9WWdZIXnxuJGzDTcXRUMo8u16Un7RNGIwVxC FDrvFudqI6fNoFolPuNKd2rGIotUDucKkwyCjJ1AW2k9SzaLcYUaRlB5g3xZMLvbNRoU 1LgHBn9No1SLUBXq8MgMGy4sTZwavgfWvH2ii7i9OjISMt/UVXkrsxkxoxUr3R+akxoM 8yEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cfEljQl4EQnYkf8QlT89AMte2GMs3c8lv3oMt/y+GaM=; b=31nyGp/uFeMor6DriYTtzs4nI06+SV516Bip5Y6JMyT0R03tOaavPEnrrTuaUqOHMB tY0GNQh2kKDWX6DE3MpwFKxrnc2Yvh4ZB4VrqnzQRlzNI6rChN9+TPUNmRdxH/9rhMQ3 PmXLKuDQehCTCOFejqZg6/vtN6qIoIeCzbshr4Hw6E93Q0TyBxFmkedeSRNlBsjv6fed gAqLsNCtNJ7YHJzsJ6uwEJUnEHds8S9JAGPfe+Z0I/enuhW9ZvudB9eeCPM0c9lkVx1d xm9MfafIFzuOXVTVnBlD0vtqmHKBFEJZ9fvzzpvlOLWdiERP+peBQmNF1oAPhmeC9I6a YOZw== X-Gm-Message-State: ANoB5pkM99xC2gPt4axsG4kUv957XWafd/ArLVcdjiv9DNjluum3mlLl MZt9dRE0SQijQoqtKqqr/hBxow== X-Received: by 2002:a19:4901:0:b0:4b4:e3b8:c6af with SMTP id w1-20020a194901000000b004b4e3b8c6afmr21611090lfa.291.1670178567147; Sun, 04 Dec 2022 10:29:27 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id i15-20020a056512340f00b004b3b2a9f506sm1838996lfr.4.2022.12.04.10.29.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 10:29:26 -0800 (PST) From: Krzysztof Kozlowski To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Hans Verkuil , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 7/9] media: dt-bindings: cec-gpio: convert to DT schema Date: Sun, 4 Dec 2022 19:29:06 +0100 Message-Id: <20221204182908.138910-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> References: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751309286708039640?= X-GMAIL-MSGID: =?utf-8?q?1751309286708039640?= Convert HDMI CEC GPIO bindings to DT schema. Signed-off-by: Krzysztof Kozlowski Acked-by: Hans Verkuil --- .../devicetree/bindings/media/cec-gpio.txt | 42 ----------- .../bindings/media/cec/cec-gpio.yaml | 73 +++++++++++++++++++ MAINTAINERS | 2 +- 3 files changed, 74 insertions(+), 43 deletions(-) delete mode 100644 Documentation/devicetree/bindings/media/cec-gpio.txt create mode 100644 Documentation/devicetree/bindings/media/cec/cec-gpio.yaml diff --git a/Documentation/devicetree/bindings/media/cec-gpio.txt b/Documentation/devicetree/bindings/media/cec-gpio.txt deleted file mode 100644 index 47e8d73d32a3..000000000000 --- a/Documentation/devicetree/bindings/media/cec-gpio.txt +++ /dev/null @@ -1,42 +0,0 @@ -* HDMI CEC GPIO driver - -The HDMI CEC GPIO module supports CEC implementations where the CEC line -is hooked up to a pull-up GPIO line and - optionally - the HPD line is -hooked up to another GPIO line. - -Please note: the maximum voltage for the CEC line is 3.63V, for the HPD and -5V lines it is 5.3V. So you may need some sort of level conversion circuitry -when connecting them to a GPIO line. - -Required properties: - - compatible: value must be "cec-gpio". - - cec-gpios: gpio that the CEC line is connected to. The line should be - tagged as open drain. - -If the CEC line is associated with an HDMI receiver/transmitter, then the -following property is also required: - - - hdmi-phandle - phandle to the HDMI controller, see also cec.txt. - -If the CEC line is not associated with an HDMI receiver/transmitter, then -the following property is optional and can be used for debugging HPD changes: - - - hpd-gpios: gpio that the HPD line is connected to. - -This property is optional and can be used for debugging changes on the 5V line: - - - v5-gpios: gpio that the 5V line is connected to. - -Example for the Raspberry Pi 3 where the CEC line is connected to -pin 26 aka BCM7 aka CE1 on the GPIO pin header, the HPD line is -connected to pin 11 aka BCM17 and the 5V line is connected to pin -15 aka BCM22 (some level shifter is needed for the HPD and 5V lines!): - -#include - -cec-gpio { - compatible = "cec-gpio"; - cec-gpios = <&gpio 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; - hpd-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; - v5-gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; -}; diff --git a/Documentation/devicetree/bindings/media/cec/cec-gpio.yaml b/Documentation/devicetree/bindings/media/cec/cec-gpio.yaml new file mode 100644 index 000000000000..19169d58316a --- /dev/null +++ b/Documentation/devicetree/bindings/media/cec/cec-gpio.yaml @@ -0,0 +1,73 @@ +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/cec/cec-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HDMI CEC GPIO + +maintainers: + - Hans Verkuil + +description: | + The HDMI CEC GPIO module supports CEC implementations where the CEC line is + hooked up to a pull-up GPIO line and - optionally - the HPD line is hooked up + to another GPIO line. + + Please note:: the maximum voltage for the CEC line is 3.63V, for the HPD and + 5V lines it is 5.3V. So you may need some sort of level conversion + circuitry when connecting them to a GPIO line. + +properties: + compatible: + const: cec-gpio + + cec-gpios: + maxItems: 1 + description: + GPIO that the CEC line is connected to. The line should be tagged as open + drain. + + hpd-gpios: + maxItems: 1 + description: + GPIO that the HPD line is connected to. Used for debugging HPD changes + when the CEC line is not associated with an HDMI receiver/transmitter. + + v5-gpios: + maxItems: 1 + description: + GPIO that the 5V line is connected to. Used for debugging changes on the + 5V line. + +required: + - compatible + - cec-gpios + +allOf: + - $ref: cec-common.yaml# + - if: + required: + - hdmi-phandle + then: + properties: + hpd-gpios: false + + - if: + required: + - hpd-gpios + then: + properties: + hdmi-phandle: false + +unevaluatedProperties: false + +examples: + - | + #include + + cec { + compatible = "cec-gpio"; + cec-gpios = <&gpio 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; + hpd-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; + v5-gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 05acbaecef52..197351d3bb57 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4848,7 +4848,7 @@ L: linux-media@vger.kernel.org S: Supported W: http://linuxtv.org T: git git://linuxtv.org/media_tree.git -F: Documentation/devicetree/bindings/media/cec-gpio.txt +F: Documentation/devicetree/bindings/media/cec/cec-gpio.yaml F: drivers/media/cec/platform/cec-gpio/ CELL BROADBAND ENGINE ARCHITECTURE From patchwork Sun Dec 4 18:29:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 29448 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1896870wrr; Sun, 4 Dec 2022 10:31:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf4IZS50gu16EuORRC2ucvSbUcB6zhGwN83XLgVlf83bSn92RRBehkkaBxhErmQKbSj3aeC+ X-Received: by 2002:a17:906:1484:b0:7ae:6746:f270 with SMTP id x4-20020a170906148400b007ae6746f270mr16893255ejc.728.1670178702631; Sun, 04 Dec 2022 10:31:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670178702; cv=none; d=google.com; s=arc-20160816; b=zHNcxqYeh5uh0Kv0I9aJBwtGx1nVJ5CSikdCmfXH+by3en2UduG+QZVk5KFCkZCw70 TwljXHY4l2iimb2BgQ1rskWR1MNRpBiL6cZGGzC5bxp2zKeqp4IVyp1kCERLNXQgjinz zifFTGOVU7wYmy8NC5V5jeK8ny5qdWTpAb/P74f5/97KwiauGCEJDhlGUs6FyG6Bfn1v SKuTJ9EaDFFrqdKIvHiSk7Tz7G4bLpCPfOVZ157q/hwhBQvqJHKr0KZ3KGJ91yO3ZTs/ WsytbR8YfawJxo4q3KWgKkN/P5VyLsBNMfSyhxo8tx5qSvH3N81w2df594aCMnwPfwPQ Niyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=y8C4yM6JfnWx+5c88oEZ/S1AWqRyQREMQSAfJIbG/3I=; b=NGaT8Hd6LUrFMhLwCj+t/8MwstX/eowofGEdGoNetl9yzxY0MXqJlquJWbs3O4YtD7 JA9QQomNH/ht9bWXFRLVBKMj0PzE+1CI5TqTkIkyBfBgelYSVoUl+E/rfWyhtVN4L7te s2KgG9cafIUVxm3Z/Uk/mKsgz0wbGxT68anl8NQEHuC6SO+USbPiSXo/bj9UkOWNWRSY w17j8LU+r6jtZyhVmft/R9q6VEHm6XmKX16oTCFZqxcEG+hlv9b4b8CRFPBIVFZwDrsG hgkLNu7RKew5qb+vL2UdcthHz+WKjenxDq2VnqvBMSd1YDE9YTG90SMzX/ZHmZSg1+cT v7vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tPr2Okoe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cy20-20020a0564021c9400b004615937b174si10020555edb.480.2022.12.04.10.31.16; Sun, 04 Dec 2022 10:31:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tPr2Okoe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230123AbiLDSaC (ORCPT + 99 others); Sun, 4 Dec 2022 13:30:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230472AbiLDS3d (ORCPT ); Sun, 4 Dec 2022 13:29:33 -0500 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6481C13D22 for ; Sun, 4 Dec 2022 10:29:30 -0800 (PST) Received: by mail-lj1-x236.google.com with SMTP id r8so11167100ljn.8 for ; Sun, 04 Dec 2022 10:29:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=y8C4yM6JfnWx+5c88oEZ/S1AWqRyQREMQSAfJIbG/3I=; b=tPr2OkoerVnmmuJLJeMOIqxvFCUhWxS09ZTSbuWN5MsRcNRMPdkV1xT8YAf5pzvxgz 17DlGft1khgQo+qM2doi/jk03v4D1jjU53wvJW0rRBhwG8rCo2mvmSCPH8H+4MSzQ3Yh Vdh7S7JngzP1RAvaGls/aDG/ibwJSi5v4fq1WBVi9/Q4RoFzHHtaRBoY/6tBLDZGihmw tUoS0inrQc2CPP0ge1uXDfd0kMYZhMaCpA22YQnmJjNePpLezGbXjTjMb6gIjcs+Qk8M /bNVEK0Tslz4DwipoPzYJcY5tvtNWVuywJD/Jn1kqtYOHu2lyKMMHa5ihMx6IWoAY+0s vrkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=y8C4yM6JfnWx+5c88oEZ/S1AWqRyQREMQSAfJIbG/3I=; b=w9lpRKnUxxVmmqbD2NWJxdVeuYto+2BDcy8cQu+EK4faZ63AfKmUkKk04kaXPf8UrY ixOJZdoA8c7N8NpaD1s6TVxPnXKDn54JDcwKtPkxuA27Nz6wi7Lr9qwOpJ03r09N4VbM 7wHitrVMC/ScSXgtzxLTuRqlPGTtt++0guI/lULdNW7ToM6hRoeAcRJYsKnMf8RArWxA aagcDSdzdfiW73DHAMFNiuFvDcgrSmHDSbR0ZwAwOWKeGcfCk+eZEdSH2ExhqZCIFzR3 UC6Ckfjysu0dAiMNLMsaouP4PxnJwvITdVhY3C2SkZdeIKnH/YEGEE7uJy0E8bAqnxvn SorQ== X-Gm-Message-State: ANoB5pn3Nae14/S6D67g3OdobfIqMLTYE4NRS6Jfnkpzmr6fiQdZYb7Y eQhzqDCuNWQR2//LKMgZVES7OA== X-Received: by 2002:a2e:a274:0:b0:278:eef5:8d07 with SMTP id k20-20020a2ea274000000b00278eef58d07mr23643995ljm.61.1670178568547; Sun, 04 Dec 2022 10:29:28 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id i15-20020a056512340f00b004b3b2a9f506sm1838996lfr.4.2022.12.04.10.29.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 10:29:28 -0800 (PST) From: Krzysztof Kozlowski To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Hans Verkuil , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 8/9] media: dt-bindings: nvidia,tegra-cec: convert to DT schema Date: Sun, 4 Dec 2022 19:29:07 +0100 Message-Id: <20221204182908.138910-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> References: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751309303092606632?= X-GMAIL-MSGID: =?utf-8?q?1751309303092606632?= Convert Nvidia Tegra HDMI CEC bindings to DT schema. Signed-off-by: Krzysztof Kozlowski Acked-by: Hans Verkuil --- .../bindings/media/cec/nvidia,tegra-cec.yaml | 58 +++++++++++++++++++ .../devicetree/bindings/media/tegra-cec.txt | 27 --------- MAINTAINERS | 2 +- 3 files changed, 59 insertions(+), 28 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/cec/nvidia,tegra-cec.yaml delete mode 100644 Documentation/devicetree/bindings/media/tegra-cec.txt diff --git a/Documentation/devicetree/bindings/media/cec/nvidia,tegra-cec.yaml b/Documentation/devicetree/bindings/media/cec/nvidia,tegra-cec.yaml new file mode 100644 index 000000000000..9a4025ff7fad --- /dev/null +++ b/Documentation/devicetree/bindings/media/cec/nvidia,tegra-cec.yaml @@ -0,0 +1,58 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/cec/nvidia,tegra-cec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nvidia Tegra HDMI CEC + +maintainers: + - Hans Verkuil + +allOf: + - $ref: cec-common.yaml# + +properties: + compatible: + enum: + - nvidia,tegra114-cec + - nvidia,tegra124-cec + - nvidia,tegra210-cec + + clocks: + maxItems: 1 + + clock-names: + items: + - const: cec + + interrupts: + maxItems: 1 + + reg: + maxItems: 1 + +required: + - compatible + - clocks + - clock-names + - hdmi-phandle + - interrupts + - reg + +unevaluatedProperties: false + +examples: + - | + #include + #include + + cec@70015000 { + compatible = "nvidia,tegra124-cec"; + reg = <0x70015000 0x00001000>; + interrupts = ; + clocks = <&tegra_car TEGRA124_CLK_CEC>; + clock-names = "cec"; + status = "disabled"; + hdmi-phandle = <&hdmi>; + }; diff --git a/Documentation/devicetree/bindings/media/tegra-cec.txt b/Documentation/devicetree/bindings/media/tegra-cec.txt deleted file mode 100644 index c503f06f3b84..000000000000 --- a/Documentation/devicetree/bindings/media/tegra-cec.txt +++ /dev/null @@ -1,27 +0,0 @@ -* Tegra HDMI CEC hardware - -The HDMI CEC module is present in Tegra SoCs and its purpose is to -handle communication between HDMI connected devices over the CEC bus. - -Required properties: - - compatible : value should be one of the following: - "nvidia,tegra114-cec" - "nvidia,tegra124-cec" - "nvidia,tegra210-cec" - - reg : Physical base address of the IP registers and length of memory - mapped region. - - interrupts : HDMI CEC interrupt number to the CPU. - - clocks : from common clock binding: handle to HDMI CEC clock. - - clock-names : from common clock binding: must contain "cec", - corresponding to the entry in the clocks property. - - hdmi-phandle : phandle to the HDMI controller, see also cec.txt. - -Example: - -cec@70015000 { - compatible = "nvidia,tegra124-cec"; - reg = <0x0 0x70015000 0x0 0x00001000>; - interrupts = ; - clocks = <&tegra_car TEGRA124_CLK_CEC>; - clock-names = "cec"; -}; diff --git a/MAINTAINERS b/MAINTAINERS index 197351d3bb57..dee3f776be32 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2999,7 +2999,7 @@ M: Hans Verkuil L: linux-tegra@vger.kernel.org L: linux-media@vger.kernel.org S: Maintained -F: Documentation/devicetree/bindings/media/tegra-cec.txt +F: Documentation/devicetree/bindings/media/cec/nvidia,tegra-cec.yaml F: drivers/media/cec/platform/tegra/ ARM/TESLA FSD SoC SUPPORT From patchwork Sun Dec 4 18:29:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 29449 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1896919wrr; Sun, 4 Dec 2022 10:31:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf4GmZp1ypwVJv4naJvgYgaztqRH26x/P6yuTybKsmPsC7gEVX9+VcYlv/Cllzb8TVAgFbp8 X-Received: by 2002:a05:6402:4497:b0:46c:cff8:207d with SMTP id er23-20020a056402449700b0046ccff8207dmr28903edb.370.1670178711833; Sun, 04 Dec 2022 10:31:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670178711; cv=none; d=google.com; s=arc-20160816; b=v53DqQ+NBU+Ua2TzbS3hcs/qODndQWgJSbOwhJAUQNPou2S6qV0vOuUbdDzjaZIwCG JR6P+XV9rXdcVlu06aM9MW7VMipWo91dWFLhp8iZG57GEzZbdjqplWJO2VTo2Q8/Mw4g YgIlD/3d5DdMyCp66gPBMZyEylap+kzsnjRWWGI5DVaI8b8dIiDLUwUyX4827/E/yF8c CgvdSRtAp+0ME+X65ovfytnutJ2sj6SmX4GDi/GNBMyBEpptcqHC89D4sGEhNLtX/Z54 uACaHHKbjdV7tUpFOWcCBTrSiLXpvVEGvOltBFV9fMbB5vZl5iHxz3w//47rHU5ORoxc Rn9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9aazsYiCUK+hhkaN7DSb9BXLEifN4Vj66BPeUPEEPTM=; b=OalcxGVo2/ilFx1fFJM+au5i81klmZWQHtmUtzXd+zuUh9zEtHPDnPeGF3CAZfuqTA Da4MSQx5nr9X7/s+HH2egCDNX5y3C5dv7lnU3spbXLqyAypeBAAZQJCKZ8hBvh5TnhBQ 2bEOvJMPeDGSEBAiOSVUvd5tGQoX4AaP0w8qQdA8fKPs7b9tCfOUUjzQ59hRFyS2yWfc RmDTlm+8r62t4zCnmX52UwaGpwe+ybPwpNKy6ZP3LIM3afTjuFote9eJzLKh1gDA+TAe C6puPFkXRr6rK1Oc9Lo6NddRaNsn88aa3Cf7jlMY+H+u27rwzbCBpNSBmLq2dH2O61/Y ZWuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sSRku4Ab; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id tl6-20020a170907c30600b007ad943d0608si6781280ejc.630.2022.12.04.10.31.28; Sun, 04 Dec 2022 10:31:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sSRku4Ab; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230479AbiLDSaJ (ORCPT + 99 others); Sun, 4 Dec 2022 13:30:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230481AbiLDS3d (ORCPT ); Sun, 4 Dec 2022 13:29:33 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE61413D2C for ; Sun, 4 Dec 2022 10:29:30 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id f21so14475864lfm.9 for ; Sun, 04 Dec 2022 10:29:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9aazsYiCUK+hhkaN7DSb9BXLEifN4Vj66BPeUPEEPTM=; b=sSRku4Abu4TUaaSejWrqY4U2E+YKf38PkhQg7Na1Bm47oQYnpZAGAQbDgfOtnzbwxI trEp6uS5wDke6RK9pH9vquIxLjo7Kc1apCRrqGlSaFBDZ52Oo4kCD6nwxjIH6fY9g/bv 4PXYVD3QKo8J+qGvu42EvRRoEUKgvNbwl+7ntPkS3NzXisMxcbXzrOv2mMEj3cskeKK4 B/+cblGTNaXQRS7ZNl4BbMgdp0m9I9nfbmRsz7NfCjtnJZ/mCLAd8RjqXB/saPPkp4OI nYJecI7/PDqQVLpEJHktPEJfXLiB73KDmAvPxBH1CmxHhQJ+7aPVgeyZFp4pyBCQqoaG M6Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9aazsYiCUK+hhkaN7DSb9BXLEifN4Vj66BPeUPEEPTM=; b=2VGQ1yo68Y6ylRxocEBgUyriF5qnYzlH/HOQr3N/qxa2csPe5vy9bIpXdOWAkJ92Of Z4ylH5NZ5Gaq4W3jm6fwoQUmg2klxqNLI/yXk41wLFVW7PjTa2fY0tM3TrZu1Sv9VPgU 9WyGQg9zJXQvLo5mpmCuSkcig761/nsU8+om7xrflD+v7iuQcxu10Xt4jIBDZWTbVPbN eT18u8OboV23RMNQeLgAq4G+QOI3yLfgV+wZ19oK3AdeIP0IcFka31W7fIVNJi9khoi5 EeL6ukw89RaLZPlat3nnkBEqSVMJNPehK3MYdAJhdcjI6n14JnwBML+tb2UMmZuEX/8P uPmg== X-Gm-Message-State: ANoB5pnMHDE/1JSCAQoF6IWJoHWtnMPuyuJL7icC2d4bpGW80WjzudcA oGTeAZI4M2eeWH9/OqzFUoXe6Q== X-Received: by 2002:a05:6512:16a4:b0:4b2:5c79:ae9c with SMTP id bu36-20020a05651216a400b004b25c79ae9cmr25280095lfb.619.1670178570118; Sun, 04 Dec 2022 10:29:30 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id i15-20020a056512340f00b004b3b2a9f506sm1838996lfr.4.2022.12.04.10.29.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 10:29:29 -0800 (PST) From: Krzysztof Kozlowski To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Hans Verkuil , 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 Cc: Krzysztof Kozlowski Subject: [PATCH 9/9] media: dt-bindings: st,stih-cec: convert to DT schema Date: Sun, 4 Dec 2022 19:29:08 +0100 Message-Id: <20221204182908.138910-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> References: <20221204182908.138910-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751309312712915236?= X-GMAIL-MSGID: =?utf-8?q?1751309312712915236?= Convert ST STIH4xx HDMI CEC bindings to DT schema. Signed-off-by: Krzysztof Kozlowski --- .../bindings/media/cec/st,stih-cec.yaml | 66 +++++++++++++++++++ .../devicetree/bindings/media/stih-cec.txt | 27 -------- MAINTAINERS | 2 +- 3 files changed, 67 insertions(+), 28 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/cec/st,stih-cec.yaml delete mode 100644 Documentation/devicetree/bindings/media/stih-cec.txt diff --git a/Documentation/devicetree/bindings/media/cec/st,stih-cec.yaml b/Documentation/devicetree/bindings/media/cec/st,stih-cec.yaml new file mode 100644 index 000000000000..aeddf16ed339 --- /dev/null +++ b/Documentation/devicetree/bindings/media/cec/st,stih-cec.yaml @@ -0,0 +1,66 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/cec/st,stih-cec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STIH4xx HDMI CEC + +maintainers: + - Alain Volmat + +allOf: + - $ref: cec-common.yaml# + +properties: + compatible: + const: st,stih-cec + + clocks: + maxItems: 1 + + clock-names: + items: + - const: cec-clk + + interrupts: + maxItems: 1 + + interrupt-names: + items: + - const: cec-irq + + resets: + maxItems: 1 + + reg: + maxItems: 1 + +required: + - compatible + - clocks + - hdmi-phandle + - interrupts + - resets + - reg + +unevaluatedProperties: false + +examples: + - | + #include + #include + + cec@94a087c { + compatible = "st,stih-cec"; + reg = <0x94a087c 0x64>; + + clocks = <&clk_sysin>; + clock-names = "cec-clk"; + hdmi-phandle = <&sti_hdmi>; + interrupts = ; + interrupt-names = "cec-irq"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_cec0_default>; + resets = <&softreset STIH407_LPM_SOFTRESET>; + }; diff --git a/Documentation/devicetree/bindings/media/stih-cec.txt b/Documentation/devicetree/bindings/media/stih-cec.txt deleted file mode 100644 index ece0832fdeaf..000000000000 --- a/Documentation/devicetree/bindings/media/stih-cec.txt +++ /dev/null @@ -1,27 +0,0 @@ -STMicroelectronics STIH4xx HDMI CEC driver - -Required properties: - - compatible : value should be "st,stih-cec" - - reg : Physical base address of the IP registers and length of memory - mapped region. - - clocks : from common clock binding: handle to HDMI CEC clock - - interrupts : HDMI CEC interrupt number to the CPU. - - pinctrl-names: Contains only one value - "default" - - pinctrl-0: Specifies the pin control groups used for CEC hardware. - - resets: Reference to a reset controller - - hdmi-phandle: Phandle to the HDMI controller, see also cec.txt. - -Example for STIH407: - -sti-cec@94a087c { - compatible = "st,stih-cec"; - reg = <0x94a087c 0x64>; - clocks = <&clk_sysin>; - clock-names = "cec-clk"; - interrupts = ; - interrupt-names = "cec-irq"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_cec0_default>; - resets = <&softreset STIH407_LPM_SOFTRESET>; - hdmi-phandle = <&hdmi>; -}; diff --git a/MAINTAINERS b/MAINTAINERS index dee3f776be32..5bf8879b4a59 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -19924,7 +19924,7 @@ F: sound/soc/sti/ STI CEC DRIVER M: Alain Volmat S: Maintained -F: Documentation/devicetree/bindings/media/stih-cec.txt +F: Documentation/devicetree/bindings/media/cec/st,stih-cec.yaml F: drivers/media/cec/platform/sti/ STK1160 USB VIDEO CAPTURE DRIVER