Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2600508rwi; Fri, 28 Oct 2022 08:57:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM52EXapCkjaCPCJrtpUuNgEwk0zV9ekU/Y8FOyXHxkj36GMOfwxCtp1TVnZZfJt1KxlVbig X-Received: by 2002:a05:6402:5419:b0:457:c955:a40f with SMTP id ev25-20020a056402541900b00457c955a40fmr64964edb.391.1666972634612; Fri, 28 Oct 2022 08:57:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666972634; cv=none; d=google.com; s=arc-20160816; b=zg/BG1zRX4P5Z+BkcQrn/UfsqBEJKFBcFBIA2umOWvathvzYDrCC6w9OtzmW6Q3JwZ nNb/nLJb5Jt7oDVgBnCoqTxt+vTQua4o/St6cIKx1XdO11+RMzUwRNcruZW9DRnoLS01 EjlLzQ1B8LfbM0kn7+88JBDQj31e6aZ7+4OlUClYcRetwLKL/+r8JkpeK6j/mG4CGhG+ l8vUbeCU8LTHc6mUV2z6WeOUNTCrezEkVLKDSqUP53ZS7jobsFQaETkZpk0g+I3dttKr H8pvSnlionS6qofJt6QjSl6CoG0T4vip0gxc7Nxb8ta67Yk2MzZ8nq0neFxfhw+C90fC Cq9w== 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=eBnZz2bwg+asXyhpEwhxnZxZItsSvwXg6AVLhzxjJ/I=; b=WhJjO28DyOabVuHKCoDx6V36/bK5USSiz9gwASts2rTmSxrlUf6oPd0FRRACtoZurY e91AGn1fO7xxwlWAd/YRXeKLw5lIxEbHxXdW5JTnV14UWLwjhJ6mZe5mypTN9uCx8CDt p58cR/JLILsEw80sEufjU7PH5ba/T/gxl/XrVtDwA4/M9s1HSyvB2Sr6VTHZXBgEvK/k 2FyLX92CWmS+PUerU6rDmSr5SLnCcXjtm1Jy7P5P8X5k9Q7fHh+DNuyKMwwZ8HyHrY8m tr7jDaY/Y4IlceoTDuo/yyTMlPfQxYN34PwlmiepSuf2fB+gfY2+tuiR81wqvQ7mzMVO aXRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=I9s0jCE8; 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 dn5-20020a17090794c500b0078db6f5f499si5372017ejc.796.2022.10.28.08.56.47; Fri, 28 Oct 2022 08:57:14 -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=I9s0jCE8; 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 S230452AbiJ1PgO (ORCPT + 99 others); Fri, 28 Oct 2022 11:36:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230340AbiJ1Pfm (ORCPT ); Fri, 28 Oct 2022 11:35:42 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F9898C467; Fri, 28 Oct 2022 08:35:36 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id 13so13836582ejn.3; Fri, 28 Oct 2022 08:35:36 -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=eBnZz2bwg+asXyhpEwhxnZxZItsSvwXg6AVLhzxjJ/I=; b=I9s0jCE8baVJL5Fi1BA2sAhKWfMPYYqdgnPV9FQQwAHy2lkzCej7xDuUJv2GueKpWN SuHWVNfQBIyiJtfGGAjSr/+Uv8/B0Qcdz2AV8OyZDuFjnoXu5kUM5sqqu/DbL2G60Ygc Z2yU5U1Y7cJHWOspeCaGH4RQ+7soh3QMj2owp2tY55xvRsr+69fQ/cBsFL3JuCVJbCET O0cjjqbW1rd0k3MVDqPUw0/fLbUS1kCJeCC8YRoJ+gcyY/2DqTM1Hj95fuZxtcx5K8PW 1lCetdu933POsP4oTtC3+441W+2dNKtB5EcBNm1GnqyvzeTWlNldxcFXZ9O1x7an/NkL ZzTA== 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=eBnZz2bwg+asXyhpEwhxnZxZItsSvwXg6AVLhzxjJ/I=; b=qPZHop/bOhZeLluO6NP6ZDhDRg+x/PQk/yL6Ii9qKz/0QRDLHv4qSiFKQhwNxKy4qo DPiYTUzvmdW8gq2pb50NQwsUKswnyccgF3feKbLdBXQThXdHgVBc8ChV2un/mvUgJCNV fGTufmHcGC0RuWuGYb+euKtjjcoUFZT5orEXBEBtcqVLtsPnS2G2YJM11BTMH4nUJbFM /qo2+9TSlJENlDkLE6IUv01jl7XT2weeS79jv2m2/4cOPv4p7iGj9B9eD3LTHZxbzXbm EdHPYfr2odbhdsGwFagp3P6Cw8x42FnRDmOAKOC8kQhXqqOCjCRbQEQeo9ot+Kdz6ODd LU3w== X-Gm-Message-State: ACrzQf1fhrty0p8QazI28KhUx+mi8Ub1fJ96VCxmbEhq5MmWnwoWheer 2mDd/vW4iTm774+krCtyG6w= X-Received: by 2002:a17:907:7f25:b0:7aa:acf9:c07e with SMTP id qf37-20020a1709077f2500b007aaacf9c07emr21151819ejc.280.1666971335002; Fri, 28 Oct 2022 08:35:35 -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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 08:35:34 -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 Subject: [PATCH v4 07/13] dt-bindings: pinctrl: mediatek,mt6779-pinctrl: Pull pinctrl node changes from MT6795 document Date: Fri, 28 Oct 2022 18:34:59 +0300 Message-Id: <20221028153505.23741-8-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 mediatek,pinctrl-mt6795.yaml has different node name patterns which match bindings of other MediaTek pin controllers, ref for pinmux-node.yaml which has a description of the pinmux property, as well as some additional descriptions for some pin configuration properties. Pull those changes into mediatek,mt6779-pinctrl.yaml in preparation to combine the MT6795 document into it. Signed-off-by: Yassine Oudjana --- .../pinctrl/mediatek,mt6779-pinctrl.yaml | 30 +++++++++++++++---- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml index a2141eb0854e..23b1f7867afb 100644 --- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml @@ -111,19 +111,21 @@ allOf: - "#interrupt-cells" patternProperties: - '-[0-9]*$': + '-pins$': type: object additionalProperties: false patternProperties: - '-pins*$': + '^pins': type: object description: | A pinctrl node should contain at least one subnodes representing the pinctrl groups available on the machine. Each subnode will list the pins it needs, and how they should be configured, with regard to muxer configuration, pullups, drive strength, input enable/disable and input schmitt. - $ref: "/schemas/pinctrl/pincfg-node.yaml" + allOf: + - $ref: pinmux-node.yaml + - $ref: pincfg-node.yaml properties: pinmux: @@ -134,9 +136,25 @@ patternProperties: bias-disable: true - bias-pull-up: true - - bias-pull-down: true + bias-pull-up: + oneOf: + - type: boolean + - enum: [100, 101, 102, 103] + description: Pull up PUPD/R0/R1 type define value. + description: | + For normal pull up type, it is not necessary to specify R1R0 + values; When pull up type is PUPD/R0/R1, adding R1R0 defines + will set different resistance values. + + bias-pull-down: + oneOf: + - type: boolean + - enum: [100, 101, 102, 103] + description: Pull down PUPD/R0/R1 type define value. + description: | + For normal pull down type, it is not necessary to specify R1R0 + values; When pull down type is PUPD/R0/R1, adding R1R0 defines + will set different resistance values. input-enable: true -- 2.38.1