Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2619548rwi; Fri, 28 Oct 2022 09:08:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7tZrAdxcn9eq8rHeOScm3vEe9mfRSoI9D7JJ8j7mBgHPUBImcnKaYxYSIWru17oBg1GGU7 X-Received: by 2002:a17:903:32c2:b0:182:1a9c:8f40 with SMTP id i2-20020a17090332c200b001821a9c8f40mr92231plr.54.1666973302771; Fri, 28 Oct 2022 09:08:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666973302; cv=none; d=google.com; s=arc-20160816; b=g2rGhs1v8+Bdhz7mxHPaGWxotZkJLA/H1xADqOAgc3t0hJGCc5BtZ/GJGYkN8g3cO8 J8WA3gZKt24jSgDsJPJKygFqKAmdbcnJAngCA0MG0BzuvMn96MkifCSJcGrn86PnsWIV 5z4VOqSXHdnbZSq11b/qPMFbW2e89RtY1PNBVLwbapDCC6xTfZwtoptmJEoQWVx7Uigq 5pmQc6SIlp3/0a5mU/BN08eL1sgUnwZapXqRUh8aVl5o5AgdAb05Qc8B9g+sACw0ThDu pE+T8dhhFB/6Lp4tUXGaeNOtcX1XSK6p7B/cm572sVY6AkB+66QYqquaWRMvrfVU9Opu MtuA== 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=4N2PvASe0lDveH2nrSsLN3jw3tAnkKgsqkH381a4tLU=; b=EcFk+8liQAal1a2OF//PPy/5VSvXWp12Yfb5vffrbDS9/NqndhK02Nv3d42eqQ+aNk KiweFAoQI5KzXRgogPjcVaa1Mqm4EXqAWjGEcGSU0ZMPBLmMS5CjJv8ae2RZXtYpFHZN vrm6gsza3inVflSwe6p013J6jIn0LESBS9RcE0YXi1g9xaunG9c8xMYUtnjliyVcRo13 ebclIMYUFCMaUFdXX4khljdh+9ytiWHlxZzJQl+Ayx9m+FbxJPdL0IlXqfDyhcn0KG+U hV28Mr0RiG7wVhp7uZmRJ8AqHMidsrNjwDJdnxsDzMXDuMApKtOOzw1IY1DirTYJ3csS 8K0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YCYYEiC6; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i73-20020a639d4c000000b0045c524975dbsi5933728pgd.626.2022.10.28.09.08.07; Fri, 28 Oct 2022 09:08:22 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b=YCYYEiC6; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230210AbiJ1Pgh (ORCPT + 99 others); Fri, 28 Oct 2022 11:36:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230258AbiJ1PgE (ORCPT ); Fri, 28 Oct 2022 11:36:04 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D4D698CA7; Fri, 28 Oct 2022 08:35:43 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id z18so3403931edb.9; Fri, 28 Oct 2022 08:35:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=4N2PvASe0lDveH2nrSsLN3jw3tAnkKgsqkH381a4tLU=; b=YCYYEiC6ZP0u0OCAGXedVuxkRgYPDu9JrKNJ3TTR/WwjOHNbafSepLvJeNIcSBEyuO zKzmtO+5U2a4cWnKqgO4tBXRLtKolBdmnaoYVylT9NCJT+GnJJMCQDiE1UQYpAq/b5qA urdvcoADDKNZW6dh03OetTZSKwiAT1FFErC7VglOK2UB9uqIHsy/StLyj5GKkC+YZGNa dzDAujfC1DozPQxnEevnc4KxI+TAausumwg2GMmbhx6di7pq7zEV5gxoE82WW7LfMZKY 5KAbY3wA0HlQfZ/bBYelRzsBN1fBZQA5qcR0EBpaJXM9O44cLPqpKUMSUvA7OjA66+8o +x7w== 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=4N2PvASe0lDveH2nrSsLN3jw3tAnkKgsqkH381a4tLU=; b=hFwqJjqYIhCl0SVeUKQ7926WDHyADd/mZuu4Kh1fZ4pzMg0riXziCJ5uj+qPlzufVE LwWXjqrVnvwZOx1sPKzhUqjkOntCstNMUoO3sbEy9WE9oIbGSf8yAHa/ca9IAu5wEhQ1 e89nWBi2wd9xs0nQFJhYcQcFtLlWW41wk0A/FrUL32Te7EpcyS4TIJV0QxTSzWtWYIOy uSVYtuqXv6Yz3J6UlJ1bqxPE0nOxBCnLRsLemlnGTmz9g+Tj+RF3it023Km/AhsDYu6g RPxWh/1EW/1DBbNpVip9ppSJqQN/0oqhQRqeWUohf9K9N5wxGkG0n49mjYuGigQ50kWu hjnA== X-Gm-Message-State: ACrzQf3LYuFtQptuYF4l2R2L5cOw/oC3vX4lWF64uM7KDOfRocXdeSzL VbMsuixeombrc2DAxy/4zeU= X-Received: by 2002:a50:cc07:0:b0:453:4427:a918 with SMTP id m7-20020a50cc07000000b004534427a918mr2913edi.121.1666971343130; Fri, 28 Oct 2022 08:35:43 -0700 (PDT) Received: from localhost.localdomain ([95.183.227.98]) by smtp.gmail.com with ESMTPSA id ds12-20020a0564021ccc00b00461aebb2fe2sm2830635edb.54.2022.10.28.08.35.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 08:35:42 -0700 (PDT) From: Yassine Oudjana X-Google-Original-From: Yassine Oudjana To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Sean Wang , Andy Teng , AngeloGioacchino Del Regno Cc: Yassine Oudjana , Yassine Oudjana , linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH v4 11/13] dt-bindings: pinctrl: mediatek,mt6779-pinctrl: Document MT6765 pin controller Date: Fri, 28 Oct 2022 18:35:03 +0300 Message-Id: <20221028153505.23741-12-y.oudjana@protonmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221028153505.23741-1-y.oudjana@protonmail.com> References: <20221028153505.23741-1-y.oudjana@protonmail.com> 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,FREEMAIL_FROM, 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 From: Yassine Oudjana The MT6765 pin controller has had a driver for a while, but DT bindings were never documented for it. Signed-off-by: Yassine Oudjana Reviewed-by: Rob Herring --- .../pinctrl/mediatek,mt6779-pinctrl.yaml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml index 6f2cffe50b11..88a4c4ef28e5 100644 --- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml @@ -18,6 +18,7 @@ description: properties: compatible: enum: + - mediatek,mt6765-pinctrl - mediatek,mt6779-pinctrl - mediatek,mt6795-pinctrl - mediatek,mt6797-pinctrl @@ -150,6 +151,41 @@ patternProperties: allOf: - $ref: "pinctrl.yaml#" + - if: + properties: + compatible: + contains: + const: mediatek,mt6765-pinctrl + then: + properties: + reg: + minItems: 9 + maxItems: 9 + + reg-names: + items: + - const: iocfg0 + - const: iocfg1 + - const: iocfg2 + - const: iocfg3 + - const: iocfg4 + - const: iocfg5 + - const: iocfg6 + - const: iocfg7 + - const: eint + + interrupts: + items: + - description: EINT interrupt + + patternProperties: + '-pins$': + patternProperties: + '^pins': + properties: + drive-strength: + enum: [1, 2, 4, 16] + - if: properties: compatible: -- 2.38.1