From patchwork Fri Oct 8 01:25:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 515534 Delivered-To: patch@linaro.org Received: by 2002:ac0:b5cc:0:0:0:0:0 with SMTP id x12csp1675215ime; Thu, 7 Oct 2021 18:25:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPvltaA6+wcqD7B2y8pYdEOV5hFCNztMsoSur5gGYOtS2Pu/0h9fOnI5CZ/Wwtt9mbHSkC X-Received: by 2002:a63:e756:: with SMTP id j22mr2281167pgk.362.1633656344133; 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=PpOvCLSt8Sr7TpRCA9OM3bC8euihrNGw7b/VqhewOShNGmDcL5bqJycZwN0z1OLeHU mjOfmBYFjXrnA2Yyv/DHjutiA1HlQwF49gOQ4DBZKEuj0TgqYet+77Q3GYzKyK0buTgx L/MNOwb0W24mAAG7boXf8Gf6A/7Z3TVQN2hnHXJZmnKnAZSkzoMu7dFaQlRw/WUaOQDH 98OCA83Ne+1k8C3cJc5qYagm6Gcgpdm2LX2Bb/0UdPJzlL8WwwITzUiWY3khs53d6F1Y UmB1p9akDI5ZdExkoHvvKzd5hMnjnXSFP91nop9c0WfY4NHuEtZJH5H1NNKWgDzdcqud itLw== 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=y8Kd+xfjEORBsc4n3BHzpntVG1Hf41evxmwe7Q2QRKE=; b=iDeiVCkGYtN8TcmVE5oVSEOCXiu6UX3c4pY45nSpdFTCYfdVEANvmDMBNyfXcP3yb8 96gTMULRmfFvirxpMkjzCs54B2i25CtaS/uPkIABzaABPqsRCdfEjdL73TDHIaDCVTUL pD10W8lblxdCKJIiH3W+LFr6+wQ7++lLKYzHdP0mf5riN4QLactWf3hghN/qIIt7uo0g CpzjH3uCAb9ELmbD8ihJ3KEE4vpswYdmx7Hppd78vk/92T4aCyHEgMBN8nEib3NBdmhx jBIkHnAAYlMAWPlqYI0Pu1D+MPbL1JHDZ7kL8/L6laF4LXom3huAbDkBsj0HAFy4O1+w V17g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lCqUcM67; 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=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.43; Thu, 07 Oct 2021 18:25:44 -0700 (PDT) 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=@linaro.org header.s=google header.b=lCqUcM67; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230305AbhJHB1d (ORCPT + 7 others); Thu, 7 Oct 2021 21:27:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237264AbhJHB1b (ORCPT ); Thu, 7 Oct 2021 21:27:31 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E18AAC061762 for ; Thu, 7 Oct 2021 18:25:36 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id i24so30955497lfj.13 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=y8Kd+xfjEORBsc4n3BHzpntVG1Hf41evxmwe7Q2QRKE=; b=lCqUcM67pzlHiAgtQf7DThs1V02qml9XsYsykqJuO9bO4pqrtKSpRNE6Vix9wzFr+i G3e35aULKRtlM1eL6Uba/fti8dmqhRQxfTxAmT1RwFQnv1P/gu9e6G9OsRXIK7+IpzWF TDrRHAHK/v5tglF6Tk3LuK6dazkZLklskVUTODbH0a8owKNzVQC0c8of/tn1mJz41gW2 mM5iT6lG13VEdvQxELS+1jmz0L5halJwMPklKAGhl2+8Wds9B27zBAJLV6ZLfdky9w6c UWJ6w/lfXcYeMQRAF7vJVcQNVPlmheYAI7K/C6ZMpQC8Sg0aDFnSYXrD527DSDGCSxVD SM7g== 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=y8Kd+xfjEORBsc4n3BHzpntVG1Hf41evxmwe7Q2QRKE=; b=vO2QYOmmAgPMBUMg5E5GtdndgcEU0lxdA2Iy1xsguIW6S4lOEbvIsRj6wbvwPcsu5z sEZNrO7875HJsUkAnAm6Bp52/2I1Vklnvorm3JBVdcAzn0ssnpS7hzylAlQQMxkzuaKP 7Rb0eFT34NrfcJutBhZF0UptvyOSKDwzxaPWmLILg+Q+cVMqSMsFBNHysGiJZ6Iqg34L JSArpegM7IvkSfKnFkqbwxye90KyQ8ikD2/djuM30JxCrlXg18lS7Qjz8/Mlpy2T0iK+ 0/NhdoZa0xoowEIB/wKLEiwlogYJP3BRkL0c+n0pnOSZetoXHsAzXKmxLgaSZ/47xdIk 3NvA== X-Gm-Message-State: AOAM530aLufD6XIVsscn54zzW+YPXyZWRaRVV6PER/AR/y3QRWGlGM7r pxv9Xj0L44/qCJm0LL+QgeyXxw== X-Received: by 2002:a2e:2f1b:: with SMTP id v27mr357533ljv.448.1633656335324; Thu, 07 Oct 2021 18:25:35 -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 11/25] arm64: dts: qcom: pm8994: fix mpps device tree node Date: Fri, 8 Oct 2021 04:25:10 +0300 Message-Id: <20211008012524.481877-12-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: devicetree@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/pm8994.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.30.2 diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi b/arch/arm64/boot/dts/qcom/pm8994.dtsi index ad19016df047..88a9d19b60ac 100644 --- a/arch/arm64/boot/dts/qcom/pm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8994.dtsi @@ -119,10 +119,11 @@ pm8994_gpios: gpios@c000 { }; pm8994_mpps: mpps@a000 { - compatible = "qcom,pm8994-mpp"; + compatible = "qcom,pm8994-mpp", "qcom,spmi-mpp"; reg = <0xa000>; gpio-controller; #gpio-cells = <2>; + gpio-ranges = <&pm8994_mpps 0 0 8>; interrupts = <0 0xa0 0 IRQ_TYPE_NONE>, <0 0xa1 0 IRQ_TYPE_NONE>, <0 0xa2 0 IRQ_TYPE_NONE>,