From patchwork Sat Jan 8 18:57:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Rudolph X-Patchwork-Id: 530720 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 A77C4C433EF for ; Sat, 8 Jan 2022 18:59:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234950AbiAHS7N (ORCPT ); Sat, 8 Jan 2022 13:59:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234941AbiAHS7K (ORCPT ); Sat, 8 Jan 2022 13:59:10 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30BE5C06173F for ; Sat, 8 Jan 2022 10:59:10 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id l4so6124031wmq.3 for ; Sat, 08 Jan 2022 10:59:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nYh2HXtJRHDLyiqHjumy8SGr/ilHKwnU20CoAfLk/k4=; b=W0BLse+MIvxhQMBBTpCdSM81w9hDph/TF393Uus+VnlaAyGIBKw5sj4Qq6TpAaHVGO Av1SLjUcdjJpb6NV8PqyyPs6HplO4pIPK3YuIC7U5h0vUBQhLLIqNzLiMdfVpeNegvR6 6PqOCxZk3bVj+UNaPGE0pY9XlbA/AO2rpAMSSb0YpOW0RRybmSSaMLU56+6e1vGP5UAR 1ZQOPGEepjFq8XBOErp0vRdRN5n+3EOTMu5pPnPHwOwrEPGKjbYB2yvMjHpt5KAjhaIR xP9FP3T5nLOv8VhC4HIFNUwH+6uiQWnCFt23fVBU02b0qSOp4/bgW8CXvH47cfVmB5NV t6pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nYh2HXtJRHDLyiqHjumy8SGr/ilHKwnU20CoAfLk/k4=; b=BkU9toOmFrQJKfiRheGVxnWLuv3jjJdce8c7axrAVVi+Cun5hHjNbiJSBha26oCCGB BB9bv78btrb/KoUVVylzacc/lIkmZSguC8/ORS2+wQxbESxnSQXPQlqfDcjFXN3pvDuW 5vECowMuLpjQt/lIUZFYJVB6FnhIbMS/eMM6vexOErmE+u17wvS9OLzheQRgWJXINJDE nlu22XPmbwWb5eZ1MZVUptlrjGV4+OD2rNLPIP1tSBHa06Eyu28QOJjA1k2cMKCRixTb dGuaK/vFZt0MVe7vOIo9cytAQdPiwcGPXgqolA586FCfitxzFsNNZMcFJRtmEhRtejTq A3Ew== X-Gm-Message-State: AOAM5325HaUskqu0W4RC0fbkAvBd4hwrqKaS8NY0qQeiEzVcpPWpWm9E BtoQ/rCh58cnBKeFKH0HRnSO++8ZPIzNdw== X-Google-Smtp-Source: ABdhPJwQn6yYUwxfhwSA0o1WBiGl15jl2VyPd2YfD7g3pyifIUlNmazaPnzAHEbGAKkr+lCZ90bOHA== X-Received: by 2002:a1c:4b10:: with SMTP id y16mr15036595wma.185.1641668348732; Sat, 08 Jan 2022 10:59:08 -0800 (PST) Received: from fedora.sec.9e.network (ip-88-153-139-166.hsi04.unitymediagroup.de. [88.153.139.166]) by smtp.gmail.com with ESMTPSA id bg12sm2886209wmb.5.2022.01.08.10.59.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jan 2022 10:59:08 -0800 (PST) From: Patrick Rudolph To: Peter Rosin , Laurent Pinchart Cc: Patrick Rudolph , Rob Herring , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] dt-bindings: i2c: Add regulator to pca954x and max735x Date: Sat, 8 Jan 2022 19:57:57 +0100 Message-Id: <20220108185759.2086347-4-patrick.rudolph@9elements.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220108185759.2086347-1-patrick.rudolph@9elements.com> References: <20220108185759.2086347-1-patrick.rudolph@9elements.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add a regulator called vdd also present in datasheets of PCA954x and MAX735x and update the examples. Signed-off-by: Patrick Rudolph --- Documentation/devicetree/bindings/i2c/i2c-mux-max735x.yaml | 5 +++++ Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux-max735x.yaml b/Documentation/devicetree/bindings/i2c/i2c-mux-max735x.yaml index dc924ec934ca..93eda07718e8 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-mux-max735x.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-mux-max735x.yaml @@ -57,6 +57,9 @@ properties: description: if present, overrides i2c-mux-idle-disconnect $ref: /schemas/mux/mux-controller.yaml#/properties/idle-state + vdd-supply: + description: A voltage regulator supplying power to the chip. + required: - compatible - reg @@ -75,6 +78,8 @@ examples: #size-cells = <0>; reg = <0x74>; + vdd-supply = <&p3v3>; + i2c@1 { #address-cells = <1>; #size-cells = <0>; diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml b/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml index 9f1726d0356b..b28d05dc956d 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml @@ -59,6 +59,9 @@ properties: description: if present, overrides i2c-mux-idle-disconnect $ref: /schemas/mux/mux-controller.yaml#/properties/idle-state + vdd-supply: + description: A voltage regulator supplying power to the chip. + required: - compatible - reg @@ -79,6 +82,8 @@ examples: #size-cells = <0>; reg = <0x74>; + vdd-supply = <&p3v3>; + interrupt-parent = <&ipic>; interrupts = <17 IRQ_TYPE_LEVEL_LOW>; interrupt-controller;