From patchwork Mon Jul 11 20:34:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 589487 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C572BCCA482 for ; Mon, 11 Jul 2022 20:34:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231476AbiGKUe0 (ORCPT ); Mon, 11 Jul 2022 16:34:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232170AbiGKUeQ (ORCPT ); Mon, 11 Jul 2022 16:34:16 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0967422F9; Mon, 11 Jul 2022 13:34:15 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id l23so10776347ejr.5; Mon, 11 Jul 2022 13:34:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=EOAFibCJe08MWChM4fURWU6yWlY0z6ldM4g46DVUVng=; b=ALS9kcEKsPUmxukYHPUDXY2HTXKYuh4jMai1pGgMVmtGMQOoloYuYw4MrMsrhpoCFv DgfSqydLV4nGwh+jgbNxnX86vx6IvL2ZrIvXAITBhQ0ynwxntUydvDy3yLcuy3EMoA2R haS3UKaIWuVX4VmbDS/G6omOuNgHtXbujRzO3eXqaa5S7AqjIFQA9iGtel4JfWqMsADG ykoRczJ0SBqXteh7vkCSlL6UHR7RYxUaFYVej2Q7+x9fcXXe/2up3Ja+2X9WgjOhLLJJ hKAIl2p6NZ7/72kHaF/VSTUAmx0qKjGFBfs83SrdtZnBXh0RMq/zuSCMsRFQ4xAry5NY JRFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EOAFibCJe08MWChM4fURWU6yWlY0z6ldM4g46DVUVng=; b=DCaBFBaTMJ3CnGOCTwZNTkJu0aaWdfZWeRKdZ2yoQKOO0XGzajn/LAR7R81DqxtHZG QKhquuNP86oDmmT9hTlX9Je9N9lMpg4Lnwb7qFm5xTJg0+9Kb/fb43a264pbIQDquWo3 mwRLWk402gSbr96QgMKMoXm+g7CQXOS96suPaQ6Om8k1P/tyYa/I6VYj/H5ghCBnRtuk FVcMPznaW46CPar+GDjUnwSPm5izSyxCTU1QIqoykIqdRw16AEdFnfVNJ5CxAwi63+ZA cgvGO86K0C7F5XrbO+aYU4nQRpZmdpstBWaNpV7lTU/x7Qbe2dd11MksS4fsXD1YwMcm v8Ww== X-Gm-Message-State: AJIora+oJhRZuL7vio2jb/nrDGpKeoV6BLuoKzKPufpLoX5QcGiCQJfL vYRUVYV+pjhxxCzOWrDqICg= X-Google-Smtp-Source: AGRyM1tv5/bCh5YZueC8NLmycryR65b3kWd9cEavJoRy/mmQ6qC14ZypSTEsJCOH2nUaazmQG9iyew== X-Received: by 2002:a17:906:5d04:b0:722:f46c:b891 with SMTP id g4-20020a1709065d0400b00722f46cb891mr20318245ejt.4.1657571654513; Mon, 11 Jul 2022 13:34:14 -0700 (PDT) Received: from fedora.robimarko.hr (cpe-94-253-165-104.zg.cable.xnet.hr. [94.253.165.104]) by smtp.googlemail.com with ESMTPSA id l11-20020a056402124b00b0043a422801f8sm4936264edw.87.2022.07.11.13.34.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 13:34:14 -0700 (PDT) From: Robert Marko To: agross@kernel.org, bjorn.andersson@linaro.org, konrad.dybcio@somainline.org, lee.jones@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linus.walleij@linaro.org, jic23@kernel.org, lars@metafoo.de, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-iio@vger.kernel.org Cc: Robert Marko , Krzysztof Kozlowski Subject: [PATCH v7 3/7] dt-bindings: pinctrl: qcom,pmic-gpio: add PMP8074 Date: Mon, 11 Jul 2022 22:34:04 +0200 Message-Id: <20220711203408.2949888-3-robimarko@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220711203408.2949888-1-robimarko@gmail.com> References: <20220711203408.2949888-1-robimarko@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Document the compatible for PMP8074 which has 12 GPIO-s with holes at GPIO1 and GPIO12. Signed-off-by: Robert Marko Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml index 6f2efc3772cb..6bc84779b092 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml @@ -52,6 +52,7 @@ properties: - qcom,pmi8998-gpio - qcom,pmk8350-gpio - qcom,pmm8155au-gpio + - qcom,pmp8074-gpio - qcom,pmr735a-gpio - qcom,pmr735b-gpio - qcom,pms405-gpio @@ -233,6 +234,7 @@ allOf: - qcom,pm8150b-gpio - qcom,pm8150l-gpio - qcom,pmc8180c-gpio + - qcom,pmp8074-gpio - qcom,pms405-gpio then: properties: @@ -415,6 +417,7 @@ $defs: - gpio1-gpio10 for pmi8994 - gpio1-gpio4 for pmk8350 - gpio1-gpio10 for pmm8155au + - gpio1-gpio12 for pmp8074 (holes on gpio1 and gpio12) - gpio1-gpio4 for pmr735a - gpio1-gpio4 for pmr735b - gpio1-gpio12 for pms405 (holes on gpio1, gpio9 From patchwork Mon Jul 11 20:34:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 589486 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80DC0CCA488 for ; Mon, 11 Jul 2022 20:34:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232130AbiGKUe2 (ORCPT ); Mon, 11 Jul 2022 16:34:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232186AbiGKUeS (ORCPT ); Mon, 11 Jul 2022 16:34:18 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37B8B4D83E; Mon, 11 Jul 2022 13:34:17 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id h23so10743642ejj.12; Mon, 11 Jul 2022 13:34:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NzY2lLT1/+M7Tlebg6E3uD74NSlb4eEU7B73WZsDdYs=; b=ons8OxekqDhdDCLGvUmxYhlsPKpZ2xzlsGd/U6KZDW7QF8CYcQ6LNKfScfclewtkPR FbMkzYjucVH6W8WORTrQOQLaah1tl0Tf1C9xyMI91hyQGS26p/A3JXROd6mSvnRP9d2N +VQ/oSaE+ZrNobUQgeBIE5yVoSJEVOL25b19TABP3e9mpyeOsL8hUTtBj6hKOkG+U53x CqBcFD5TUTzyTbbIgIvJUCBkTyCRvXUuEq7cGKgj1WOPX4rPWqtzHHX/kUImsjm4vzWa nT0/TvlSw4AW1mlYjc9piGgEqpFz84avEfKIIfeLPnoJczwtSseo7aeEvY8zJ9rSmVCV HKfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NzY2lLT1/+M7Tlebg6E3uD74NSlb4eEU7B73WZsDdYs=; b=NN/nA0+VkE+02L3nzboSilEl/opuBTbfS8UxwhZbp/BCdKlfCkds78e6WPnr1dV1+p Qdr/E2RCc13CJYayPFUnKSJJMp7ngGq17E9U3ErCvAW725/qMLWjVB7VC/dXCTs0Nz/U OZ/3rigcGgmHj9oPTk0BiFTWw/YVTRRQjbk454ei87rcYAZhVihPRXL3Dkg97+bJE1Sl x6HW5O5s3WW8NeASRaE6LlTOe0DKhkUFR/I/FbfNdkV1eoCaj8AjYRLFVzIGYvJ0xCyU nkLNpm/USZeM5rW7/Ib1coC715/mCFNVfkj17UyoCWrhIzRNhMeROhB4IBVoRN9zfeAQ h1sw== X-Gm-Message-State: AJIora+D9dKqz9vWjpUb15rLYkvCmWYlHy+Or9kEfF72mjYiYHBnB5ts BWSQxn6yVgki+/9Jegu3tV+958rzlAYjIg== X-Google-Smtp-Source: AGRyM1s7ke9v5iAiiAH8yzp/kqP4tFX/5B8qaAQnDhxKuu92KvXyxHAzvYeX47dFIwIgmUevCWl5Og== X-Received: by 2002:a17:907:7811:b0:6ef:a896:b407 with SMTP id la17-20020a170907781100b006efa896b407mr20602627ejc.645.1657571655765; Mon, 11 Jul 2022 13:34:15 -0700 (PDT) Received: from fedora.robimarko.hr (cpe-94-253-165-104.zg.cable.xnet.hr. [94.253.165.104]) by smtp.googlemail.com with ESMTPSA id l11-20020a056402124b00b0043a422801f8sm4936264edw.87.2022.07.11.13.34.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 13:34:15 -0700 (PDT) From: Robert Marko To: agross@kernel.org, bjorn.andersson@linaro.org, konrad.dybcio@somainline.org, lee.jones@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linus.walleij@linaro.org, jic23@kernel.org, lars@metafoo.de, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-iio@vger.kernel.org Cc: Robert Marko Subject: [PATCH v7 4/7] pinctrl: qcom-pmic-gpio: add support for PMP8074 Date: Mon, 11 Jul 2022 22:34:05 +0200 Message-Id: <20220711203408.2949888-4-robimarko@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220711203408.2949888-1-robimarko@gmail.com> References: <20220711203408.2949888-1-robimarko@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org PMP8074 has 12 GPIO-s with holes on GPIO1 and GPIO12. Signed-off-by: Robert Marko --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index 6f04186ebd09..406ee0933d0b 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1180,6 +1180,8 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pmi8998-gpio", .data = (void *) 14 }, { .compatible = "qcom,pmk8350-gpio", .data = (void *) 4 }, { .compatible = "qcom,pmm8155au-gpio", .data = (void *) 10 }, + /* pmp8074 has 12 GPIOs with holes on 1 and 12 */ + { .compatible = "qcom,pmp8074-gpio", .data = (void *) 12 }, { .compatible = "qcom,pmr735a-gpio", .data = (void *) 4 }, { .compatible = "qcom,pmr735b-gpio", .data = (void *) 4 }, /* pms405 has 12 GPIOs with holes on 1, 9, and 10 */ From patchwork Mon Jul 11 20:34:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 589485 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C00C4C43334 for ; Mon, 11 Jul 2022 20:34:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232143AbiGKUea (ORCPT ); Mon, 11 Jul 2022 16:34:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232239AbiGKUeW (ORCPT ); Mon, 11 Jul 2022 16:34:22 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 767A83C8C4; Mon, 11 Jul 2022 13:34:21 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id w12so6945638edd.13; Mon, 11 Jul 2022 13:34:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HDQxB7Fy3SfPJmcU/nMuUlTiaBaKupFDi/Um612kFO8=; b=PGZ08dqQdqT0D7UjGQVD8rg1g2s0xhDZ5JiCghEqz36SC4vje7LlgpQW3RmW4aP/49 3NdmQ8ChR3iTUD+aG9DTwMchYlRnNDmZoq9I874gKq/KXoSe51StMYPIGHQfA+LKL3Y4 +UDwE8D0Y617g+teBdDNlMt261Inwqs8SrpyAvDiQmNgT3rmAzjtUqFGrymtIbixgLnj GHPeaOnPYSOkg7u9QiUSmxY3SFDauY4GHh5pzpMiscPaeidPZm7SYZ7S4sRbGeAVRLz3 XreTwKBvVrsk826rIFdTaQmvt3++6YRXaU1xmOcD6aadTK7O4O2I848HZnWjBhps+lJz H4Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HDQxB7Fy3SfPJmcU/nMuUlTiaBaKupFDi/Um612kFO8=; b=Hjo4UpP4udAoAxwf8Ks2leqU06pt7fZ0o5xQHSFMYrQM664pPmCiRAW5wjflz6tl92 9riIbPvOql0OrsG5szIrlc2AksD0jdPhyVZxbwu/kujCFnni0X5SL2JhukHQ/FMivg7I ggK6aiCQFjH6mz/nDd+r1uxiH36bVLenLWjFgkOHCqHjaHhsWuDNm5k6SoJ1YkvAZKP1 wHjbf4sGh5FP0CQvzQ3tHriKuIHhd0400URgWhTflFXYLrEpQZeT/nr6Rl44GrWsqDX+ sTswko24QdsGdO+EZuQSJWJsPuSUOIPSXREXx+nuu5UNDuUPo0YCZrCrNxIJuW710fQS ptZA== X-Gm-Message-State: AJIora8ikjUotQyuaIi0ImIEoeacff+yy9WHge76d6ro3jVs3MnalilF yAFQSBX7dSZE9nlm7Zy6ViE= X-Google-Smtp-Source: AGRyM1vViudCrmCKrLpRhM+18/huarjlJ+ZDf97bk75H+R5h+jnSRW/RJv3vr94tkT2jdN+EWeBeSg== X-Received: by 2002:a05:6402:5418:b0:435:5a48:daa9 with SMTP id ev24-20020a056402541800b004355a48daa9mr27535122edb.304.1657571659967; Mon, 11 Jul 2022 13:34:19 -0700 (PDT) Received: from fedora.robimarko.hr (cpe-94-253-165-104.zg.cable.xnet.hr. [94.253.165.104]) by smtp.googlemail.com with ESMTPSA id l11-20020a056402124b00b0043a422801f8sm4936264edw.87.2022.07.11.13.34.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 13:34:19 -0700 (PDT) From: Robert Marko To: agross@kernel.org, bjorn.andersson@linaro.org, konrad.dybcio@somainline.org, lee.jones@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linus.walleij@linaro.org, jic23@kernel.org, lars@metafoo.de, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-iio@vger.kernel.org Cc: Robert Marko Subject: [PATCH v7 7/7] arm64: dts: qcom: ipq8074-hk01: add VQMMC supply Date: Mon, 11 Jul 2022 22:34:08 +0200 Message-Id: <20220711203408.2949888-7-robimarko@gmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220711203408.2949888-1-robimarko@gmail.com> References: <20220711203408.2949888-1-robimarko@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Since now we have control over the PMP8074 PMIC providing various system voltages including L11 which provides the SDIO/eMMC I/O voltage set it as the SDHCI VQMMC supply. This allows SDHCI controller to switch to 1.8V I/O mode and support high speed modes like HS200 and HS400. Signed-off-by: Robert Marko --- arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts b/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts index de20cb98acd3..a73909a24935 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts +++ b/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts @@ -3,6 +3,7 @@ /* Copyright (c) 2017, The Linux Foundation. All rights reserved. */ #include "ipq8074.dtsi" +#include "pmp8074.dtsi" / { #address-cells = <0x2>; @@ -87,6 +88,7 @@ nand@0 { &sdhc_1 { status = "okay"; + vqmmc-supply = <&l11>; }; &qusb_phy_0 {