From patchwork Mon Dec 5 15:18:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13064741 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 085B6C4332F for ; Mon, 5 Dec 2022 16:30:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QFI02GppZRuVA45zgEt2J5/RWGokbih6QeeMJ7EgSO0=; b=Ko08ISu72AvcMU Ghy7K7zgInJgokJNDI5eERQZ9VjApdiz8B4OVnke8VbvHAKiLvwxZUdQBRHDgyfwBYYn7opbUpCig 7UuxU7R1ltngKw6bG0tx4j6l8idMDJlMse1iJk0GlnWHvStvy1zcyzp4jx601KlPc4zzqcBxhuWgN iACoh2mGtndabRIyOCDyHl2uCo2o15yRV/V8bVHwx60sXF066BuLRXwur5lTt6+gnHvxNka6jHWl/ vwyAEStn+7XcSiGMTwnPrpvDotrmfM6y795zX370tE3E2SvmY7nQgIc+Ygm8hRkm8ajEoyfK53e/i o4QymOWUYp1MWqIwE5VQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2EMR-006UWQ-V9; Mon, 05 Dec 2022 16:30:31 +0000 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2DF7-004fmz-Ez for linux-amlogic@lists.infradead.org; Mon, 05 Dec 2022 15:18:56 +0000 Received: by mail-lf1-x12b.google.com with SMTP id p36so14726456lfa.12 for ; Mon, 05 Dec 2022 07:18:51 -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=iMM2e9aAz3ScK1WCwVxOEAtkh7hD8Yf9LFwwk/nFS4Q=; b=XXvn8qAq8Z9ZjUknoYhyHU4GY12GZE2RsUUv7JBfngn7zSavhb1dt3AAQzPE2bHk9i lt2zMOESrs1C1XU9rfTK/T8ErK1W8dKv0V9Ke0uiICfH75C59lIguDlcJVgysdUBSaWS 2QKgs6JhfzTFPAR6h6wXe4j6Lvve3IrBPS7Ni4Il56qblyoSvv1T9QtDZQQGG/l9Id9H OLT10cXgoPSrsQISgc8S/ZvSms9ffVKnQc2jI7oIrQIHrsHx8BPoTErd9ZozuFEpZ2nU kSySjyJji1I9/26O54zxl8ON8/38sDEOUwM5YCoPuehgS5IXr/KpEUhPtL0pniC0UivV wImQ== 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=iMM2e9aAz3ScK1WCwVxOEAtkh7hD8Yf9LFwwk/nFS4Q=; b=LR4i7MsYVPH8UWgBVbkPuA2/LfQDWyzcDqhiX2EMTuIUsvG8XOXNZJFSyuM7zikl/X dpBakWYf42lI4izCpt4ZgLjxuP4CxhtfmIdIgwEO4EKRCo+D73O77k3mfwBxAxY/UsbM wAlXL2qysRBaqfwhRwNWGPxM+DLFuRzd4jjOYBhyDLd448wHO/hLxxKedkCkim+ZI0dY uDqwxr3RzVtsUAiGDYQgostkNaDxNnQd0AxDoow9AaS3JADNNserQjK4B/J63fks/sbH EfoWnJv2YliQBlsME1UcRv3IzrV5OJMBgeArJqKrCSf9Ceypno2dYzJvMJUJPDvDITCO EkcQ== X-Gm-Message-State: ANoB5pmMZAqWEpdcK+gkgLoeN9oVg4c1Ea/zYBUJY/RlESjAT9ygE9LH IiXIYd1nJjIxIU/sAkHUN3pglQ== X-Google-Smtp-Source: AA0mqf6+PyA5wIRMbY5xrOCf3yc5l33tR90s95AXvlxQBcLjopdbD0CRdckVx/Eh2NMejeIoM2cdqQ== X-Received: by 2002:a05:6512:324d:b0:4a2:4d28:73b9 with SMTP id c13-20020a056512324d00b004a24d2873b9mr29734643lfr.690.1670253529775; Mon, 05 Dec 2022 07:18:49 -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 w26-20020a05651204da00b004b55f60c65asm1012470lfq.284.2022.12.05.07.18.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 07:18:49 -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 v2 1/9] media: dt-bindings: amlogic,meson-gx-ao-cec: move to cec subfolder Date: Mon, 5 Dec 2022 16:18:37 +0100 Message-Id: <20221205151845.21618-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> References: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221205_071853_544737_D5776B5D X-CRM114-Status: UNSURE ( 9.92 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org 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 Mon Dec 5 15:18:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13064740 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1FDF0C4332F for ; Mon, 5 Dec 2022 16:30:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=G/LiJ0hYJawg8SVc+Q01tETujdbmAfQ53bP/+z51oVI=; b=K5KQEIY+hMtkWp LpRb1GdUexjSmwzRkM7wRheOPuUbv3Yozb4thYEcWVLjfSvv33/87G7Lp9tKCuDHuEfVK2USvw6ks SZIswgJ1HfFJEcAt0q10PUCW33c4yEpnTu09vdkUfv7QWEX8kjwIvpLRREFG9f22z1yZ+YjnblB6K Wkwa0fWggyYzr0AjeQs06D4f+DW6X0qaF9POIFdqvRhQ92ozBDrnWxhvV3oR8ZDK6leOdQM1pOaCV F/O6nyJueOnbgXnI6BqMQrFEOxg72u5S5SX0hy5lopKwLKa+wFHNT4LdAJe3efME95PlIoN3T6Zxi m9+xrC7iQrJ9B2nfgoBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2EMG-006UQQ-OV; Mon, 05 Dec 2022 16:30:20 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2DF7-004fnE-9h for linux-amlogic@lists.infradead.org; Mon, 05 Dec 2022 15:18:56 +0000 Received: by mail-lf1-x131.google.com with SMTP id s8so19086332lfc.8 for ; Mon, 05 Dec 2022 07:18:52 -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=TyQKk5Jb/oTm+Kxu2GX9IYiCfH6m5H2YSYAaAsoQ4Xqhn0YSesbd+oJMZwhLzFIhsT uwPxEQiUzlRp2ZKGDHIMUWEM9hqwXUfS7wDSGb40/dB3jgxmd+WCeSGBZpWRAhpQblxZ woNdwJs7zRHNHg88D85YeUu8115asVSudFEajY5oe5yU6SNTBFmS1ZUh9YvzGT+PB0fF JFoGP/gUE8u5ZeUctNk1FTBoQkLcxpuv5B6UdCR4RAiZUa+O+EltMAzNWjagUULlVcwg R18gDUIVgp9X8sU3JDEez55GjaLFGz6gKm8Q/KiDjfumjmwKDzYRb2bAzyeG3MITLtCd 34Lw== 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=CoCFzuv15ppsHrJvO45hgH40natVSDYp9oCwb9rmWevz3l+XNkWlBuvcTXQDMGhyIA wDpxfiSdfGLe9J1Q+Ci+shx8cOb/JVBZoL6b2I9BwOLBknV8oOYCyGObl2apVMvt6DVX PKppRuWRfKylo6RF91Tt9yM+Uug8ciW7AExNZHNbrkooFZTIINKMAoEIVuJ/KJ08obmY vLjhbNTKGQG5+ChqSJtWbyPM/ZGopurvnerG0jta/W5akWQslbVL6eHc9eN608K1gGG+ eBoKQPmFeD+CNtHl9gDFf8LRDWFoVM97eQxovFBRD1m/nVJjgkwq2lM6s+Q+iba50Qbj kYug== X-Gm-Message-State: ANoB5pmjLF6aPiZ5hPPWfo8TeU7IeCIH8dVLip9QDRfgbEeipjdpOrQa rm3OeU3glT0UsjFK2B0okdSzfg== X-Google-Smtp-Source: AA0mqf78FJH5p0ax6RFYVZeoFxmMuA7VAWipG1lyz5YZW0n7TWCLHLZ7zCLyYkWtLb4MXZoQZsJMGg== X-Received: by 2002:a19:654c:0:b0:4ab:e1c9:f9b1 with SMTP id c12-20020a19654c000000b004abe1c9f9b1mr22905192lfj.378.1670253531188; Mon, 05 Dec 2022 07:18:51 -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 w26-20020a05651204da00b004b55f60c65asm1012470lfq.284.2022.12.05.07.18.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 07:18:50 -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 v2 2/9] media: dt-bindings: st,stm32-cec: move to cec subfolder Date: Mon, 5 Dec 2022 16:18:38 +0100 Message-Id: <20221205151845.21618-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> References: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221205_071853_442320_D2EBB64F X-CRM114-Status: UNSURE ( 9.18 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org 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 Mon Dec 5 15:18:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13064639 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 09619C4321E for ; Mon, 5 Dec 2022 15:19:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=R2yYWXB+UOGZN7UGVxh983QHGG7oVtuEcSOO1UZ2XOY=; b=m+bAXWpnRUKRKB E8vGtizRpdLON69f1qsf2cT5F+0KnQTYUkyP4kPoJo+3GluY304LEC9UE8YqeR6ulN0DPPd92Y/Wu VYmW7hljqf2PQ9imoSvie2jmhitgHlTidM1c3V0PC0JRZGoy8S3b9Kl9onhZwyp9xn24Lg8Hb6Ybu Wk3A06IOUJNauuQteRe4T+SwFcdYOH/L+6uvniFmsJ8R6+c/Hn8Uv1ROavEcxVL1oLjrusZNP3Tdt uycd8cks9i8GyilCfTSKbEJFjslXhAqRacxluIRZxqTvInF/N6zbIYyRUkACbLMcpemoDFDBLPfEc EwuvKFGkRDW6u7e57CLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2DG2-004gqf-3r; Mon, 05 Dec 2022 15:19:50 +0000 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2DFA-004fpt-HH for linux-amlogic@lists.infradead.org; Mon, 05 Dec 2022 15:18:59 +0000 Received: by mail-lf1-x12a.google.com with SMTP id bp15so19031007lfb.13 for ; Mon, 05 Dec 2022 07:18:54 -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=yR2BrJ7GlNzz1L7RbApb6lqQSBsCQtyE8vkfgp1+AEE=; b=bpk0qIW/bil+RnwI4y5r1x0yknZWOjMReR/ROabJRNfvVnaoEn9+IT4/FGHDeX3NWI 9NRIxlum7z6N7EbBScDmROvabFVDZrDeaWlbzknOGItsv4cJpec5Tirgd0MD2c+aNvlN KVh7C18Hc2CvFVWwGY1rweHNRK52JTqX07XqSo+QEvs82wcKeC1rRr+5ZnyLXonD5y23 ZHIvZyLcin1SOZXsQ2igFSSe96Ikh9aBuMMO2onXchKPLWrYTyyLLCEYeou1XUpST81f D/C5rG7cOEQLM1nUMz3wwV7nDchV2yYGVecPYLOK3QdP73YiaCESB+TwJEDaidXrPgA2 hqPQ== 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=yR2BrJ7GlNzz1L7RbApb6lqQSBsCQtyE8vkfgp1+AEE=; b=omG2YZfa0E8J0ycQSo0+i5CcvA6rlAGVQAO4ZydIHWzY+mkqwp90t+HGePYTU3Pq8F KPhl+MBN40xaux+omPz9GAJgNmpRC+vavpxcF/7D0wbCG0ExLAVGp7DrIZWvVn/TkDH/ qCP2NgfpvPQD800TzqrAiwIZtlouy1dfgrtL8gZDXHcN5VpJ85Ayw9cONnMtS6/3JYGZ gezR5tXgIJjGulb1KIGENQ/Z7+pO8XLtEUuS2o5VRwGxGl9IMKkuzp6Y/DvleYDhghKS P9OqnkRw18HKO3l5O94kzxjXPe+7bY6F854RhTGlZq7uIgHluuaG0RDOm9vdm+FKAD/y SEpA== X-Gm-Message-State: ANoB5pk6ye8nTjZarqbOm+tzxAMHj8RsvB7LDvK1qSBI+2U+xcXtP+Op Alp4U0KMm/+joPW2YUu8siI7TA== X-Google-Smtp-Source: AA0mqf6jyyZRogeiRW4/e4nxxtucWoAmJrilZAi2g0Ug0dFDirM+NqZ01pBbCY7Cv4/B3PSt4Pym+g== X-Received: by 2002:a05:6512:1698:b0:4a2:4b43:9aad with SMTP id bu24-20020a056512169800b004a24b439aadmr30144514lfb.213.1670253532624; Mon, 05 Dec 2022 07:18:52 -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 w26-20020a05651204da00b004b55f60c65asm1012470lfq.284.2022.12.05.07.18.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 07:18:52 -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 v2 3/9] media: dt-bindings: cec: convert common CEC properties to DT schema Date: Mon, 5 Dec 2022 16:18:39 +0100 Message-Id: <20221205151845.21618-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> References: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221205_071856_612001_891BB10F X-CRM114-Status: GOOD ( 17.43 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org 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 Mon Dec 5 15:18:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13064638 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 85E47C4321E for ; Mon, 5 Dec 2022 15:19:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OuwY7D/sbSDbZTWivYMDWzWzW+ud4HCmhqmqo81KKOs=; b=bqzLvIDdfJTNbU r6CLoI7G1aCxIpJdTqI0TSJMkqgG0Rr+vH6ktQ5sW3viqTtbXUwzAg7OCa+pbZOY6QO4/RJBYhjLc g14MfNsugPIVKgS01D3cqFz4RfnlhIYftcMdYPGmK3FyyPbWHyzbRp/8xEjzlPeaJ+3vS+dEtWnta plBfCu9JHt9zuHcBoWuzdtGoJLmwx4XqtiZAGE2tfm3PrK5udZ2ehHkm5AYH1HQxf22V9nx8I96/6 KYK1T1bh+vh7baPG5Wrpp+9C4DOvF7bL6Ctdkg9AZCDiSn8oh+UJxMLq/JX+5sNMxYw5fUGVkJihL FaTbpcfXUHW5YR9M5iDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2DFi-004geW-HZ; Mon, 05 Dec 2022 15:19:30 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2DF9-004ftp-L5 for linux-amlogic@lists.infradead.org; Mon, 05 Dec 2022 15:18:58 +0000 Received: by mail-lf1-x12d.google.com with SMTP id d6so19060362lfs.10 for ; Mon, 05 Dec 2022 07:18:55 -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=0y6Fl5nmmyzxTIPnsN7I5cMbpP4z41yN4XYoyu6c3jc=; b=mO+7zarx+DxucFPY10l+B3VsMhLELHKJH6rHq4ek7bqaXb+qR1hTZOtn3rws92g0jO FTlJrua1bI1nc/P9HWytW0LW4bezurnVHeUxbEtka5AXvLRiiVSh2YMleTy8jTQpSZS5 Q/3sswD1Ld3MisWiPYe3Vx86xcEj6U7csGU4z86svc66gc1F5vobXfwfg+o3FZwwbh6e 6bB11NBSw8EZ2SZzDLJKRZHR7rIc9XSxc6i4VpfOM09o3s0ncDtFaIguC228+yyrH3t+ 4KipmNfx8fZl4jQyLu9Nq385iR6uS6ccqfOxiOAfMfo2HijzNapnX/yKZqMcfE0yNprc JhPg== 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=0y6Fl5nmmyzxTIPnsN7I5cMbpP4z41yN4XYoyu6c3jc=; b=P33pos66u0VcrpBF432qSnuyVesIsDEn5KM0CtCL7I7M6qJAzMZDB8AJEIIgQ614XV MLxy4GDTYLag2CG90v928eGMDrlRkbV4QzIZCv39rGlpj8QbOiAZv3rJUfqfhM4SJt8r QPAZGj3U+rRtPRtoPTmJfx5YEziC5dUq3cuVBMjPc8Oa0rM9R7wDwIPRiRu06itxD9Ki LnwhM8P+DkGkTThmX8RdzQLfaU/s9CMXU0eoyEtAs3OWPiJxt+Dac4usUD7Hw/Q7eyiL /QRLQUQ33OHOYlx9Ptco4R2kNpOVvI3l79yJFHe6zQ3W2d2iJaxARBT/pEMLJjFC/pYW kGiA== X-Gm-Message-State: ANoB5pkCCzyhmWhEWjwZmsK6YbHMM36jYT6IW4Qplk1Q0DbpTduzmW/R t95bDC5KCmcUkE2lcWKbJ3odGQ== X-Google-Smtp-Source: AA0mqf4eQ3eDlVcaTMJOzJGRvcxfn6xFqaVgJoOB7uHiBOYlxYooiHYb5ToMFm5HnBlbDhFaIemAfA== X-Received: by 2002:ac2:4159:0:b0:4b1:5a96:983f with SMTP id c25-20020ac24159000000b004b15a96983fmr31113889lfi.535.1670253534125; Mon, 05 Dec 2022 07:18:54 -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 w26-20020a05651204da00b004b55f60c65asm1012470lfq.284.2022.12.05.07.18.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 07:18:53 -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 v2 4/9] media: dt-bindings: amlogic,meson-gx-ao-cec: reference common CEC properties Date: Mon, 5 Dec 2022 16:18:40 +0100 Message-Id: <20221205151845.21618-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> References: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221205_071855_727868_4FD0235F X-CRM114-Status: UNSURE ( 9.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org 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 Mon Dec 5 15:18:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13064738 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ACD82C4332F for ; Mon, 5 Dec 2022 16:28:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=al9tCSNSxchS9l+obPsWIICqSulsPbfo4lcY1ryVMJo=; b=Xse0e+L7wwsTHw g1zLJyT7yKbyrPB9064RBSu8Yn+mXDp8QlH5TaCGtXe7YPsk25pg7twhItmN4RXOEOEUeUNZVvxjy YWn5jtP+B1mgt7c8D7iGkjJF71Jnw1Xalj+mrjngsmouulvgJar/8598/FX8hr24y9R04dbCQYODz X/IJF16tR2HejIWeiTU3Zxr4UXyCl1P2rn7//qb7XffALsLNFl6wiI+7H4SdeKgX1BiGTAoH2M7hS TjzG39BJpBrt8T6k6Od+BZUtG+BvoyNF06Xf1RZ13kTiEdA3TZeI4GeZp4xudYgM8altk+J5D9Ty+ pA3R6fQJRQfhunletTZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2EKU-006TeH-Un; Mon, 05 Dec 2022 16:28:30 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2EJp-006TFi-OH for linux-amlogic@bombadil.infradead.org; Mon, 05 Dec 2022 16:27:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=tw1N36hf4S18yma0Kn3UCRfKqglTZ6hLE0qAVoDvnuw=; b=ZpXavypO7X4cNIfBlIt9vBFhf2 P+qty9B/I55qcLfgs2qvIBiAHvjrpOZX8WZcWDdUoRW/dmgCh6/CCKYGMcpECg2IMDuhvoZGiavPp KoUwR/1INEjwX8UUMZh3u9OhGseGLDUGZpgsyRB4F1Az3NuAqALW39z3mok9cjbhBlZLXdZYcspEt AQVd5yzmcSRfLkXDBm0+ZRDSCiu4GCwIgl5R06PHmR+0DjGu+SHffXw2mjK5CPSpj2UYjEqHhhKV0 MdrUHKXEv1P/tnGHbqnNo4sy29Ux5Sxno7KTRsuj1bhH/lSPSzRBOwokAt7ZxBXEnXnxlxHSbsedH /ftSenOw==; Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2DFI-007eZm-Tf for linux-amlogic@lists.infradead.org; Mon, 05 Dec 2022 15:19:07 +0000 Received: by mail-lj1-x233.google.com with SMTP id bn5so13914316ljb.2 for ; Mon, 05 Dec 2022 07:18:58 -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=tw1N36hf4S18yma0Kn3UCRfKqglTZ6hLE0qAVoDvnuw=; b=solQ7lAy3lhvUXrIWcKhVEaQbsA5oV+r/OiP9U6OAxx6kULu+Bp+8RoBVzUc0OfQzG 4T+1JOWKm+0Whmo4am/GRnHGsKTPyXjm4QV0atCZShzCAXhJ6GzU58z7qUf3lvWZImTa gFbYRmird/MeQCahfp8U/Nc1TPwqX5VjOSNPzO3661gr5FiUtdDEyQnPX3x0yAErCgu6 /y+hkyyFpx5Ki730T9AYYKDd8rqtLf65jqzf+HUdqLDHw8R9gOE4KWHc/xCC9eI0MQ9Z zh+MuV4pShjkiHzzNmiGsWpRL1yfW+UGae30zDBCL3CY7wB7kAPc32SoZJ3CPZDwNn4k kaFA== 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=tw1N36hf4S18yma0Kn3UCRfKqglTZ6hLE0qAVoDvnuw=; b=sP1DrDSTt+V0FumojF0riBTjp1t0brcAeLr5naGvHQjbILOIVzB1asNZtCwyxNNkUx 5hAmNPs17vyw+kaDtqFNGSUwTF1339fOlIzBUlpQBHV5OuqV9D4pZOOBxqzLB1wmkAFv 7TlHZxgbJUaMHp5+ALOJ4RWOJJMkJM/c2de3rS51U8Z7/Cx9UMEfLdFggSMvlLPM234O cJ5o7I7ICiKfANzSPW7y3DSHbEmtUddY9nJ2x0D9oK7n9fx5XRf4P+wyiWDCECzDyj0s 1SsTphYtar6rEaNc8xzfWWGLMRW0Ivce8oZPXJ/sDHdJSYF79ZXj8cYblJdqssKUpUcN mV9g== X-Gm-Message-State: ANoB5pkiS+Zrdg4Dcy3hdk2yf1zJFyuR7gRE9CzK/PO5MObtb8OeTIuO Cfi3MyBw5RNXxzdkI52pzDBGuQ== X-Google-Smtp-Source: AA0mqf5n7I3QT7lFRtdIRCvpgaFCa37U4K1ljngooWxay49uGqEYDkoh5mcR3TsHLb9OJcHSiojIlA== X-Received: by 2002:a05:651c:2002:b0:27a:8ce:45be with SMTP id s2-20020a05651c200200b0027a08ce45bemr476662ljo.76.1670253535692; Mon, 05 Dec 2022 07:18:55 -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 w26-20020a05651204da00b004b55f60c65asm1012470lfq.284.2022.12.05.07.18.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 07:18:55 -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 v2 5/9] media: dt-bindings: chrontel,ch7322: reference common CEC properties Date: Mon, 5 Dec 2022 16:18:41 +0100 Message-Id: <20221205151845.21618-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> References: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221205_151905_165355_E09EAC32 X-CRM114-Status: GOOD ( 10.20 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org 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 Mon Dec 5 15:18:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13064737 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CA67DC4332F for ; Mon, 5 Dec 2022 16:28:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=m6Ue7wYMt4XZikAlWib1hHP0Nm+ogW5yhni2EdSE+L0=; b=oWFwiy3HPsaAVY oSSl26Gc0TTId5ftxV/+IZLSHFh/igsk69raV3Iqq2HFk/YTUmtJccwLU0pCRm1BeA2uuIs9V7m4a cDzpBeAZzUN8CjDTDwCKCTUzfmGtbH47pCw+ri2Is18B7kQrmSUKKGm+CMdcHAsbQTTtXbNj6XjEw cNZV0p8/v8X9BbXV0pEqAnnof/VsdNvue7NxVN1jcAQVcU1hJ5JU+rAncxBQ/LcJpyn7IE5M0EqR4 edbVLt/N4FOGt6FRHaDs9iRfc+Qn+xMyuKOViLwJp/yhX4ezJOhKcmEpZa0pYHfq9bXAKE0dPU6C3 iSLDkF778F6rtEJUTL6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2EKD-006TVM-LD; Mon, 05 Dec 2022 16:28:13 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2EJo-006TFi-OB for linux-amlogic@bombadil.infradead.org; Mon, 05 Dec 2022 16:27:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=ioUCktL+IK6H1GUGfnY9+vm5EQylIwow6IsLvhdaPps=; b=oL0dWkmYVnOQ6TTRHYuq4fTIEz 4LZfaLhz1YrgSUCEXdH8txZ6rtAgfTRbUTH6AL6c3FrpTsLY45C7LRGDI5Gt+ahrcr3VGkrvAgLp1 BYU6jkXWQmwYysJart1uUlMNaqZUjkA0afRtNVd6TdYnUFzVsbiFHL4FQMrVhEsXqH5Q5cdgJhJJC gLF9HdaopixpGpXOj54fgXOC0MhPY/j/6VPVIDvkN7s6Czlj0apfbvbLKfcFJ4AohX8vmTz1ERGFD KlgyT4doJ3BiLAD8CwFk/XkITC//HY17SHSYf4PJPanirpU5l3ESqs02y9nuo1YjuAIVDSfj02dCo 19u/qKLQ==; Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2DFI-007eZo-T7 for linux-amlogic@lists.infradead.org; Mon, 05 Dec 2022 15:19:08 +0000 Received: by mail-lj1-x22a.google.com with SMTP id a19so13949887ljk.0 for ; Mon, 05 Dec 2022 07:18:58 -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=nnx6OKTVzfXmUV/qzBjqtIvYFUG6lav11x+8CegKGxuY28Od5YkTolemEYibkhiioG 6Oc/XG9hh+1Oi/SoASANqhoM7xRcDC4Uq+3c7NdgkXt2aiSxn9MqdWdMVjknMuAe09IL B+raWsVh6G1GcmruMg30i6seUHBa8OyptK5gOiqeA1lpS0sn7nb8YhIQlQUW6AICjvzT NIsJxfNUNjYJQJtgjKYv+i0msCnPWugx0ahz6cmbQRS/8eSmibbaoxDk4NnpDDy/6IfF Lp0gKTp2wbhAkjXG6/E5CNS2Dm94fkDfGLDOUJn4+tTUO94oTHPc/sxqNx6S+hgZ/cU8 zirA== 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=NWkUsoQiK81lKmh67lUpQ7kMBAS4/VbaqHWqnSTmd3D6Kw/Nj21AX5dM9rquEwtA/n SGdDl51oTySyVmWpWCByzc7ZhwHTbKs1+GalOXruoXM0PXhUHWcU5SbYJuBrGlfhOgIo 6/g2aDt6mUcNwHpJRqtcMzHnrT44JHjjU19eixOx6JxCRGgPTIApbPDFpKlLzJkc3531 0rse//jbkuaaMB9k9MoTC5T+B2sa0lX36P/9KmBD+pw2GZoQJSjQni1q//xQVEfEnO4t UKrD+In808r4IFucJoiyrOQVfOSpZVKuwSz9QLxeTOtTlzgAJ6ullyl8Xqgs0lFf6gVE qS5g== X-Gm-Message-State: ANoB5pksBBqetX1/ur2GgfcI05LajdDglGpEkwZWzAHpcpeZ9f7onDdN uPQr8CnUpTpTcLZmuFdyrtuKdw== X-Google-Smtp-Source: AA0mqf5pCnKjhB0CxYAgsq1H6IsuoK9pBoRfVOxMwzyWSwYuaFMOWmpuI205KvYDZ4jXZIX9dYKSAQ== X-Received: by 2002:a2e:aa93:0:b0:27a:24b:a9b3 with SMTP id bj19-20020a2eaa93000000b0027a024ba9b3mr1283470ljb.391.1670253537111; Mon, 05 Dec 2022 07:18:57 -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 w26-20020a05651204da00b004b55f60c65asm1012470lfq.284.2022.12.05.07.18.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 07:18:56 -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 v2 6/9] media: dt-bindings: samsung,s5p-cec: convert to DT schema Date: Mon, 5 Dec 2022 16:18:42 +0100 Message-Id: <20221205151845.21618-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> References: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221205_151905_165355_A83A42F7 X-CRM114-Status: GOOD ( 18.14 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org 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 Mon Dec 5 15:18:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13064736 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 51E31C4321E for ; Mon, 5 Dec 2022 16:27:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nMzLxkt7mVn4zwk0TxUrjmMX+0ayX6eg/EYGPWVznN8=; b=zGGi574QyUUbCi IefQRfZAw8Y1mpz2xREY4UC5JhDtoGFV95ZoaT5VVPn/uwEaCdfie4ny0g0TBHjEV1H2CVra++nSL 21ks/6ObWc1TpJb/eSuoiu/xbHDfs+x3nsLZpbxYWM4Xhk3GhMqbnh6X8Gh6KNtOO5FtwwiJJpiuA n5XsCMtIIeF8jVCvNL6P3Gz1avvRaMTinFFv/LCHqi5zIr39lPuYjx4TdgwQWJarxBZWPmHsAPy0k I5cshD0tZIjsoz/JqZNXQbASMwaoPd0SE5oykEe1iSH8K0ShYltuBRs5+zFjk/ffmjBfmoRHGavMY GygzeVM2cWoSNSeXERVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2EJk-006TH3-Q9; Mon, 05 Dec 2022 16:27:44 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2EJi-006TFi-VY for linux-amlogic@bombadil.infradead.org; Mon, 05 Dec 2022 16:27:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=OG/8G+X7cn354GHwDZ9it6hy+FM3bIwIsnxzfxxJJs8=; b=YcLJf1DMvzeNwMgRR6ldy/1g9Y by3TlNb1dTwJGacORYTdI91/2kB+2MXgt9Vmhas8X3FLKys8oGz/A6WRxM+os/mUvZ5+5vqwq/bLB DYCzlm3iTb7dQ5NYcdyaUy2UFwWNJ87BpvGdqDs7nLuxlYotV3Dy4GfVD99+cy0gFmSAmCV1ZM39Q ADlHexnkOp/CRv48LGBaK12A7Oqrac+Ji/UohiGg5qgfli3NrPbsXd5qR9dyeNavaxQOKw8evX7c8 dO1fkhg/GyjYRXCs0KE7eaYDGy2jL9iZmI0CMysW9nhJd++Ph6jVvTiH8iKMcMBBmgzqURgXtLZj6 FVtPONTA==; Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2DFI-007eZs-T7 for linux-amlogic@lists.infradead.org; Mon, 05 Dec 2022 15:19:11 +0000 Received: by mail-lj1-x22a.google.com with SMTP id h10so13882869ljk.11 for ; Mon, 05 Dec 2022 07:19:00 -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=OG/8G+X7cn354GHwDZ9it6hy+FM3bIwIsnxzfxxJJs8=; b=n5b5W1egO3RHI1db6QG6Zjkmv/BIcd4ndpcGpufGOnQwvKl64GUkpxRo7nbY/k5YDK k56YnJJieRdxDHkEvV3lhLQQe2/AaCfvOJRCfQz4LCYngeM5io5+D8oJUssFIpAVbr1Q OsetqNCnDbp72hHaS+7wTcAv12Z7gAj6FV/C1poEmSUNiwY0mekDfq+BEMV9lCTu0uMR Qw7uF6byg4YVQ20D9mZE1TrfC/kyBflhHc4/s91jmMrgSMLatPzNKiwweL4FuNtlJak6 e0d0ROK25AfK8Rk1tsA84L6C5jpPyLhw0fXQUx11xWlokpaGqtpra7IOz+PrrhtrDiCD +1tw== 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=OG/8G+X7cn354GHwDZ9it6hy+FM3bIwIsnxzfxxJJs8=; b=GcH+5FUwS3NZYNuc4wOjDupNt2a3DM7U70ZRqChtzaC3CwHsethCarNbD1QLsg5718 Hy5VnJrI36JvBCiae/vJ/9NT40zBpwYCc5XJ8Zf8EOmqcjHOqQOPeqomvEedRsz1SRIz AJSwzWerF0dtyuaMgBMisKlnHY/UfhyiPd9WPpx+5R/8nx4ygMP9k8jvOlaBBI9I9OD5 BRG8+0Y5FqXqmIrpKUzI/fN0+NBAycV1vBWLIKEnjqBh17TJMTnlA/t0he8nAxPGatHf Zivt2ElSOEYQstkASR4yfVhgqJLZ1bf65VzrxYviI1kt6K5mq+1SqPy2qr72aV4PuXre bKOQ== X-Gm-Message-State: ANoB5pmODINy4lzzXOkPLLl+CjoNw+A8qvX4322ZJihS4hEDHx1yAlDL RMUYmP2OSfU8LQVxjoQ4LraV+w== X-Google-Smtp-Source: AA0mqf6rrJSwBS2KDp5lj1n2eUBOivuCjmtclfYC8Ma0cwZZTgMnwnlI6JALi6ki6VhLVSe/+xSuxA== X-Received: by 2002:a05:651c:1721:b0:277:2600:9ce1 with SMTP id be33-20020a05651c172100b0027726009ce1mr21479909ljb.233.1670253538773; Mon, 05 Dec 2022 07:18:58 -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 w26-20020a05651204da00b004b55f60c65asm1012470lfq.284.2022.12.05.07.18.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 07:18:58 -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 v2 7/9] media: dt-bindings: cec-gpio: convert to DT schema Date: Mon, 5 Dec 2022 16:18:43 +0100 Message-Id: <20221205151845.21618-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> References: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221205_151906_655867_AD815C0A X-CRM114-Status: GOOD ( 19.84 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Convert HDMI CEC GPIO bindings to DT schema. Signed-off-by: Krzysztof Kozlowski Acked-by: Hans Verkuil Reviewed-by: Rob Herring --- .../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 Mon Dec 5 15:18:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13064641 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 100D9C4321E for ; Mon, 5 Dec 2022 15:21:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sKR+R9KatrAJfuZlMX1BpunnIm7DXHkyhetm7sttUDI=; b=jCDT5pSPnVU9Jp vxchjvhnjg8q9QkdTVrT1OxW+8nf+w5wnqXR+DWw+ZGS6+ISwxmCGvESN2zRxdnDM2XRPaAnme6cp L8xJPa5LPxgTJJzV+uTMkS1R6xTQGWmWfHvzTLSbYYI1E+FLDt0h/UGTeTMZv6jKGN/lxBfcc3Oed IIlgqUgsV+dwvzjS0SBF8h/DxdL0bnuapiFc/HGYqgAXtxh/+9/AO/wuPgQi5X55kv5yiZAqM1qP+ ezk0GmfSQxEDY11hAEgl5DbIaExppk9rSdo3Ecdp3fF3ZbDbto+6U0/z6/rpTCYVoNsQ6AYMzY0Bt gVFHFRgoEGRAVFi56y+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2DHK-004hWN-9K; Mon, 05 Dec 2022 15:21:10 +0000 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2DFH-004g6H-Ep for linux-amlogic@lists.infradead.org; Mon, 05 Dec 2022 15:19:06 +0000 Received: by mail-lj1-x236.google.com with SMTP id d3so13915046ljl.1 for ; Mon, 05 Dec 2022 07:19:01 -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=7dqyE4PtxjL++1ali54vQghdy8B+qDO7Jx5t4P4oHaU=; b=k0pnJDXExyQnamg5MFHoHErxcqBpqkX5k2Crr7dSE2qrqpkH+3T7dVS3mgnQGTdaSt IqtUv118OdBIuQuPLamzIVgWIxCFB6DInannyw/2fGLzZVQnAXZZLwZwLwkKbA6pw3yt putzGc9+KkBVRRnzQIsUDNN7CejvW6E55voCOKQDhm2d2Ez9XooO8NG/TUpOAZQUKGfy AyR3aQ+Z687Cc3HYa0yOZTzcKtzv2GZ6MgdMTFYeUNSbVS25ma9NvqEAGYSK0l+GTgwH wW6GyTbDrEqLmx+mUB177gb9HzRTsSjWlmPM+MkWcf3dOOJ/ip6ZvmJYJzHoMMDa2H6p foYA== 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=7dqyE4PtxjL++1ali54vQghdy8B+qDO7Jx5t4P4oHaU=; b=zuB84bJpGRtedHUF0UYnAWzTqMyPqWA1dcQS3djAynIQBnccUAaueeLdWH+u3zwed5 6tQbUWv3j0sJ4HHhsG/S32gT10h0Hz7XhHDv+stLr+sIQ+MPVuytecf9LSSheQXqT7fn 6uUd+gV7H1kMh8IiYyn79IE6+lFu6/xYMtSiago9xRAooJOBgp6RJctLV2H+ZBDmXlIW AyyqgWAWWbgqHzqgbb1ImDk2ejk9JXpJITknuN2i6qaRggrNZh9FLjHEhVgmH+EmrSHR R8EN8SKQARSyfuXdVzx3dXi8XJ/rjk/hjmHHDdVxPQQ6OV8ms9zPZs2ZXXrQ7pRqGf/x v0Zg== X-Gm-Message-State: ANoB5pmBzKiBcZIWtxzdjqrolgUCMvu18Z5SvW8qsHzTuUdqvI6H9ebf G5RTV2ncgBH4qC/P+mZctEaQsw== X-Google-Smtp-Source: AA0mqf5gfTCHSQj00cGPhylb4IRv8UHuJQZEnTsVfoPDooGOMUyuVi4C9b6SqsfeJi6TsyrOt3AH4w== X-Received: by 2002:a2e:3512:0:b0:277:c68:874b with SMTP id z18-20020a2e3512000000b002770c68874bmr23984354ljz.261.1670253540183; Mon, 05 Dec 2022 07:19:00 -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 w26-20020a05651204da00b004b55f60c65asm1012470lfq.284.2022.12.05.07.18.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 07:18:59 -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 v2 8/9] media: dt-bindings: nvidia,tegra-cec: convert to DT schema Date: Mon, 5 Dec 2022 16:18:44 +0100 Message-Id: <20221205151845.21618-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> References: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221205_071903_512553_EBC8E3D6 X-CRM114-Status: GOOD ( 17.06 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org 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 --- .../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 Mon Dec 5 15:18:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13064640 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C83F9C4321E for ; Mon, 5 Dec 2022 15:20:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=51+/NwPdSzhqogOu+ned/D149eMiBUQllrlNKDITjKk=; b=1J+/PgqwxdEiNg u5BGX1hJp465r5IVfhbPZ2L7wqnFWdj/FtRhHiG7d/EtyPNbu3FwQam0Af5NUFIaJZWj4H4mAhmhY WPBqoIOSs9Yvt3VGK0HU81x13lXV3J4/d+40XwfYnYK0Ecl2GxpR0O8DnVLC7OyeLTKeHrmLRxSMN 3P4SKvcSHJ/8IB4PiuJ7Cc7M6HY31rdV3Ge5CeI65q/z4+gUugWAJOm8Qo4pr/3Mh0FtRYFBA2HtV FnMSQz70m/1YBE18nUXjxbhDeVNegYVgBrm2s9Yvrc04e1mUXEmt/pDzQgLvTbyKO2+NIgzeBnoNE c3mOE8xC/9iw0huFLJFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2DGJ-004h0c-Ti; Mon, 05 Dec 2022 15:20:07 +0000 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2DFG-004fpt-4r for linux-amlogic@lists.infradead.org; Mon, 05 Dec 2022 15:19:03 +0000 Received: by mail-lf1-x12a.google.com with SMTP id bp15so19031708lfb.13 for ; Mon, 05 Dec 2022 07:19:02 -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=ckoG7YLE4dTbKyEPRu6WUdAh9sc6sQyo5v4/rMvhZOfAIgvcJ5/MVrGBrf/DiDf8x4 XHYc5us7TZZOzmFOtgLsqPXSqWfxoE6zcD1artGeDOn81+0Jq8a689uNAvPey+6H7HLq w6h/zkl/RjjKWAOa17u7skBBEoJrnXn2wkeA3766gnNbR6kaxqMxWqR21ZN7LsYOxdWL k6JrlVLjcZZF41LwGnOXc2nKZjOSbPVgxRutjviPUIJaqB3kt4FMkHZAwIYKtENCwFc7 FOaJPmARm0f6wHeHMj4aj0Z0QQgIlBAF+xFgSaQA7TSFS9vAScvCXifGNieQ4oP0ASxm yOTQ== 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=DEQXYpJrogCkSkjqF70X0mUi1Y4kdIIQl/b7uYh0XBBu21ADByJYXnXTR5QcYfCYWy 5zl8+oHXa3O6AP2JS0AM76S/kZg+1HYFFkpg/6ofUhmGW8dScQRCNQE5eR0MSE4cMpH1 9SUFUj/u9VQ661zw6qiIQnZtFDWIDnE78CpvtMGQYaLs20xpgPC8J7kzGdSzEeVCBEmf bn74JighKoPPywKHiiLJ8zwFpHHsZNKPLQZfSv9oVUDFZTpi6wO6qsq/DH5S+IDSBjeA Kzkhlih02hUDo4w7beeL1fo6SpKcJHARX7x3RCarVpdiO98MKYISrRSSgbRb/Yqib0h7 +1sQ== X-Gm-Message-State: ANoB5plAvP7usApwkUq2+ZTlkEeQzeaGwqAeJVUtLLGgtxlRlBanpMyN DXsLTkJQ1LFCXR0T+Ml44BLBnA== X-Google-Smtp-Source: AA0mqf5etfZUUwBnmi2OzAxBRb101NGrpAQYXEdDklkcv44ujx+sqOk4y4+zled7jnxr64dMaIx3NA== X-Received: by 2002:ac2:5fcc:0:b0:4b0:2675:110d with SMTP id q12-20020ac25fcc000000b004b02675110dmr24041887lfg.295.1670253541635; Mon, 05 Dec 2022 07:19:01 -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 w26-20020a05651204da00b004b55f60c65asm1012470lfq.284.2022.12.05.07.19.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 07:19:01 -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 v2 9/9] media: dt-bindings: st,stih-cec: convert to DT schema Date: Mon, 5 Dec 2022 16:18:45 +0100 Message-Id: <20221205151845.21618-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> References: <20221205151845.21618-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221205_071902_242449_BD31407E X-CRM114-Status: GOOD ( 17.18 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org 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 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