From patchwork Thu Dec 8 10:31: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: 31258 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp117035wrr; Thu, 8 Dec 2022 02:34:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf4sMFhTxuFAiGrApUrXH3YiFT+3Lx0D4laZZwcjfAgTbhO+1ay4oymPv/kpaNxrXLAuIpzP X-Received: by 2002:aa7:c144:0:b0:46b:badf:882c with SMTP id r4-20020aa7c144000000b0046bbadf882cmr29659541edp.233.1670495649766; Thu, 08 Dec 2022 02:34:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670495649; cv=none; d=google.com; s=arc-20160816; b=vCUZCVvRmfveQv+R/NTcacdXSHR0BwaBvg6FzCOp224vIU/PE7Bq9vbyuym/cMfRnm qVd0M4C5tuWTDnFsXoLfw2y6ABXxMVool4qOGtK6eOkvv3OdNn78YUIlJueRs4m4laD9 vH9GUopFNO3Ipm0bxgTh6uSTKi9b6fBE/iko6D4V0P3afLIQkZUHQnXgx1Bk0udvq/gx f9W6ZpetFT9J9S3xbYo8TmhFQk2oD+BQ1usPjquIE2WApv0SBKMHoUG0LZFRos7FdnW4 MLAgkbG0gJrir8szFuW5oJ1Y/b/kL8AoWBzcDYRn8k1rICg/iCfEr+lXTRd9esy0PAeL D+Jw== 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=/AxgtdSHYHP1YbbzJqlPfT18aEYuRk09InbeSd0JHNg=; b=SKB15OXpKxzk0qRXlrcg55K97nCOCmzRnKnxVLrEzC+4dwRheAxGEMrkJrCnaGNz2N Mv1ushE7mn5eqI6HSMyYY9wJsT4C1UOL870plvCI2Fd9Jqc2PHssocYxvgE6vw8JfuH8 /yD5C2OoUeCcvJjfUxZm8X6cSJcGAvD0jmN45H0/WNu40BsslNK8nZgWqGB2DhgsRjBI hgUpI801+Ey8B6vPGsZ+WJIDvoMQ7dGAafmv0eZVZIXFbwkZZLAz8kbxyjOG3riSBjeG ck4rwmNhlUcsnPrjOpTKb1hTBzHK76huKXOZ5YJVOpSEhrLkE1FBNOD7AZDIq/tNEDPk XQlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="vRC/imat"; 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 g10-20020a1709067c4a00b007c12e7478casi629629ejp.39.2022.12.08.02.33.45; Thu, 08 Dec 2022 02:34: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="vRC/imat"; 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 S230081AbiLHKdV (ORCPT + 99 others); Thu, 8 Dec 2022 05:33:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230064AbiLHKb7 (ORCPT ); Thu, 8 Dec 2022 05:31:59 -0500 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A15E77F8A9 for ; Thu, 8 Dec 2022 02:31:29 -0800 (PST) Received: by mail-lj1-x231.google.com with SMTP id h10so1068635ljk.11 for ; Thu, 08 Dec 2022 02:31:29 -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=/AxgtdSHYHP1YbbzJqlPfT18aEYuRk09InbeSd0JHNg=; b=vRC/imatoHVwHYY/xYn/XxRuhvdx+OB/SREDy14/PgQFlvrcB0EQ4id+Ayn//84QYK arsf1sF22Nuv9HYLsJZwEdrxi758C5vfm5ZOaHEJtq0l7mSlFY73m118j5bw0eEzZpEK 7Xp9QuvafRfPFLxYttCVahNoYSTwtOcU9Os+EwRSUZK6QgYONFNQPqmoIef+Gc5FzOsc r2hrYVDys42CmHewFWsn4iF/mp6c9uznU3JcXO2DwcMrSWsM+fELE3+Zlg43ltpAOqxZ 8O12HQw3aOU4Pykni54J7as2y1Pkb1ySFTZzA6k4V5WwMbs8gf2/A9CzcxP9jWEnF5gq rHWA== 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=/AxgtdSHYHP1YbbzJqlPfT18aEYuRk09InbeSd0JHNg=; b=gldEIoGVYhPGufWo2WSpsyAifIx8QZmP1nq1cKx7zzrgnUDNZC/ZPCOFG3pCjGyuvd UeAE/xHsWrlG2jIxAZxsK6h1Wp0aN9RV+3pc8p64p/No99x0pZCm3uXnwT4atxyGEKMi U0aMyU2cCqbpwNNdxYzNYbs5E0bBkaShLSKq7gVOcMIOe2K3Tt5bubsygWbeLwYJJJDf CnNraYcslAXj897Fnl3vQIEbDDD1xjrpJhnHpvKAL+IEWD+1nFy1QBxd+GokfwyJdb0o jH3n8K1cgiiFvd6HSmsa4IJZ9ew012iKr80k2unfo956D2fRWrVAPBUZ6oH+I4+p/jlT ZgEw== X-Gm-Message-State: ANoB5pnHCMkACLMrt5CeMM8BCTfJui4rhCGJUnvcsQO5kIa2OmjlFRJQ w1/5fh8EyS+Q52Xbsmqr4y8dWA== X-Received: by 2002:a2e:2c15:0:b0:27a:773:7054 with SMTP id s21-20020a2e2c15000000b0027a07737054mr3931835ljs.169.1670495487827; Thu, 08 Dec 2022 02:31: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 h18-20020a2eb0f2000000b00279e5247dabsm1699580ljl.18.2022.12.08.02.31.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 02:31:27 -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 , Rob Herring Subject: [PATCH v4 1/9] media: dt-bindings: amlogic,meson-gx-ao-cec: move to cec subfolder Date: Thu, 8 Dec 2022 11:31:07 +0100 Message-Id: <20221208103115.25512-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221208103115.25512-1-krzysztof.kozlowski@linaro.org> References: <20221208103115.25512-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=ham 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?1751641646071217108?= X-GMAIL-MSGID: =?utf-8?q?1751641646071217108?= Move amlogic,meson-gx-ao-cec.yaml bindings to cec subfolder and drop unneeded quotes. Signed-off-by: Krzysztof Kozlowski Acked-by: Neil Armstrong Acked-by: Rob Herring --- .../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 Thu Dec 8 10:31: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: 31259 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp117065wrr; Thu, 8 Dec 2022 02:34:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf6o8EK4ZZiAy6I51MzZgh7S7VaciLe2iKWJ8wy1b9yY/qlRlT5PhQgoOV0d1GEg3jEfKyUr X-Received: by 2002:a17:906:a290:b0:7c1:2d73:8aab with SMTP id i16-20020a170906a29000b007c12d738aabmr712961ejz.262.1670495654916; Thu, 08 Dec 2022 02:34:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670495654; cv=none; d=google.com; s=arc-20160816; b=G4rFnC6f30imA2Baz+j+TQDlQPzGZ3/AZvZ83g/J1LRQotp8mShFA02xuUtdq1gceT 2bHtNXJRs6NhpsoSnzTj88hXJCR7I/hAK88YrRT1m5yHyaYtu0bCN5uD1eTbPs5gutRn 2mUlfWvLIvTBWRhlnOyE+PUjxJDBlPuUda7IjjrzM3GxH6Jng+UJedSO4HGFSfI3LWD/ i4UwuQzyYaNk7UWyuliw2NLeVUd5C03wIM9TIKPWbPW0r27hRFboPSvdKvdl5LyMqEOw qBhwg8GQ1BZqgLalRybuo0HVMwdic98Iry9yYndnt0zHYFR0EnMFY/hRL1VXb69+Naiw GKpg== 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=LfazEVXJDWm5fHCm2MG3wz5cKNMzAQ0JQdcxbxRWLtQ=; b=u0cJ5URfUl2Ume5BfBPDOX7fQ3Gi+0A5wWZ/b2TLbGGBMw+mD84Dm4p1ejR7kJQtVj tZkhruPU2Bbr1t4Aa1t775WrIvHYUUtO+DPcLGdrhXqiBKp0K+sJwbaWWSEMU4RfCD0G FuKD5ilE9jY8hDU3oG7mh21gWdrTmRBPpnBXfLgjm+/5rZBaoxGPmXaGAZcQduzOnNNK HWEbDOUNk+hg6kb8hBYF4gDkB14g9za/nD3Ru+NyfUVZckHGQpbrtQVcP6S7RaazsKlV y5NYwpJaEgw15sVguBRvJdSNRRJM5/FInTCqPXtHHZtzqfYhS8nR2qBbgiR3pZ8wXEyB Hpww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XywpUyuy; 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 fe23-20020a1709072a5700b007c0a4c149bfsi5473936ejc.403.2022.12.08.02.33.51; Thu, 08 Dec 2022 02:34:14 -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=XywpUyuy; 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 S229572AbiLHKda (ORCPT + 99 others); Thu, 8 Dec 2022 05:33:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230100AbiLHKcB (ORCPT ); Thu, 8 Dec 2022 05:32:01 -0500 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93A7481387 for ; Thu, 8 Dec 2022 02:31:31 -0800 (PST) Received: by mail-lj1-x22f.google.com with SMTP id a19so1119453ljk.0 for ; Thu, 08 Dec 2022 02:31:31 -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=LfazEVXJDWm5fHCm2MG3wz5cKNMzAQ0JQdcxbxRWLtQ=; b=XywpUyuyrTrwqePpx3XTlRujHvxMG+3pHb7ngR6jGsuAw17y9EdMWUKEnsrcCgoxup KDM1Vt/cmizDvcsSL7I+sKHZBVKGDYgZCMNuijXhVBmYPHiR/fzlyt4HnlxF3tY3a1JQ eWxKI/1J12krckmCiQqdM6mH7GzKnmLMLqfWXO6VHIEu9l+ehdecyfQG9ejCyIbil09n t86W3++/+Ncep9rUYuZd/fpMZzsKyS/HqVsagE98tdZBcKpUPCVjnDeHICHIzeIg+WZE xB/Fi4wZuJKEjiTLOJRGXC+imy390973op4N+9LKjDKhbWsbBGt0sUSGR+4zgepkfZ0a Sw8w== 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=LfazEVXJDWm5fHCm2MG3wz5cKNMzAQ0JQdcxbxRWLtQ=; b=0v+160mw4NaVIvjyoM9vRxEXTtyax0ohrllRapGv8uqeE7Xlj5Syqs1qojAsbKS/1e bXqEMcZAhia/4BMmm1Fk1PSLnvGTVWKF4OvZRNjnOVCd+gHEfvOEx+0wY5ZajKacfXFX I8D5D8yxvSqGajJYqj+HnJ9Xe4oCR3wwbjlQScoycqa+KcAi5mU7OVVEw4hoe6t0m3mq KiYeicVuflXwsExxWJLCkua1vRUqrMGfcFAE2VDA7HPlw6FFGfWXs02HvB0dVDua+b5c t/AqLrolYovFEuvcrQwPPzolxn6ZOMukzzGPGDR/l/gFiicjQ6mcmoMNDfe2Krt6FfoW e3wQ== X-Gm-Message-State: ANoB5pm7M1wdXhKP525xSpQDGve3QjCUJeKErSYvltZQWc2xTx+R6c0y Zn0VMqiyrYmmfUq0feoTru7nSg== X-Received: by 2002:a2e:b526:0:b0:26e:494a:de3f with SMTP id z6-20020a2eb526000000b0026e494ade3fmr29828870ljm.85.1670495489928; Thu, 08 Dec 2022 02:31:29 -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 h18-20020a2eb0f2000000b00279e5247dabsm1699580ljl.18.2022.12.08.02.31.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 02:31: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 , Rob Herring Subject: [PATCH v4 2/9] media: dt-bindings: st,stm32-cec: move to cec subfolder Date: Thu, 8 Dec 2022 11:31:08 +0100 Message-Id: <20221208103115.25512-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221208103115.25512-1-krzysztof.kozlowski@linaro.org> References: <20221208103115.25512-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?1751641651316804498?= X-GMAIL-MSGID: =?utf-8?q?1751641651316804498?= Move st,stm32-cec.yaml bindings to cec subfolder and drop unneeded "bindings" in the title. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- .../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 Thu Dec 8 10:31:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 31260 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp117082wrr; Thu, 8 Dec 2022 02:34:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf6zPWxNyT8bWHWyyi3cd3tqsYrOG4T8NhsPcAzo9uH8qsjge9XB/Vy8xkxyIqU2WoW01NqL X-Received: by 2002:a05:6402:1f85:b0:462:2410:9720 with SMTP id c5-20020a0564021f8500b0046224109720mr6874790edc.84.1670495659710; Thu, 08 Dec 2022 02:34:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670495659; cv=none; d=google.com; s=arc-20160816; b=VsEVWO6sj/KqTC271a0ZY4kOyuQ+fD4eo2y8DE+G3HBg3p1cIdD37K2PGLZHbRHh7X p1hedqA8IIeycAKF6ILKWwmHvg4EnNg/mJ+A8KYavOOFwiNIeNqs/BhwjdacR/O3tu03 F5gY4jQYo+hDErigBabWK4R5g7LM5MjyiUEKAb2zgSNbbECfhoC3RNw7RvtUu+yhPnMw 7qPWgwvlSaLXGRXo4eZZTWbKNPC7xoqwd6Lqj9SFpY2wzFUGX0gAiRetqUSA53pxHu2c WYkhKw/vgUNjFT2tAm4Tbx6FAUo131RFaFHTi5hlu4f2ZCQtlM+Ai/Mln3MbRZEpZOyr c+uw== 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=ftjSB9JJ8yBkXE+8vCPq7doIFKzD/Pbisdda5DVy8ec=; b=bEh00hTKZB0Vs/r55F+oQR5awpcma9qc0I5M0DfifJwkLwavs0tTi6Zo1FQFBP9R/i 0XIsRn0dngpbLtCQ2cs2VdWgGh68DzDeZlMjdm2iqpaN508AgQzHmv2ngxfPbdi4QnIN 2L8mW4z9l6t1jkjjVaaFoOAtRKtEgd21LS8y7EU9fMxaHkN4GWVmi8FhqgitNvLQGR8Q KdmiCJMG3B55g+t/eNazBf90cAGae7YchH5e9stbGKfFk0GTqXpy74g/XI6bc7Vu48nQ brBp9Kf9rQbQwzqtthWJGHv1x61zHgZh7rDUVXkQsuFotD1hNh+YnoE2MV79lg8SjpBm VOcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dbfh3g3X; 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 r8-20020aa7cfc8000000b004637f0abb77si5361320edy.487.2022.12.08.02.33.55; Thu, 08 Dec 2022 02:34:19 -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=dbfh3g3X; 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 S229912AbiLHKde (ORCPT + 99 others); Thu, 8 Dec 2022 05:33:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbiLHKcG (ORCPT ); Thu, 8 Dec 2022 05:32:06 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0D48813A6 for ; Thu, 8 Dec 2022 02:31:33 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id x28so1365713lfn.6 for ; Thu, 08 Dec 2022 02:31:33 -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=ftjSB9JJ8yBkXE+8vCPq7doIFKzD/Pbisdda5DVy8ec=; b=dbfh3g3XU/oJm/3BLec2LP+qdKfwx3FxgxohCpre6Ghy/mZbm681ARz0qOr+DO9taR 9CRIzs33N0WRZuTnzWLQJ3cPZoRfoCnzVkgwHIS/HwZpYdFOw7RlpP2MOBJWgEx8XGIt qDOxAzSs8lOFyeP1vp3kETNwQSg0ZjkvQi+LzXcfh0oiqQ9zZkFz+OaQNVlNjQNckQ/3 1P9Z87L/E3KnjRGP9hO612DdRCn4R41dqucH4woOZZr5DiBXaaIxUUb1ClsUkVoxSsp2 M8UwR8CrF5sKT6QaMtDTU/3Ecl5SKGcfgg6ZV7uwnZ5l0iP4N5IkLmyPWZYrMMCMvaQ1 PGQQ== 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=ftjSB9JJ8yBkXE+8vCPq7doIFKzD/Pbisdda5DVy8ec=; b=05G0Lcfy3D0ngpRNQh0JlNbf9JgMcPa9A5QYTkZAQ6uobsbNKpAyB0mH4unU4RiAJt zNvTqkIybERIfedD+ts3zu3D8+rfnEtIcysBxsnopBF9sxM1qBSJeRexpZ7FqLNkCIUC wsWYxEgwSzAm9hmj2Ff8VS6NA6OH/ltHNTsAUqze4zJAZHtyDUPX+9s0Z9y4gBTFvOWz I6n3b0CER+HQzAU0ccgN+wY12WuSQhMyCOH/1x8HUQcBgQGzLd/K9p+Cyha7dGTFWMoU 02rcNz202mp6jPIVvvwLc/G3P2JCF/pgCZ7I8cQ4u4XUjjv17JSbuzAxBKoCGpW7DRLO PNng== X-Gm-Message-State: ANoB5pl9OS7juJ23dXDM1tVs+U2NdSX6vU16BZE28i62J2XnY/ajGt/O y+pW/a2dZnp/RqcCl9wybIyDuQ== X-Received: by 2002:ac2:4219:0:b0:4a2:2701:7d29 with SMTP id y25-20020ac24219000000b004a227017d29mr33808284lfh.322.1670495492059; Thu, 08 Dec 2022 02:31:32 -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 h18-20020a2eb0f2000000b00279e5247dabsm1699580ljl.18.2022.12.08.02.31.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 02:31:31 -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 , Rob Herring Subject: [PATCH v4 3/9] media: dt-bindings: cec: convert common CEC properties to DT schema Date: Thu, 8 Dec 2022 11:31:09 +0100 Message-Id: <20221208103115.25512-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221208103115.25512-1-krzysztof.kozlowski@linaro.org> References: <20221208103115.25512-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?1751641657125726313?= X-GMAIL-MSGID: =?utf-8?q?1751641657125726313?= Convert common HDMI CEC adapter bindings to DT schema. Signed-off-by: Krzysztof Kozlowski Acked-by: Hans Verkuil Reviewed-by: Rob Herring --- .../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 Thu Dec 8 10:31:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 31263 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp117309wrr; Thu, 8 Dec 2022 02:35:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf4IjGb5b/JMIJvaL6MDZ5wn+dfnlM6qFs0vMCuj07Cu54/Bho5sdTWpqMMmM+XGJoxT0clY X-Received: by 2002:a17:906:c458:b0:7c0:e23f:17cd with SMTP id ck24-20020a170906c45800b007c0e23f17cdmr14904204ejb.491.1670495701264; Thu, 08 Dec 2022 02:35:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670495701; cv=none; d=google.com; s=arc-20160816; b=u/RsWJb2uwmi4MfcHSInxI9/4ABA2Qzzqh05uAtQQRsTEhnXBaMLLa4An4qSiGxbPG od1jYZ7qgRP3lvavvwyS+6uDBvLnRKN/5bFvzV0t5oPW30ZMrWD6B9LzErcyS3oKbG5S a0aubwEZwXVwm12VlOAnd8AdpVaaTX4RjtIQCMGb8FEA1lkBqu0HQyMGgD2oo5qqNyfb LcIiPSRXOYwEDzH02Mstt6tyascrf0VV2eYBwwVQMrNG5dkhF9ZWjTUbETTM49cxrfZV SwxxrBr8YHfmH2tetEma9sc4sECNW872wqhkVFe2apOmPxgm1vuXwUy3ET//dWEks8/i wqyg== 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=NxOwaXNbTiEohgYyBqos3ms0rULNHpJBLRwyMfOuuH0=; b=Nr6QGA38m+qIYRgEZIF6Cu+3i4BFvB15az2g9lzenmXDhXMYUkomT2n86St2mlf/Pc a0YZQWFaSK6l6lGBQl81RwwBF7+913epFMchtaD2vIPD8iaPk/t0qu37aBzHKU8mWmMc IGQNT9smdsRrDtky1G7b/QXN18vo76NFbV8G/3nLYnjZrCKmp8+Ld/GMWy5iPLJEwkXe 0+6ZReggdEOWRrDrzx4inFo8FV14OgHMwzdDS/1tnBqpIKzC0RKO+ZYcNmzJvZBz1DF8 HU7jnrOFFSXE3EDkEfxKvBGV+ZzXHQ60vParssqX78cCWLHUhCh1bxNJWF8H1FjI3tWy ra5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SNdyGSv8; 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 k20-20020aa7c394000000b0046ccbd67943si5460828edq.358.2022.12.08.02.34.38; Thu, 08 Dec 2022 02:35:01 -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=SNdyGSv8; 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 S230157AbiLHKdr (ORCPT + 99 others); Thu, 8 Dec 2022 05:33:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229967AbiLHKcH (ORCPT ); Thu, 8 Dec 2022 05:32:07 -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 0100981D81 for ; Thu, 8 Dec 2022 02:31:35 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id p36so1337915lfa.12 for ; Thu, 08 Dec 2022 02:31:35 -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=NxOwaXNbTiEohgYyBqos3ms0rULNHpJBLRwyMfOuuH0=; b=SNdyGSv85VbVAi3pneX2JkKUEzvN0PW4W9IL5g4DRhHvrBMOeni6Z+pOOEUpcInHC4 8Oe7zRj7yqve48LHxc9nGSZ8mjyRRCvJpCF3Z+HStSkQrZAQaWw7GQJclRQO/E9VVVfd Buw7kNckTMw6llktH1TFtA8zYKuFyKlQfBHRHR2N0gMd5aCUYKIQZHVTqSpTEg/De5ZJ /7DYMHhSqyEC4K8AQQoiej8iBaSgPHsLttayPnDRwNPyQdAbC6HBdlCjQciE5QjQ2mgc Vx23NFx3NOCox+iJMxdZPi1LNdtRivWrNNhADRl2USslYsznJEGxEtTQac8m8oo5Up8r ayQA== 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=NxOwaXNbTiEohgYyBqos3ms0rULNHpJBLRwyMfOuuH0=; b=wVzY5VkWiHvCgtHN8w1Z0/Fq+u3e6gO/WnrR5Nq653FszXoQuPoYlorTMZFAdwSYBq A+4W3Z4qSGO17CBpAx7icAQ3EfHVTrJUmqeOSWDx+seC920w6lRYSGp+fTitydVH+yhE qwONIM6M3fIyEx4j92TRgGqTN/WP9obI4nEmzOa8PWuIKkHKiofGhquIzLkvbuXRgPPv xcZMwwKXBt4ei0EtrSYB0M0w99GJURcRzLBhpEWE/gejN6mV6HMG3tx+Ez8yX9FobuOo +To23IbxP2CDmwsUOg50+oE0l7MPmSNI26Ic9GVHPL8aB1WCfj7XjkyHMmEIyl457R+P +j+Q== X-Gm-Message-State: ANoB5pmAqW5lML3BYYjS9AhAoDYTSxlm2saC0cq7K+sI8LyPcFwvw2vo cQgtJIgOiW8yxSic6sGtgV8+Qw== X-Received: by 2002:a05:6512:3a96:b0:4b4:f5da:fb28 with SMTP id q22-20020a0565123a9600b004b4f5dafb28mr20618283lfu.169.1670495494230; Thu, 08 Dec 2022 02:31:34 -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 h18-20020a2eb0f2000000b00279e5247dabsm1699580ljl.18.2022.12.08.02.31.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 02:31:33 -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 , Rob Herring Subject: [PATCH v4 4/9] media: dt-bindings: amlogic,meson-gx-ao-cec: reference common CEC properties Date: Thu, 8 Dec 2022 11:31:10 +0100 Message-Id: <20221208103115.25512-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221208103115.25512-1-krzysztof.kozlowski@linaro.org> References: <20221208103115.25512-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?1751641700510623735?= X-GMAIL-MSGID: =?utf-8?q?1751641700510623735?= 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 Reviewed-by: Rob Herring --- .../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 Thu Dec 8 10:31:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 31261 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp117216wrr; Thu, 8 Dec 2022 02:34:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf52EDLlpX7bD8o8K5u0qUn2ZqpM02uNZm+ka32JpAkAhWwkddwcMehGI1eRcMFKnoge/Nkb X-Received: by 2002:a17:906:38f:b0:7c1:31d:8b75 with SMTP id b15-20020a170906038f00b007c1031d8b75mr10274701eja.157.1670495683850; Thu, 08 Dec 2022 02:34:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670495683; cv=none; d=google.com; s=arc-20160816; b=UbfQ020mHTLjWOEIs7YnaCsaUfQqgEiaXD5pg54FegOdpgvjxpVDgcruQrV6PFgv2J yREqMmQQGfxpMFt54vJS+S/7D4g5/S2ZbkRuaFoFWzxQuxqpgc3c98gciaEnKjtguHs5 z7OAvcCQDFGvAj2tATI8jWJM3v65S/pm216tFm3NL32Q/h8K0NnbpEWHBuva8K0RgOSe g1wrTTAS6wpNDQLLA7u9B5RUtt9ayTCck7vUwym0dywOzD5GMpijgxTLX8VMFcvAo12P s8GuUiS/GJ4cRectJQa/OZcyeBV/k8RWKP2CfjRiIuwrpVFLqFeRh1YkcNchqo2vQdiC 91Rw== 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=d5ptnyM8tU9KK9vuHrqJhLp9kBHzmtP8NOjNL98W6O0=; b=cluoBBCQMmNax36mGzmwiWdiYpirZxQauD9IJTDCh5+etAINaWwgbIf4eSMTuBAIbH P1hKLpgzHKzWXAlUdkWm6UK0j/d6LfZWZFNmKoBUFbPnaG5/H+oiKiWjD8UTbOXbqaeJ 5b2gGvyeoJUmMUasaYQUwkkxwTCg3JwFpN7VwEelHkGAMJxuspTGkJFf0U+5Gp0n4m7k gl1zKYpRjy51eUEtGNKuphkxFqAF5+A23YhzXD6Ao8ufVYgUsyoZ9V4GGn7ChOHCZfwE tZO6sQUQMPNPM3baWbIhtfTd1qNY2Ku09I1yUGqYEuk4muak95Mcy+V378ooJje1x3UN DwTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Zqdk9FLK; 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 b12-20020a056402350c00b0046400f454a3si7135432edd.125.2022.12.08.02.34.20; Thu, 08 Dec 2022 02:34:43 -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=Zqdk9FLK; 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 S230011AbiLHKd4 (ORCPT + 99 others); Thu, 8 Dec 2022 05:33:56 -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 S229964AbiLHKdK (ORCPT ); Thu, 8 Dec 2022 05:33:10 -0500 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3C467DA6C for ; Thu, 8 Dec 2022 02:31:37 -0800 (PST) Received: by mail-lf1-x12d.google.com with SMTP id bp15so1336024lfb.13 for ; Thu, 08 Dec 2022 02:31:37 -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=d5ptnyM8tU9KK9vuHrqJhLp9kBHzmtP8NOjNL98W6O0=; b=Zqdk9FLKb1U+056szYPwGwZZOCtduYqr9pYvnZ70agJ8neRKwJbE/0KXoVf9PGud/3 WUUDU/fEZhoXXFg7hf9+IhzSsBiP64yONaa7u5T8aNsgIJdYGPQuba+HXXhMaeC6D5H1 Rzilnv2cjG1wKqajm+kC9DBF9p2SAL4WDD6JNKqCfElln9GeZVsjaVwzyTVyYJgeipEM Csnc1Cy9CHiwtzHyu5sOypvruVbwF4Dckt6L8lOKrui5Ts4xiBE0rlgNDnP/yJ71x/Ep QUzxoCtns51f5ylw3SjAEvbdbMCGK16oDkOSKEiYp88amzXcDBhw+o3cDnWsXTLx/n5r A1dg== 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=d5ptnyM8tU9KK9vuHrqJhLp9kBHzmtP8NOjNL98W6O0=; b=g8Lit3R4B2Jp+AWcb8QlucFGT0Ao/XFHcDkYvSEkgqnODvSSzlLkG0PGZAG0h3Y+nF nC84xGV/NYg2pEKXELxww7h98G+O7Qm2Afz5unCOgOVPQ49pCBc6UpFXImk6LG6rX1I9 eKhg856HXTjG8jOm+mZ6r3CJBEiwiSVJ4rcMhq8KPDSMtYpOp9/JEba8bNMfBs0EJc3A il2ZDmVz3Qvy39ageWJuu5e5soFG6YyDL3GBDBhVKPT32vS966MLUM6ZCMhA4Zn198dp HK95IyqZjm4CP1ti/D+0yByAsvXMz4cq9/+pfk4TYSO3D2Tl4NlA76xYjz7tQSstq9Ec 7NYg== X-Gm-Message-State: ANoB5pkBAmOh5WMr0nqMVLRoMH/IG7UWVQmHVSWJhFBQgUFvt/vT755v Yk0LmBivXO4IKKoCrmUQ/Hpgzw== X-Received: by 2002:ac2:4acc:0:b0:4b4:10ca:5240 with SMTP id m12-20020ac24acc000000b004b410ca5240mr34308930lfp.482.1670495495875; Thu, 08 Dec 2022 02:31:35 -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 h18-20020a2eb0f2000000b00279e5247dabsm1699580ljl.18.2022.12.08.02.31.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 02:31:35 -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 , Rob Herring Subject: [PATCH v4 5/9] media: dt-bindings: chrontel,ch7322: reference common CEC properties Date: Thu, 8 Dec 2022 11:31:11 +0100 Message-Id: <20221208103115.25512-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221208103115.25512-1-krzysztof.kozlowski@linaro.org> References: <20221208103115.25512-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?1751641682250850625?= X-GMAIL-MSGID: =?utf-8?q?1751641682250850625?= Reference common HDMI CEC adapter properties to simplify the binding and have only one place of definition for common properties. The common CEC binding expects also node name to be 'cec'. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Changes since v1: 1. Fix node name to cec. --- .../bindings/media/i2c/chrontel,ch7322.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/media/i2c/chrontel,ch7322.yaml b/Documentation/devicetree/bindings/media/i2c/chrontel,ch7322.yaml index 63e5b89d2e0b..af8ada55b3f2 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: - | @@ -58,7 +57,7 @@ examples: i2c { #address-cells = <1>; #size-cells = <0>; - ch7322@75 { + cec@75 { compatible = "chrontel,ch7322"; reg = <0x75>; interrupts = <47 IRQ_TYPE_EDGE_RISING>; From patchwork Thu Dec 8 10:31:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 31262 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp117260wrr; Thu, 8 Dec 2022 02:34:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf6XxeSNW25LBnx5QmIrUvTMMSwPd4jCm4RJPmHZ0h+IC4vr/CfWzpdi5oSBDjVU9fRpjX39 X-Received: by 2002:a05:6402:71a:b0:46b:1231:5f77 with SMTP id w26-20020a056402071a00b0046b12315f77mr16411434edx.244.1670495689650; Thu, 08 Dec 2022 02:34:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670495689; cv=none; d=google.com; s=arc-20160816; b=yyrsOtjRzr7Uezvc/q+uacTKauT2zXNYmKKzDjFHu2WD6e95e3ZVI2VOVXCMlBJ5R+ 3kGdpoLxwoUAS2BuEgieH3eqsukYpPEYhJh2bp3ZPx22/+x99LQG0w7c2kf1tcQNBhqD tX+JKImfYgGhXxmQjwq+pgQ2dPT0SebRtKvU3YPfF4uxzcjL5AYdU7fapDLR6HNeChe5 bSiPeWqokm9JrZfOQQwxxESCkyLkyFL1UpkTD1B0g5wM5OkkgAbmRBk72YdZSxuF1ys8 n+yzQ9jMK3Vr+hkaJCc5XwvzkjzRM/JoELCaInwhg4/I6+p7lbnkCZDUjUqsnnIu9DNK Zc2w== 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=4WOjKBqSX/bJNurWawr9UIxOhCwY9AfTE5WBw0ZvK0s=; b=yja3lIdJfy7kAHNa15hJVN1vsrqGnMNYhno/Homf8oIBECY040E7ZuVdRoLRenkZBb T5IdCaoWUManAuRRq9v5BE/TEBCCLW6kGrxdMi3gcxoV8c+IJLwn250QfIv3lvML8PHp k0eWx7d9OrOAPdAiV/+Qpex0iQbGmoGTN9ea5twWfrwH6cHW5AjGfSMJqEtMqb7g/8hJ PFp9lCUwHlraDjr6iw8T88J+mFySu5INph6DOLd/mDRCFqsSBkUvD7pw9+eXnQQJxrRy ILv/ii8yrFUmGDVnQLQB7DAO/sPUqXwbrPJy7B0tk1H+jeIRxYG/ZfPH5n+FyP9GVna4 6q+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kJQb28Yf; 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 c23-20020a056402159700b004537a3c4982si5576849edv.601.2022.12.08.02.34.26; Thu, 08 Dec 2022 02:34:49 -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=kJQb28Yf; 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 S230036AbiLHKeC (ORCPT + 99 others); Thu, 8 Dec 2022 05:34:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230041AbiLHKdQ (ORCPT ); Thu, 8 Dec 2022 05:33:16 -0500 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFD5583258 for ; Thu, 8 Dec 2022 02:31:39 -0800 (PST) Received: by mail-lj1-x22c.google.com with SMTP id f20so1085934lja.4 for ; Thu, 08 Dec 2022 02:31:39 -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=4WOjKBqSX/bJNurWawr9UIxOhCwY9AfTE5WBw0ZvK0s=; b=kJQb28YflwpK3NESU5gQU95yRGilk9HUL2yuzHgwREaj29yOLuHsU1d+muWxXj9JTc 4ZasRdRWBXFHtROhwYT2c2SjDKJMQK3264B5F5pUDnUkphXf/ypIYtHzl7Sa8PcmUdp7 S885N8LUQ42hBZRbT6oapU7ac9R6jr8mx8xbWWr6p4yIOGoUM8DyaLr5+vU1IP/WpxKO C5oaZYvN9LD+kCoGXXnlCmz/tgHA2Ns6gldZsRNy4N8DoNgJwCwTPn0vMTsP8OuoFEg0 HDRQ8H9oDJr/pTe7BE6ED/A2Kyxc9aNg6Km7ePO2VH50qDmv/MGiMhjpkw/y/Vzw507M c63w== 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=4WOjKBqSX/bJNurWawr9UIxOhCwY9AfTE5WBw0ZvK0s=; b=5SYADyL2ZSiLSP42y0CFF+EjXbRDb57upirtsV0CZJBw1PcxJq1skvKyh3U9+qB71J eqMk6OWVyc6e9REuMbZZR+jGBch85A/2Y56C/rFJmle8V6ISm6JEznCLl6nGuDdvAvUo z6+77iosfjW7nKjI8XR8eYjWLJArwPSPWidslH88fPulIBI+s8RjfYiA7xaZg1lZy1MC /YmWvuWj1n2iLMgp2yB7LPweuzDweUR+PJUlgrxKPZCC6Ju1CxOrCXdMvuDojN9LIPti Y8uCwmaz6i+JAFD5gpBiS63a0sPebnBZp4pSIlmu7TnROm43MM3NhkkDVlG2Z6f2besY v80w== X-Gm-Message-State: ANoB5pn758SOd3cMd8ZLTRszuMVx5D3IYaoT2t4pL3eGdVVj8LLEG+OO Rx/zcFOYFu7DMB6eKbgLDjR12ls0ucod4Mq+qxg= X-Received: by 2002:a05:651c:2388:b0:279:d60:ee7f with SMTP id bk8-20020a05651c238800b002790d60ee7fmr31670490ljb.404.1670495498246; Thu, 08 Dec 2022 02:31:38 -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 h18-20020a2eb0f2000000b00279e5247dabsm1699580ljl.18.2022.12.08.02.31.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 02:31:37 -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 , Rob Herring Subject: [PATCH v4 6/9] media: dt-bindings: samsung,s5p-cec: convert to DT schema Date: Thu, 8 Dec 2022 11:31:12 +0100 Message-Id: <20221208103115.25512-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221208103115.25512-1-krzysztof.kozlowski@linaro.org> References: <20221208103115.25512-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?1751641688146312249?= X-GMAIL-MSGID: =?utf-8?q?1751641688146312249?= Convert Samsung S5P HDMI CEC adapter bindings to DT schema. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../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 Thu Dec 8 10:31:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 31264 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp117584wrr; Thu, 8 Dec 2022 02:35:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf6J6TynOI7dMryXjR8VJInDwQb+dURDLeDaMjKl5uFOjwCevc1gNn/UyPQ12UVIrmEOal/j X-Received: by 2002:aa7:cc8d:0:b0:461:15f0:a574 with SMTP id p13-20020aa7cc8d000000b0046115f0a574mr27697035edt.187.1670495747913; Thu, 08 Dec 2022 02:35:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670495747; cv=none; d=google.com; s=arc-20160816; b=x3VpeZcxHWbkilzHwQNi2gsdcLCvkSFk+nuPTk9C1Rn+NKc6WxzYGsU5BBxDTudGYS eEJSzfWQtStB9nrUL0CExRTmJ3BlC2MTLVoBEHCgeAEqab3VwC74/FUfcOxwPcKWjPV3 WVmGllx6aXs3Wnl8MKvQcAMR/HU4UfgiLzvhfQKfIHx3f6VbYaLVL9evkO7MD76R/9Hf HjY8gkbJQocnjGxJL3ddUD+3ibZkTRDI1URTIga66USNQfQWKggwZ732tgFfSYgy3xR/ 96cUfd4+K5g+ssDrFjO30SInT51CF/CLzgOWsawufTZxZl04601Uj66ON4P+lZUugF6q RCmA== 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=1+xgakROSa2tyyNfQUbDwsLUYdUS/rSfQ5IgxtrQvUM=; b=prKjxyvNFOD64Ap7Tfzjnlbi4eaw2Pa/Ll5xj9t3PmEXlbgUNB/0SwNMv8CjT8o3YU EzikmFNU9ruzi0JAtx9reKH5jAEMHC7Bz+Smt6LMU/yeSbzE4EJXHkOljYmzy/MY4LKZ TnyazCE693rfCWwCDoQWWJRICXLUopxQhEefmE3NwzqKeX2AV9vk4awd+a2NX57XmOii IqFEDFATURyMvDcAclBzLcsuzEtL6eMLVw7tmrNNgZIC4Kr02cU/V5GUHZIdRb2UeI1p sANdmnOku81PK+O/nJihB+DMRwnIXnYRN6ZGNRlu5YiTBWX0bBoFV1MWK+v09Hgsc0zg itmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LWYhpiQG; 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 e12-20020a50ec8c000000b0046db13bf254si503628edr.93.2022.12.08.02.35.21; Thu, 08 Dec 2022 02:35:47 -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=LWYhpiQG; 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 S230089AbiLHKeS (ORCPT + 99 others); Thu, 8 Dec 2022 05:34:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230116AbiLHKdW (ORCPT ); Thu, 8 Dec 2022 05:33:22 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CB5181DB9 for ; Thu, 8 Dec 2022 02:31:43 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id p8so1346376lfu.11 for ; Thu, 08 Dec 2022 02:31:43 -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=1+xgakROSa2tyyNfQUbDwsLUYdUS/rSfQ5IgxtrQvUM=; b=LWYhpiQGZcljQmKqXE0nzGnQ+/Xt4SK3zRwV0uDp4Sa5q5GaZMEb3tKeG3bFvYMrFK MrGzfhJ3kGPa856SsR3tflHMiU4nByAp3ECuciU5Q7abOa365oluhz3zmOGT42nTVhye z/9lX8nMtCI58JXJiBmEM0BM9e39Hy1X/6oygVowka6jOiEQH7kJ3hhED5wYhwC5slB4 pkklhnpJ5g+7YI09TdUX7o/sk/X/vEd8XR8mLJpcvm1GyVFwPYBxsBTu4r0K/+HF5hRK GrT4yDKldhHuxLF+Jd3RigIXC+Rqykt9qV3sAnUIIGevqnA+MrCspDIyL5MmB99NDBdw 6bCQ== 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=1+xgakROSa2tyyNfQUbDwsLUYdUS/rSfQ5IgxtrQvUM=; b=obINVV1lgQdDXhrUNQWHEiGMtCddF+8GytqS2O/ODqzmLpQ0GjHa5U4qOfODHhTfa3 3GSVStewlPFdsegKno7UBrR1UGy63sV4GEsyZ19YcW048897BPtrM6OTIIrEz0mHC/p/ mz+1voOgOzecjcW4dvRE/lfmyF6Yk0H4P+Ju9o3dfpZjI4c95SK7OsvX3P2II3BB3An6 +Tby8P1cTaxfRXcuUMKBao/h/j93d3vWZmeaW/oFALsO+8Hu8kk4tJzKCVGH1YRDo7hp Xpn6Ju8K433qrB7fFM8RYseZPXy44u0pacJpyBaPjEKrbSrNPUIsQt8kUsX9PsjC+FGe nFAw== X-Gm-Message-State: ANoB5pnevQ2vnOjzaeFP48IaKl8EaVgNMJ87ao0DpnZpojOH76IYdjh2 4OZJ6lTTXLWyn38I7I31Uf4Fow== X-Received: by 2002:ac2:4ac8:0:b0:4b3:ac9d:9354 with SMTP id m8-20020ac24ac8000000b004b3ac9d9354mr30478020lfp.85.1670495500019; Thu, 08 Dec 2022 02:31:40 -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 h18-20020a2eb0f2000000b00279e5247dabsm1699580ljl.18.2022.12.08.02.31.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 02:31:39 -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 , Rob Herring Subject: [PATCH v4 7/9] media: dt-bindings: cec-gpio: convert to DT schema Date: Thu, 8 Dec 2022 11:31:13 +0100 Message-Id: <20221208103115.25512-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221208103115.25512-1-krzysztof.kozlowski@linaro.org> References: <20221208103115.25512-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?1751641749030433430?= X-GMAIL-MSGID: =?utf-8?q?1751641749030433430?= Convert HDMI CEC GPIO bindings to DT schema. Signed-off-by: Krzysztof Kozlowski Acked-by: Hans Verkuil Reviewed-by: Rob Herring --- Changes since v3: 1. Add missing SPDX. --- .../devicetree/bindings/media/cec-gpio.txt | 42 ----------- .../bindings/media/cec/cec-gpio.yaml | 74 +++++++++++++++++++ MAINTAINERS | 2 +- 3 files changed, 75 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..64d7ec057672 --- /dev/null +++ b/Documentation/devicetree/bindings/media/cec/cec-gpio.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%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 Thu Dec 8 10:31:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 31266 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp117756wrr; Thu, 8 Dec 2022 02:36:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf7L7N+MYDMgqTp40W7Tq09LtFaYMMls75Oyggc0faUtC044JkEHjTqe7WvViL/rvzoYMpP4 X-Received: by 2002:a17:906:5e42:b0:7c1:22a6:818d with SMTP id b2-20020a1709065e4200b007c122a6818dmr3497701eju.43.1670495781665; Thu, 08 Dec 2022 02:36:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670495781; cv=none; d=google.com; s=arc-20160816; b=F7qQTwsv38+USZv/bQPu//8ImJnKV/WlfTs1RstTVr9fBtF1KYl8KoxsHK5TuQJ5FV glPy/wUjjrCDNw0O+ddaOYWUaYpajsL1m3E122NAVozUqZHe9JuxICqd4827YCIWCUDR /MyKpiLnpdWVwOisO7HRmce50EbdjyPwN3aE92Stlklj+6Q6tEGguE+VT2bOSnYegyVR /cJ7gT+MFy4YfdgyUEZXoAHXI1To/bhh+JIDPMg62wkL5Q1XE6CzH+aw6pCg6qTN4eur iGuVszvHStjNUXKBEjwBn2N+T6sYmRNgJUy6K6kDuhcUc4lJPNebSp2ELS0X6AXLxHRm YUfQ== 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=tOenoxBAkNYKXtwJphgPxrD71eAFNMzynp+gZ1XToN8=; b=hhgNMBIPZDB0yZObBJQNnboEWmLgabu9Pb++/47hCAmHuM4wQh/dTOTqS0xkdswe4o c7wl5IhFdF3uZ3rbeU0z0JgK8FEahmeAsHQUv0fyilA+Apsq8F396+kjwEPCA4CzwCkb T1MMUIrPKPPfuCZp0gOo+BquNSMMHdj5swdczKPY549tCBHaxsNZ8K9/5x3dJeEEV5GN LWBOh31GhjxY2RaYDciK4uCHuFI0QJnQlU1aEinc1rjh9tomrRrpmX5WRVzHzQkA1Ouv gZPIvFn7XWOA2bxn215CXH1OXdbo/jQpat8aRnHQ+iiqoY4qk5T8qrPbHRCYAGzmsiRt 7X8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o8XngGoc; 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 f16-20020a0564021e9000b0046b0dcc24dasi7509788edf.403.2022.12.08.02.35.58; Thu, 08 Dec 2022 02:36:21 -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=o8XngGoc; 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 S230227AbiLHKe0 (ORCPT + 99 others); Thu, 8 Dec 2022 05:34:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230118AbiLHKdY (ORCPT ); Thu, 8 Dec 2022 05:33:24 -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 AD9D383E81 for ; Thu, 8 Dec 2022 02:31:45 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id c1so1365254lfi.7 for ; Thu, 08 Dec 2022 02:31:45 -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=tOenoxBAkNYKXtwJphgPxrD71eAFNMzynp+gZ1XToN8=; b=o8XngGocPIidvkgu1fvEeMsGR11tSM/kYyqUqKm7FpJQJ66qrn3pqm+bYgclP5ofk+ TNmKnBzMOk4TwnRyzP2jmoJZku7RjbAvM88wzsS8+QB5sylMOkdkvaYLNdi1Noz/fYOP zTl0P+Q1wY3I7pSmhYzJwaeza5idzjZkWEANuEtUwxsyes8RoRMbGd0O4bN9x2zvjW0S 5GL8YXAfRtvGM5BVvTofghv6RUF1GLUQ5lmDguLlinFoA6I1UosPgqMdDOnkKdflgL51 jJyllTWEoCsEJEYj/eYw8KdWdugJrpL2ua1EAxclSWCLUS1uXQICMaSAVTwXpkWbcRn1 0lbw== 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=tOenoxBAkNYKXtwJphgPxrD71eAFNMzynp+gZ1XToN8=; b=MK7GEX7D/nDY+AkGRC9mzaFF5oNPuwPWXsScQWG1/gVZ9KrOQuGjww5FfefzpZk9C1 XIH93N+p2VDDilp4ih9vi3j6cUoMG+YUF1Y33Gs8vuZKSrGm+SQ3EmQVK/iCku/6UnXx 7fothpDduhXXRmR2QyDVVgNxVh6I9WVkoJeyym9HR0y1sXkAMagxwxEqVCRuHX6YDsyL LvepoUkQJ3x4FqSVb/CtJElR4ipbhXKKzMe3tAZgQi1iBfJJVlnM+DbbaLvtlQ2rk0bF TEtY514E3LtUWOK8p2TFtMqvHkPh5Xk/rRzyu2jzc1rSa1BusL4MGDkz0+DLTEdGIVuv J0hQ== X-Gm-Message-State: ANoB5pkVejGJTb6CBbj2mkAE2xKxdmcovxuGUb/kBXQDcL8Pmiyu8DCO ngJJQOfm8RQ4lHIj2PPl/RceyA== X-Received: by 2002:a05:6512:acc:b0:4b4:bab7:d5a8 with SMTP id n12-20020a0565120acc00b004b4bab7d5a8mr25682371lfu.404.1670495502030; Thu, 08 Dec 2022 02:31:42 -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 h18-20020a2eb0f2000000b00279e5247dabsm1699580ljl.18.2022.12.08.02.31.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 02:31:41 -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 , Rob Herring , Thierry Reding Subject: [PATCH v4 8/9] media: dt-bindings: nvidia,tegra114-cec: convert to DT schema Date: Thu, 8 Dec 2022 11:31:14 +0100 Message-Id: <20221208103115.25512-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221208103115.25512-1-krzysztof.kozlowski@linaro.org> References: <20221208103115.25512-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?1751641784844914935?= X-GMAIL-MSGID: =?utf-8?q?1751641784844914935?= Convert NVIDIA Tegra HDMI CEC bindings to DT schema. Signed-off-by: Krzysztof Kozlowski Acked-by: Hans Verkuil Reviewed-by: Rob Herring Acked-by: Thierry Reding --- Changes since v3: 1. Correct path in maintainers. Changes since v2: 1. Rename to nvidia,tegra114-cec.yaml 2. Nvidia->NVIDIA --- .../media/cec/nvidia,tegra114-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,tegra114-cec.yaml delete mode 100644 Documentation/devicetree/bindings/media/tegra-cec.txt diff --git a/Documentation/devicetree/bindings/media/cec/nvidia,tegra114-cec.yaml b/Documentation/devicetree/bindings/media/cec/nvidia,tegra114-cec.yaml new file mode 100644 index 000000000000..369c48fd9bf9 --- /dev/null +++ b/Documentation/devicetree/bindings/media/cec/nvidia,tegra114-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,tegra114-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..5c2593f346f8 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,tegra114-cec.yaml F: drivers/media/cec/platform/tegra/ ARM/TESLA FSD SoC SUPPORT From patchwork Thu Dec 8 10:31:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 31265 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp117731wrr; Thu, 8 Dec 2022 02:36:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf6i3/8E/tHpstNFnX3L5BxzSBX8f+c1r7LwRciUy2jb0m03/MYOhWfXpw+Fr1gZKydeFLwH X-Received: by 2002:a17:906:f84d:b0:7b9:631b:7dfb with SMTP id ks13-20020a170906f84d00b007b9631b7dfbmr61183211ejb.32.1670495776660; Thu, 08 Dec 2022 02:36:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670495776; cv=none; d=google.com; s=arc-20160816; b=DMxjvrnaPKhlEFjn78ZH4Yz9cpKiSI7Uygah0xf3hZptQCXUQnm9ZHU5VtzzRSgPk3 baigDiom3PgyCDgDtXaKq8w+2G6Q4uGjg6S4sAgm6KrQT4LWNwL28KOTdmDb52GDbXi3 SxcPfcVQejQJe8D2HY8oj1Y65cl3FK4jV/mnJAOD/6BsGMueTKmq105vh0/BpmznyArE IG2UPThDvAgbZx5U44U/1EYjjk9YhdccJJWU+B9BS03ueACmL0L2jcPCGkiwFKxBLLAL XWy3pXmt26XZvYWkrb/aPpCchoS1ujLmtd9LOQiLhCNCRUKj//qz1HoOHHAyr7ZaTJYx mhaA== 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=GdMCi41BRhoRVn7tJmgZDPG+60TkiWedqCw4ysK9tk0=; b=TTV76zUpbzfXsSgFW6G70zJCZ9s9ZODB6aeeFrmP6nZsQmPG/rAByQ/Up3sDbfwr/r EEupOs/3GdDEwWbcaKkM6bHZKgfaUpQlv2vQqyWz1lW+guM5D7mOoyEyYU8E1nx6gEU/ aE3hrUhNGJfWYVlysdaK8jDPG7gdol+1oHQpJ4Rf3KDlDbWSowib4U1mrGxhL5EBRyHC wNaIJLX5ZuX7dpzrmtHEz6z7WDKVbTB08sy0Eu+4SWjijtGcgt2BxvL1vvFpXowYrMST XzkOfqulOsSE6iKzbOcbITAgXlh1YgQ9oDclTIOJO6nv+teLMhc5gnRph5V7Jokr+KgE ATSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lRIiBy6p; 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 z19-20020a05640240d300b0046c641a3108si7004541edb.148.2022.12.08.02.35.53; Thu, 08 Dec 2022 02:36:16 -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=lRIiBy6p; 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 S230099AbiLHKeX (ORCPT + 99 others); Thu, 8 Dec 2022 05:34:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230086AbiLHKdW (ORCPT ); Thu, 8 Dec 2022 05:33:22 -0500 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F5418326C for ; Thu, 8 Dec 2022 02:31:44 -0800 (PST) Received: by mail-lj1-x234.google.com with SMTP id b9so1086304ljr.5 for ; Thu, 08 Dec 2022 02:31:44 -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=GdMCi41BRhoRVn7tJmgZDPG+60TkiWedqCw4ysK9tk0=; b=lRIiBy6pSMLBYxynao/nIi1eDsNXlLTyCPFstwfxAluBEIsM6LiU7Plqhn1aJ02Yq6 2YJdwZYqtp5SUDN3HjG8GhAdVu762AjwFrIhiLmMDo+/00U1QEUfrdxnnY8+JxFp2uPJ 2UYDhpLJAL6B/y+H9+VzKsi7aadEJjjhvkzC/UHQ1EBYgTJOCwfCibi7quEmPArd3F+X FAysDVc0mFhSzNCGA+sXa3nJM2+nODtpkXx2XWAXTSyOLjOiD/4fwSGhvQfbsosyBohS xJncVnJWk1EZGOlLaEax8AtfdXsmnjE6ZV3mzb8dI2Z23PrpJYC8Rr45WQYiVPutyQen y1ww== 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=GdMCi41BRhoRVn7tJmgZDPG+60TkiWedqCw4ysK9tk0=; b=sIFcC3BMsBUzLeiB0wQTCOucW5uQG565mus90qo2r9kVEmn4zfrsDQOKw0BKJaI53E Q6/7cJ5J+oBHV6YimJPQqnUoCGJUIhX+RMgDA4ymvsDN0urnsbEj6RiWc79gCVBxpRuh 7tWQNOUuBOwCPLaDd/Q2z23F4IYyx4ewVQ9CoRI3zrrml++RWxsCShiAx7Po0TeyyGzK hrJRaw+2NzHs3S+1CHjUfZ8l5HDqFxi/0YUyS1+hwIz1f9mEGmVg7VcZ9esFEMqDA9mz 2zXUCUjIZmvP8kalu0/PupqUwDAuZyw2U/vZnS3WnA/suZAIGjO0L+8ki5C5qYhWMjrf J5WA== X-Gm-Message-State: ANoB5pli/ynVDlHGAUHDkVyq7LqMINOe+dwER+GSqEHEQMYPW6UrpySk 3mf7PMxYFkPkcPCD6HkG0crzig== X-Received: by 2002:a05:651c:2328:b0:27a:eae:9ecc with SMTP id bi40-20020a05651c232800b0027a0eae9eccmr3403499ljb.248.1670495503950; Thu, 08 Dec 2022 02:31:43 -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 h18-20020a2eb0f2000000b00279e5247dabsm1699580ljl.18.2022.12.08.02.31.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Dec 2022 02:31:43 -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 , Rob Herring Subject: [PATCH v4 9/9] media: dt-bindings: st,stih-cec: convert to DT schema Date: Thu, 8 Dec 2022 11:31:15 +0100 Message-Id: <20221208103115.25512-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221208103115.25512-1-krzysztof.kozlowski@linaro.org> References: <20221208103115.25512-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?1751641779259315813?= X-GMAIL-MSGID: =?utf-8?q?1751641779259315813?= Convert ST STIH4xx HDMI CEC bindings to DT schema. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../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 5c2593f346f8..b110c6d5133e 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