From patchwork Wed Nov 23 15:19:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 2123 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2856721wrr; Wed, 23 Nov 2022 07:27:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf750aIHSmZP8U4rC6UsEW9D3QaNREK27ObcyAsy8zgKXl57FEZTe+Oz099UlgHWp4h0cP5R X-Received: by 2002:a17:90a:bd17:b0:212:dac0:ce83 with SMTP id y23-20020a17090abd1700b00212dac0ce83mr21901328pjr.223.1669217274400; Wed, 23 Nov 2022 07:27:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669217274; cv=none; d=google.com; s=arc-20160816; b=fkYxGwsdMhgg48eMLHN13ex/jVdQ4XSskkWjCGrb3Ygyqmg0nonNUHE8Ciij+h/FoO z2lj061a+8auw4QAzPIiL6mVkPJG7395oXFDmUjF30q5exvnoYlFP+4zGxrQvJFpJFJI 7rUdUV++3gkLGl9v/lF4/xyKcshpvWKxlvs1yKzEW8Cec5g9JyS04/gKxqtMPkzJOXlU tSwS8oCiRRmEwrlfThwgdTcj41o2LSe6y4polmDCm9HGbWLY6tSA8VmbenmN79pg2aDx nwiu5lBt6kTgeWBbk7meIJxXd2rY2o2gmvqjoWsxAtp5qVxuLD4P8w0ycvm1H7RKFIux YfhA== 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=ziwsq9banwczERpMX+Bo3ns23w7Dd8VFWVq2lIRwuKE=; b=qC8bd8GBzpZanvBJzdH4X9avrZYWANSevGUlJeDwHSM5+7hGT/uESnxOTGNjt03iho vVYSzNTd8kca5NeAGPZBX9hUhv3ZIKYn8kXkUUbIWP8PgJRPG5+1w4rgOnn7BAajDYHp xz0x2XzdRmW2fzj+dtQJsYjhrBY5tXl3ptK3hjkpJyGTVeGsBAlnksvlNNFdkYWq6EDu J/HupnOYBpksHImz2yG4HTm5ncyGmMv677/f0ohayNpvk3TzKf4a403N/3qFkhGeBP72 TTRGDkvKmtSJunKHkQhoinXR8Dhalx4ry9ZRQZ1SRyga9xgGHqTHw5yaJavZiirxBtIk 6Jjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h+z4P+mL; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u15-20020a170902e5cf00b00186a16f8d94si18555699plf.77.2022.11.23.07.27.39; Wed, 23 Nov 2022 07:27:54 -0800 (PST) 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=@linaro.org header.s=google header.b=h+z4P+mL; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238724AbiKWPUZ (ORCPT + 99 others); Wed, 23 Nov 2022 10:20:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238683AbiKWPUI (ORCPT ); Wed, 23 Nov 2022 10:20:08 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61E1F905AE for ; Wed, 23 Nov 2022 07:20:07 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id cl5so29895983wrb.9 for ; Wed, 23 Nov 2022 07:20:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ziwsq9banwczERpMX+Bo3ns23w7Dd8VFWVq2lIRwuKE=; b=h+z4P+mLFJgnkVRXVdp3prIBBPkAdi+FwhU/MWCM+45GjS344kKmGvvfC2NWJqctNL /b8fuSL1ttsIggGguMPLdLrNDm7QUjnWFhx1eKOzGTWwc7ABYnK8CYQn+mKfE6i9vuwq jhwmETeTCYfTEC8YfaPYjjA8FG+UsOIFbQPcZkes8iHOP2u6ioYsBCdYSq5Z2IS8HHWX sCTmfDmipwpLQN2bayLosN2jXgN2GknoCWPZwFLaQu/ac8PlZVf1fmWWEw0opiJnqw1z hWUWqpSuWYnYRc/ITfDNE4+8FKZ7UVQiQcHqQol87JeGPzcsTjd/cjsAq+QRTtsA9EZG Mn/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ziwsq9banwczERpMX+Bo3ns23w7Dd8VFWVq2lIRwuKE=; b=5s+77Gy+cDi8T+9I4or6r81LY2jXP3JlZz0LfWEejvBBUSoLZgB7SdOU1i4EBNjLrY Dm7jlmNDJY8QeQP21TM4FykofjGq+kRXW8kJDjBhDxXfJeUHaZgn0pEAP/6jevPJXR8o /zSOmJLz82yz3JF8yZgILlzptuewcPSJcESGBgdFqSWDmtaJbWgggUsCxjC1pkI9A3Pt iYI+LHkgsLgVGkg+e94PB6swiEf9QK5d9R28CUxuyYwVfuDeybg3S7P5gMzhP2P7/ZlV wNbc9pZWbFUD+wmJ7gOh0gMnvGQ6L3bxKxGDir3eI2F1eF7YB6yx8SqyvGKw+kxt5Uau r2/w== X-Gm-Message-State: ANoB5pne4XOmCRi8Ud7vM4HCP2hCJkzMDCsODTuTmZgsEveMX4FmBGjW qu3UoTKPscgzA+nMjt6ihYV8SQ== X-Received: by 2002:a5d:48cf:0:b0:236:4983:285f with SMTP id p15-20020a5d48cf000000b002364983285fmr17585786wrs.576.1669216805925; Wed, 23 Nov 2022 07:20:05 -0800 (PST) Received: from localhost.localdomain ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id l10-20020adff48a000000b002366ded5864sm16764914wro.116.2022.11.23.07.20.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 07:20:05 -0800 (PST) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski Cc: Linux Kernel Mailing List , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, "linux-gpio@vger.kernel.org" Subject: [PATCH v2 0/4] pinctrl: qcom: Add support for SM8550 Date: Wed, 23 Nov 2022 17:19:57 +0200 Message-Id: <20221123152001.694546-1-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750301173214344334?= X-GMAIL-MSGID: =?utf-8?q?1750301173214344334?= This patchset adds pinctrl support for the new Qualcomm SM8550 SoC, One thing needed by SM8550 is the I2C specific pull feature. To: Andy Gross To: Bjorn Andersson To: Konrad Dybcio To: Linus Walleij To: Rob Herring To: Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org Cc: linux-gpio@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Abel Vesa (2): dt-bindings: pinctrl: qcom: Add SM8550 pinctrl pinctrl: qcom: Add SM8550 pinctrl driver Neil Armstrong (2): dt-bindings: pinctrl: qcom,tlmm-common: document i2c pull property pinctrl: qcom: add support for i2c specific pull feature .../bindings/pinctrl/qcom,sm8550-tlmm.yaml | 163 ++ .../bindings/pinctrl/qcom,tlmm-common.yaml | 3 + drivers/pinctrl/qcom/Kconfig | 10 + drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-msm.c | 20 + drivers/pinctrl/qcom/pinctrl-msm.h | 1 + drivers/pinctrl/qcom/pinctrl-sm8550.c | 1790 +++++++++++++++++ 7 files changed, 1988 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sm8550-tlmm.yaml create mode 100644 drivers/pinctrl/qcom/pinctrl-sm8550.c