From patchwork Wed Sep 28 11:21:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erling Ljunggren X-Patchwork-Id: 611254 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1321EC6FA86 for ; Wed, 28 Sep 2022 11:22:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233190AbiI1LW0 (ORCPT ); Wed, 28 Sep 2022 07:22:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232599AbiI1LWY (ORCPT ); Wed, 28 Sep 2022 07:22:24 -0400 Received: from aer-iport-7.cisco.com (aer-iport-7.cisco.com [173.38.203.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 519C9DCE99 for ; Wed, 28 Sep 2022 04:22:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1715; q=dns/txt; s=iport; t=1664364143; x=1665573743; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=B0pImiRaODAXBVOex7WftZ32/MuyBAAbJcf0KrpTF4E=; b=hBoO0y+5mi0V9yZGs49y3JbL0KrNVyj8uTX132VspB0iSSJ6TSyiDbJ5 m3u0HMm062YE+Ts4kiyFqsXlQW0QsR1Hx36b0kb0achHn27V90I8+CULc G2oqUDDFfg2o2LctuoG2pZDD/tc0jCtrumitLgbksiGT5Xk6RV7QO02Rb M=; X-IronPort-AV: E=Sophos;i="5.93,352,1654560000"; d="scan'208";a="1510153" Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 28 Sep 2022 11:21:16 +0000 Received: from office-260.rd.cisco.com ([10.47.77.162]) by aer-core-1.cisco.com (8.15.2/8.15.2) with ESMTP id 28SBLFen008487; Wed, 28 Sep 2022 11:21:16 GMT From: Erling Ljunggren To: linux-media@vger.kernel.org Cc: Erling Ljunggren , devicetree@vger.kernel.org Subject: [PATCH v3 3/5] dt-bindings: media: add cat24c208 bindings Date: Wed, 28 Sep 2022 13:21:45 +0200 Message-Id: <20220928112147.358745-4-hljunggr@cisco.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220928112147.358745-1-hljunggr@cisco.com> References: <20220928112147.358745-1-hljunggr@cisco.com> MIME-Version: 1.0 X-Outbound-SMTP-Client: 10.47.77.162, [10.47.77.162] X-Outbound-Node: aer-core-1.cisco.com Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add devicetree bindings for new cat24c208 EDID EEPROM driver. Signed-off-by: Erling Ljunggren --- .../bindings/media/i2c/onnn,cat24c208.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/onnn,cat24c208.yaml diff --git a/Documentation/devicetree/bindings/media/i2c/onnn,cat24c208.yaml b/Documentation/devicetree/bindings/media/i2c/onnn,cat24c208.yaml new file mode 100644 index 000000000000..fcfaccb5e39f --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/onnn,cat24c208.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/onnn,cat24c208.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ON Semiconductor CAT24C208 EDID EEPROM driver + +maintainers: + - Hans Verkuil + +description: | + CAT24C208 is a dual port i2c EEPROM designed for EDID storage. + + +properties: + compatible: + const: onnn,cat24c208 + + reg: + maxItems: 1 + + hpd-gpios: + maxItems: 1 + description: + References to the GPIO that controls the HDMI hot-plug detection pin. + The active flag indicates the GPIO level that enables hot-plug detection. + + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + cat24c208@31 { + compatible = "onnn,cat24c208"; + reg = <0x31>; + hpd-gpios = <&ioexp 0 GPIO_ACTIVE_HIGH>; + }; + }; +...