Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6120926rwb; Mon, 5 Dec 2022 08:13:04 -0800 (PST) X-Google-Smtp-Source: AA0mqf4+NDb5gKg3pjdmk8/cTzer4BLh5zOQdvylLmmR/LrQHEotVCkJTRP+gjW0TgW/Jk9ENBV6 X-Received: by 2002:a63:1f65:0:b0:470:8e8d:44ae with SMTP id q37-20020a631f65000000b004708e8d44aemr58068585pgm.382.1670256784200; Mon, 05 Dec 2022 08:13:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670256784; cv=none; d=google.com; s=arc-20160816; b=q3A8Wnp9sq4PG2fGL5nVQZlnJSPI/blR6fy60+E120IOB3U2cc7lchygU44apJk3F5 lEhlO/F/tI9N4p0tX1CbMVCLFF0115dOPhZzjCI5nbrX0FkTz0FSWNq+/DE5NHfduFxl u5gDhf9QkOMUGQvLPHIVNqMecOx/0X4jrlDqG/mT4EPZwv5AU9G1wmIkbVIkWzmN5K/1 n8yaP4VLLjiwG/Y0WSyzvAz12FoB2/u1nceg46niSKzyB/GvM/OjtMypVOGCAg++Pr0f Ql5dgDDJLb6/c8Kt/KZX1WNcEzBm/w5iS5aoigHLDNUyBwvj3N1HyRbE1hH/fD+nm/ag jX7Q== 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=tw1N36hf4S18yma0Kn3UCRfKqglTZ6hLE0qAVoDvnuw=; b=rEc04jaWq7C6z2rMTIrKSzNozl9SkPjsuGB5jYXpF94uBbTMHwlyVuHFR0ET22tMqs LdtGDYcQfb/kiLvaLvnWoee0HuHaDUdKrGsxRrPWMEuDGwLlFTiRDGqxqjLbX6f1ZXXG moDiJTVpJPfxX/bSvHkaZ6P9JOW63JisfPjbwGmi1UoX3HHUPGytzY7g+BET+wEqXR9d aeOZ3nt0ACMjKREF8OJCkyi1B2g69PiAsXXKgnQ0hccK4IOjcYQMFRxQW3iDs3bJ7fqN sWcBHJLPv+DbqfsEqW7oT4VSjT2i0QvxFd6mchc28tbPxEOc3C94fF0pHg18cnjbb3LX 7TRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=solQ7lAy; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x4-20020a63db44000000b0045a2b6e1192si14813516pgi.233.2022.12.05.08.12.53; Mon, 05 Dec 2022 08:13:04 -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=solQ7lAy; 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 S232515AbiLEPTa (ORCPT + 81 others); Mon, 5 Dec 2022 10:19:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231555AbiLEPS7 (ORCPT ); Mon, 5 Dec 2022 10:18:59 -0500 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E1CF1A20E for ; Mon, 5 Dec 2022 07:18:57 -0800 (PST) Received: by mail-lj1-x22e.google.com with SMTP id l8so13866007ljh.13 for ; Mon, 05 Dec 2022 07:18:57 -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=lrYGLWnWGVNbzq59Pfo5UOWd0vLV7qbb7blMJuGOjZE5EMk8YnyYB1BkIq4C3UXDdy 5mQrZcYMgjp/FKpF3lMgpJuUsvzRsHc2SpeZ5iJ6KJ0MxCpp/NzruKrpWYXiRH0C9eGs 7wLO5DB+rru+tpdps9WGwIO4DxfvVk2rtFH/bTDFcrAXrM0jXOBx7siCM/t3V25eAa01 lRWT7lhN9gy32m5SELWHjCQgfF13jmYKqFbS0bLO0Ff8cNaK6qwDOrujjskgs3Rge0MR FpVjcts3nEmXJkq2AjKVa4gEuTc+/vrv9RiMdPX1AvKrDhLO5h05DpdB9LX6Ev+g7xcQ 7MgA== X-Gm-Message-State: ANoB5pl/NyT62VYVxmu7imQTdamWqQUFS9T48XpPYAEUK9zZzyL8WM2t VQQfONxH+THKbSN9oFlLMm2vjQ== 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 Content-Transfer-Encoding: 8bit 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 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 --- 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>; -- 2.34.1