From patchwork Fri Oct 8 01:25:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 515535 Delivered-To: patch@linaro.org Received: by 2002:ac0:b5cc:0:0:0:0:0 with SMTP id x12csp1675223ime; Thu, 7 Oct 2021 18:25:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWrG02R3QcvzZkXV2NCdvcBzcehiNfyT5vpTk/JXkz56rM0sJpDE91ODUqrWKT6vOwcPul X-Received: by 2002:a17:90a:e453:: with SMTP id jp19mr9091253pjb.11.1633656344802; Thu, 07 Oct 2021 18:25:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633656344; cv=none; d=google.com; s=arc-20160816; b=H6Y4IoS/LNSDLcvGMq18Nt8brjgRBJ54o7kZNyKmrNYhxL+AM7y0m7h/GxuLlY1CXv z7G/HrKgFv49ZfF+D6h0JnBFCL1RzqhY6Anv2UNJmnPMKcjlghlBLp3+h+9/K60GfITb ZFxMdF29+91GWLiVYGoNq6BkCTs42amUojxHNMH4mn4Op/12kHGGXO9UBHaSTQy29GVV 6iGKizdvQtR51jDiJ4IRvr054SUfHrZS7Zo9rc5bo1KGafcJPlzBzh0BTiGPux+6Zqkq wDhzZChO5JyRt5Gug+wmUzC6HBGqCQRsC7AsiEEis1EZ73rF17rD65/c5HYhjQj4zOaL wLMQ== 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=N1fDvr411Sym7LpWWuQWuBZ0aeO9/HmmaZ6tC+1sj4g=; b=GI370CNOiOwgCWJD1zcduMy8U5BKjGyrSoTvjUaPlDnNHkWoFmaD7R1gmlD/pucKQ+ ejgco0hciZJ/2L9gQRLoCjEUP3Hp2JjPn3v3uSuJO8nT/mUxF5LUbbCYoRYYnwHGz1DR T3kOUSHQa5+yCDhxmg8pV1065WuZ/n9WdxnAsvyg63C/N+wlpi3kuw1p6DGFwTHGyUm7 aMZzaPZ/Kx9v8d9Oej8hCRSOCuhKC3IYasJL0THStTZ8M8aIaQi2Et40XO8ecRrNRwGH KXzvDJTErNgXTDnVRBbfsAHsYV/sOP1IqNv2rVR6sioMWy8jsPhGC5PqNplHdrKEJYOz WqUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZCazwiO1; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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.44; Thu, 07 Oct 2021 18:25:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-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=ZCazwiO1; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S238136AbhJHB1e (ORCPT + 17 others); Thu, 7 Oct 2021 21:27:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236988AbhJHB1a (ORCPT ); Thu, 7 Oct 2021 21:27:30 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38337C061769 for ; Thu, 7 Oct 2021 18:25:36 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id y26so32780706lfa.11 for ; Thu, 07 Oct 2021 18:25:36 -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=N1fDvr411Sym7LpWWuQWuBZ0aeO9/HmmaZ6tC+1sj4g=; b=ZCazwiO1we07+uKMoAa7RwVQbCbUF9UKfbtkFo2Mmk+VOVvy/+ae6BDuvQdyF1EQAL KYMgzbnKSAhN1q/yomhgubVP7RAKJ8ohBxP3ODuboYxgkUrIHzHLNNLBH2Jkgwc+87vz eo+fU8SgS3BuGap2BZSRBQ8BK7l7RLisJ24NkcbeLKbH9CZhx6+/prRvHcJrmEgXT6/V 2UemRyGg5+tq6MtpVEJw26wkd/TCOU4V+9h5obvLDsXuRf7SFD10RVQ+Vetl2yEm2X8i ulMVDu9qWieV7bf32riRWtpHxiRIGTx2Qqf0N2uMmuxkTA9HWJMsqd61D9JPsuqhRfqK JB4g== 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=N1fDvr411Sym7LpWWuQWuBZ0aeO9/HmmaZ6tC+1sj4g=; b=qG/qMQFF4by8/SD6Szu2TW6dXsesRtgz6MN3WNVoIpXyrBVwKYrhIbA6DtxWtrDbip /Y61dmBGHjDisUmgcSg3xbuIdTyfLKWnGW1BqsoeO2m9dnnocqYC7jn8nku6DvQGnL6c bDC5P3iFBrdBA61SH+wvlhdqaZ8AznO9PF6xrWDORtA5j7zcLZ+ZF5vR7mxfryd23Kr1 uPH6XpiHUFtNQxMOOUTK4pY4DQxfm0oqvy9a8hyNcNTeaR8sEsOIAtBFLytzcKr8+nNt lxC0qt3by7im0I4D3XNmDR2VmzS1MtMgaZLmQBY5EG6oyfedCQRc4wH1U20FLFB1Yf7L yAGQ== X-Gm-Message-State: AOAM530nVlcJHETQxxZapXBhodmqQ2aIo3h1eAPOvYQVJVJD2wVE1vD1 fjVMiUKOzKE1m+Z2Cp6y7G3bNA== X-Received: by 2002:a2e:544a:: with SMTP id y10mr338686ljd.323.1633656334612; Thu, 07 Oct 2021 18:25:34 -0700 (PDT) Received: from umbar.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id s4sm112875ljp.115.2021.10.07.18.25.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Oct 2021 18:25:34 -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 10/25] arm64: dts: qcom: pm8916: fix mpps device tree node Date: Fri, 8 Oct 2021 04:25:09 +0300 Message-Id: <20211008012524.481877-11-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-arm-msm@vger.kernel.org Add missing "qcom,spmi-mpp" to the compatible list as required by the node description. Also add gpio-ranges property to mpps device tree node, adding the mapping between pinctrl and GPIO pins. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/pm8916.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.30.2 diff --git a/arch/arm64/boot/dts/qcom/pm8916.dtsi b/arch/arm64/boot/dts/qcom/pm8916.dtsi index f931cb0de231..7d9e25dd9e3a 100644 --- a/arch/arm64/boot/dts/qcom/pm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8916.dtsi @@ -91,10 +91,11 @@ rtc@6000 { }; pm8916_mpps: mpps@a000 { - compatible = "qcom,pm8916-mpp"; + compatible = "qcom,pm8916-mpp", "qcom,spmi-mpp"; reg = <0xa000>; gpio-controller; #gpio-cells = <2>; + gpio-ranges = <&pm8916_mpps 0 0 4>; interrupts = <0 0xa0 0 IRQ_TYPE_NONE>, <0 0xa1 0 IRQ_TYPE_NONE>, <0 0xa2 0 IRQ_TYPE_NONE>,