From patchwork Fri Oct 8 01:25:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 515528 Delivered-To: patch@linaro.org Received: by 2002:ac0:b5cc:0:0:0:0:0 with SMTP id x12csp1675107ime; Thu, 7 Oct 2021 18:25:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUsI6Iy8USqMNyq+468EJcd7qC4MsXvPOLaya8/hKJ4/YBa+8zqFOQbW6yivrG8rFTuyB6 X-Received: by 2002:a17:90b:890:: with SMTP id bj16mr9043502pjb.143.1633656335435; Thu, 07 Oct 2021 18:25:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633656335; cv=none; d=google.com; s=arc-20160816; b=j55D2B2kWq2OIPtVS+mzlPyrMl8P2UoC1piHQUdmjT9ti/8gAviMPrwoxKPojqTqJu NToTtB6HBYuETymy6QalRINJ0MRlfD2sowY+z29d6DIYCJezCDn8c9qcvq+ojnLaBlV/ 0Csat3IKMCH19tJWcW1lz3ERVmOsSAE7pJ6y+d9uY83CiXoPTkIWrLoiPR2x6wvyd3xE izkXFRKKPyrmeYP99fuywfqBDGzf4B/4Imi/D/Zb80Wcn8G9p1k+D32UQ2qQbFy1st2Y 1ZFrxIbi8r3ASMqjvOeBR4lPm0HYtBsPekqPzoGrwzyR9TyCeEIEgYzXCayq6ijrYBah QvGw== 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=XPJhiyssMgP/Qx7CEDMKniXc51YWsJz5iKb0grR309U=; b=ZYszjQ3MSybUNtt+JiVsEhW2QiBTvI09dLc4V5000RrmyJrlswto5ZkzPbVzpoQTSK qbOvsfhvfMJXwOW83T6pUxEFnYeCpLmLFnG/f56UT7ktwrj/hdXy6jUn82EwpjEhZhEN PSly779CdgzefnFfR/ZwBvUohhQzeStHUFGMoNc/93tR5ehzB2L88g8lRe4c0PjzlT0p x2vGfyxrYKOlNL5PmwD0OrSjtbPr2Vs3WmWGJk3RavN1Qmk6Pf6WgxAeyr2WRPpC5c4l rraQbH3Je/vfbLzGkgyxDG8FLggik4MsWGOFpAXylGLIYmXn2jAYhpGxOGYSNoYo8Fv1 Tu8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zHkhIrBZ; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h7si1158223pgq.411.2021.10.07.18.25.35; Thu, 07 Oct 2021 18:25:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=@linaro.org header.s=google header.b=zHkhIrBZ; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 S237003AbhJHB11 (ORCPT + 3 others); Thu, 7 Oct 2021 21:27:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235847AbhJHB10 (ORCPT ); Thu, 7 Oct 2021 21:27:26 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDD02C061755 for ; Thu, 7 Oct 2021 18:25:31 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id j21so14483863lfe.0 for ; Thu, 07 Oct 2021 18:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XPJhiyssMgP/Qx7CEDMKniXc51YWsJz5iKb0grR309U=; b=zHkhIrBZsf97wg1GpfqsWTxEcnvewzjvW1ZvTbuX+11eHJpHmbkPgUgxjeIW0Ra5DJ AE6w3pHGdyNVCPo2ikh5V0TVJoftg0TRxJ4M7R5ALH/qmwjP01dN7YbTBDqOnA5CKjrh eyNQd/sh3/8WLyLjHA0zS1R/29dst3pdBHtMQhskY4ZC3lQn3BKtikTWEe625wkWe9eO 4ybVmizrPyFMTKzmghiTACVfYBChfezA8kOg9yRxKQYjRDDWahzLr0ahzalkXMFlGhKv 4sxasp4UvZOoIULwV0DjTVxPxTtkPQNpV2gBr3XuiVzoI3/hoqTMaGsswkSvP1qxPdtw X77w== 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=XPJhiyssMgP/Qx7CEDMKniXc51YWsJz5iKb0grR309U=; b=lnAuUmcZxpsbLYlE9smIy31iX0kc1H9DF315nxbo9VRpr33FomAmcWZzCQuAURpp17 tHalov9PycDqSLmwD/liDgYxCXd/rGT+nECg8guej+WR3q1FwUHHI8ifYtc20xCFgmdN 088OSlzVvTac+wG1MiYhZu08nJ5aipzpL4/vB6McED28TAiX43pRRRIFPXTMBkID1btD qbNZfNArRKZgBOAW6XqRLtfjn7W8b4LVX2pySzcZc0VVG7wOz+O/KsfHMwEU8lqOOKfX b4ka4ddT8NiYu+U7YnnSk10p5X0/JgGONqY5nGHZDDHw6HKg2qh27XbfSuqjF1A+4hrc S0Mg== X-Gm-Message-State: AOAM53056tsrB90krEbY24B9LuODqGb4QrRW+KMCdwWx2duerBhNCdt5 Cm+7sF9OrNDISTT/hABaeYjQUQ== X-Received: by 2002:a05:651c:1793:: with SMTP id bn19mr307276ljb.475.1633656330207; Thu, 07 Oct 2021 18:25:30 -0700 (PDT) Received: from umbar.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id s4sm112875ljp.115.2021.10.07.18.25.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Oct 2021 18:25:29 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Linus Walleij , Rob Herring Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v3 03/25] ARM: dts: qcom-apq8064: add gpio-ranges to mpps nodes Date: Fri, 8 Oct 2021 04:25:02 +0300 Message-Id: <20211008012524.481877-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008012524.481877-1-dmitry.baryshkov@linaro.org> References: <20211008012524.481877-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add gpio-ranges property to mpps device tree nodes, adding the mapping between pinctrl and GPIO pins. Signed-off-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom-apq8064.dtsi | 2 ++ 1 file changed, 2 insertions(+) -- 2.30.2 diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 0b2bed6e7adf..cbc9be8a69cd 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -689,6 +689,7 @@ pm8821_mpps: mpps@50 { <27 IRQ_TYPE_NONE>; gpio-controller; #gpio-cells = <2>; + gpio-ranges = <&pm8821_mpps 0 0 4>; }; }; }; @@ -726,6 +727,7 @@ pm8921_mpps: mpps@50 { reg = <0x50>; gpio-controller; #gpio-cells = <2>; + gpio-ranges = <&pm8921_mpps 0 0 12>; interrupts = <128 IRQ_TYPE_NONE>, <129 IRQ_TYPE_NONE>,