From patchwork Mon Mar 8 16:48:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 395444 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1868766jai; Mon, 8 Mar 2021 08:49:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJzupZRyLLQQMs/1YfqsISO5qMDtWGwB94GXdzJgS2KnQZ4gT+UsEXV8mrSBh+Mwk4Fm/xM7 X-Received: by 2002:a17:906:ca50:: with SMTP id jx16mr15933973ejb.72.1615222195787; Mon, 08 Mar 2021 08:49:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615222195; cv=none; d=google.com; s=arc-20160816; b=B9lYkiixdsjGGpwvoZV/Qj3KcW8tU3wn3LCVbBBwD+m4sj4n1XEzrw2aMYfle/DcZ1 LPVViBUWKYJypzCw4RbIbPId+Q5Kh85MDiYIz56JD4Opj/Jhy+0iO+/CWAbRKFx5IYMP ghYrD5257YX81D11OiMJ1NLPdr2HmiokEh7QBPQ6ty+Fy+y4azA6yLcj8+gNGa4FuCvo glClA6OpKCA9GwxOB4tkjYvdcn9PDXqnGGvgxskCyhatw/gedZdaFGPI0AEhiPlyUFw8 c9FpMYz6F1Pm8yjOG4fE4EL6YCoAgXn3fhc7gkfqQ0VYpnSeOi9KSh58m2NQurLY5Pzj lBGA== 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=tcKry3SLDokJmq5st5XkgJNxPCSNBxadQHyz4/9ZDPU=; b=UiastvFVJzhJ1EemP0Zmifftd2O9fusNiI1bnHT3bEDabP5/XsiiE/9ZETUS4MB4F6 qz78ustA4afLxvaWQSYK2cJDLh06CXVk27JryEer7NpgVypC+m0XeS79Nd9OcNdJAsKP m4leHvyeoLEKB8gsVUG3Kn6tMSiRyyW12UZxGfD2qnRHHtcgGruKAEOCm9GlGoiNn0Q6 uHacuoqq3HB10SjY35JDhSWfTgMF9F2HvmGDjVnPKz2lfwmbPpsKvj+AOT9/uRu/wJLg PnyTBGwOM7nf0iviTteE6i18y54iWzmMTPGglxRGCwHdLAVk+hWOD/ayU/ImMi3Flvv5 4I9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="JPqx/Icb"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l14si7055653eji.711.2021.03.08.08.49.55; Mon, 08 Mar 2021 08:49:55 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="JPqx/Icb"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230211AbhCHQtW (ORCPT + 6 others); Mon, 8 Mar 2021 11:49:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:51974 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230075AbhCHQtA (ORCPT ); Mon, 8 Mar 2021 11:49:00 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 194DD6518D; Mon, 8 Mar 2021 16:48:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615222140; bh=sZCMfZxoIn+wvZELS1q/HTcvsK5IrpgordzCJsx1YJI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JPqx/IcbtMp3hvw/qzD2d+DBgFlTkTYz2gqiMYhyWyKq8KP9XcMEtIrnRr2PftCVc ZqviDuQJpGtn0zRrmB8JbvZq5sMGDD+g4HE6V2iIkyRNjRnm94jcMYWLbp6hqlD1UK vc2UZg7L45stLtGyEmNFPuqRDRSNMCq3haubtbFi/B365bvwEf/pNfxC2lJbp1KbEI h90VXOPhfOBkurcgT4ynz+bFadfgk3TxN4Y4ndMOm0Ju+tn3OBoGyDTNRVuLsTOFrB J3CPEkuHexK9yrxdbbLOzmJCkDzp1DnTEf3nSkSuY5xi0++fCTo9v90OdY6ItThZ/K 9d26Hfvyy/s8Q== From: Vinod Koul To: Linus Walleij Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Andy Gross , Rob Herring , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] pinctrl: qcom: spmi-gpio: Add support for PM8350 and friends Date: Mon, 8 Mar 2021 22:18:45 +0530 Message-Id: <20210308164845.3210393-2-vkoul@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210308164845.3210393-1-vkoul@kernel.org> References: <20210308164845.3210393-1-vkoul@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add support for the PM8350, PM8350B, PM8350C, PMK8350, PMR735A and PMR735B GPIO support to the Qualcomm PMIC GPIO driver. Signed-off-by: Vinod Koul --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.26.2 Acked-by: Bjorn Andersson diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index 9801c717e311..c2b9f2e152bb 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1127,6 +1127,12 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pm8150b-gpio", .data = (void *) 12 }, /* pm8150l has 12 GPIOs with holes on 7 */ { .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 }, + { .compatible = "qcom,pm8350-gpio", .data = (void *) 10 }, + { .compatible = "qcom,pm8350b-gpio", .data = (void *) 8 }, + { .compatible = "qcom,pm8350c-gpio", .data = (void *) 9 }, + { .compatible = "qcom,pmk8350-gpio", .data = (void *) 4 }, + { .compatible = "qcom,pmr735a-gpio", .data = (void *) 4 }, + { .compatible = "qcom,pmr735b-gpio", .data = (void *) 4 }, { .compatible = "qcom,pm6150-gpio", .data = (void *) 10 }, { .compatible = "qcom,pm6150l-gpio", .data = (void *) 12 }, /* pmx55 has 11 GPIOs with holes on 3, 7, 10, 11 */