Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3175099iog; Mon, 27 Jun 2022 10:40:24 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tg8xHCcLe+CSD8to0wiT2vOSwtGzi4jf0lam4OHeTJ9/Q1C04pzm3e0YYKKyhyx17+cto1 X-Received: by 2002:a17:902:f710:b0:167:7a06:b2ce with SMTP id h16-20020a170902f71000b001677a06b2cemr618273plo.104.1656351624439; Mon, 27 Jun 2022 10:40:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656351624; cv=none; d=google.com; s=arc-20160816; b=W7JhQPQ6Z76tXTgMpyjsUbH49E/X2zqxKK8Vy4HgtnAVaRWsNg+28R08iVI9pN6FlD ol+NNqQc2SLvIUncJKtSkkorvZW/p7FV0QGUYlbfTdd8p1GEhJbs0JnYM9GAN0KRoGga lJFjm12KJhlmZe6gjJs82CosAwnC02MiuIX2UdGgzhP4u+qZacH+MOeONBuLeZs2dxM9 ecVUIkkzsX+FMgbzsMMBk63ikpTnnIUTQSjUFcHA335rrPdexicwjKDTDbcedfdIV/cq jvJR2EUZWtlB7u/T4MwmN9Z5tjeUgsz5gXlUqtuumSPMHFZUkFU2CrcOrfVLsyxXyCSm 7XHw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=D5ercffD5Az6aAg+oruj2uC+XgwUcFB5VE9+TFvtiqc=; b=UybAM0CZBlASkJrjFkrm0d+Bm4NzkDlurC0Ebd0YIJe8uD4Oxcz49OgFqLvhovt02p BTIZPBDR09beyerZxl0qrjzYrFvdmW9Ix6XbD4fTzvJ1lb/sm6zDbt3K9ov49HNYWsEk BbruIQTrer3xv/5yARfQCX2yOwRiqB8ouiY/vaPox3jGBMZg11C3dC/Evs8vN5j1kPiJ U03jQ6XiFlDpN1brLOeSjfcMrHT/9IJ6iRv2NGmSF017n4TkCdr0KlWE2ZCd/M3+u5S4 yyiMPw9NHIZFwsqYPW+fLxcViWkr9eBlxZ8DcI/wGS0y1Q4HfxKbDZQiOUw/iy1QtxUn 3Ziw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="g/nB/8IA"; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b3-20020a17090a5a0300b001ec99c0be33si12817677pjd.19.2022.06.27.10.40.11; Mon, 27 Jun 2022 10:40:24 -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=@collabora.com header.s=mail header.b="g/nB/8IA"; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236371AbiF0RcT (ORCPT + 99 others); Mon, 27 Jun 2022 13:32:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231809AbiF0RcS (ORCPT ); Mon, 27 Jun 2022 13:32:18 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD0686153; Mon, 27 Jun 2022 10:32:16 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [194.36.25.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 2C504660163E; Mon, 27 Jun 2022 18:32:13 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1656351135; bh=pmO4Ykqu/l20TUXuLhKhk6GbE3MTS3qlWrVbXnn/+6U=; h=From:To:Cc:Subject:Date:From; b=g/nB/8IAeor6UrcJ/kdz+O718V+XFBHN9Zq3n8MTcJdc8FRc5LcQ6SWSxfipd22Me paFkUhw9ToV3wCp9P+PIBY91UjrQCPMr5ksUMPO+ra5sTUdybdVNEV4a3fNQcrpHy1 dN7I6+iYlLzslQKvfNRclWUjNkIcrJmjXB8nx/77mi3ZbcC88/wHEXv2KKM0cEHJKq oBLOIVk6hln1mQOxKF9PGN3+nVzfTm6qNVjNQvNde8S9l+bcOIqw1Zj8xZN6JPyIgD kgO7jphOwrI2a5BJMlzFfeNSPAcBNhsRU4OwGmtNv/bz9eXG++K+J0ExqnZ0/k7PsG dhwWV56rPC4Og== From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Linus Walleij Cc: kernel@collabora.com, AngeloGioacchino Del Regno , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Krzysztof Kozlowski , Matthias Brugger , Rob Herring , Sean Wang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH] dt-bindings: pinctrl: mt8192: Add RSEL values to bias-pull-{up,down} Date: Mon, 27 Jun 2022 13:32:08 -0400 Message-Id: <20220627173209.604400-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Commit fe44e4984018 ("pinctrl: mediatek: add rsel setting on mt8192") added RSEL bias type definition for some pins on mt8192. In order to be able to configure the bias on those pins, add the RSEL values in the bias-pull-up and bias-pull-down properties in the binding. Signed-off-by: NĂ­colas F. R. A. Prado --- .../devicetree/bindings/pinctrl/pinctrl-mt8192.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml index e39f5893bf16..e0e943e5b874 100644 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml @@ -90,6 +90,9 @@ patternProperties: - enum: [100, 101, 102, 103] description: PUPD/R1/R0 pull down type. See MTK_PUPD_SET_R1R0_ defines in dt-bindings/pinctrl/mt65xx.h. + - enum: [200, 201, 202, 203] + description: RSEL pull down type. See MTK_PULL_SET_RSEL_ + defines in dt-bindings/pinctrl/mt65xx.h. bias-pull-up: oneOf: @@ -98,6 +101,9 @@ patternProperties: - enum: [100, 101, 102, 103] description: PUPD/R1/R0 pull up type. See MTK_PUPD_SET_R1R0_ defines in dt-bindings/pinctrl/mt65xx.h. + - enum: [200, 201, 202, 203] + description: RSEL pull up type. See MTK_PULL_SET_RSEL_ + defines in dt-bindings/pinctrl/mt65xx.h. bias-disable: true -- 2.36.1