From patchwork Thu Apr 29 21:15:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 429273 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp1953435jao; Thu, 29 Apr 2021 14:15:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxB35xER4YKSckUabbVdFVbBvYzxXj0S31KxrvpGfHMmSUvWnPnnT5djMBlIEDMSv3VrnEh X-Received: by 2002:a63:be43:: with SMTP id g3mr1559715pgo.191.1619730931848; Thu, 29 Apr 2021 14:15:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619730931; cv=none; d=google.com; s=arc-20160816; b=OuqrE1iAy7khV6IOUBXb46xdlw6rL2oTGoLQDVdmvG+GoTkQzaC4yRCCTKkaz0UW3r EKUCK795Qbqjku9Y0bJi8Kfp7EZxueM93hJVSqh+BwG20V3q5fSwt6BeNq88kV6H6BOG mvTO0FAPSMT20CJTJrSEfmMa8Gmjgu7bClAhgasxYmAbQjKbCtk0SGRa8OocpbtXhg1n f/nRvjnRo7/yinOwq2CXA3Ht60dC3pIBqWELeOLHkuG7By/uUtFsGeErRJfaFMKeIbpe pNpM9vN05Cx/zqcFN2YDfc1UlcpfX2s2wwADeTbJIOXXJxbwaAaK/uJH3nTyPkIfptZw NSAw== 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=bQ/eHw0O807xhfjRTzUKKKGXt5q/41pRNJanGN8nKE4=; b=EGrOa82bjzXADMglyXdA2Yk8ZhSN3oSqi6qxUkMEG5n9/rLzgCpw+XffS15FbtGLSg EeRdSuiiUdVdhWBqhjIBY3WeN8S6FwrgXfPgTDoIp6LXxQGQHZewbK5UT2Ve9TAj3VrI KgcH9cDDu3XwmnN/hPSEODZGaolK9wawS/oOG1JtPgcgxl9/0cJTmqXT2tQweoABiqTx OuXIJSw7rIsRa3LxAeX1yWvub8yWlGqnVo8s1aAtKMnmTD2IZTrA9pQjn+HAmd09ju6K +gA3PsGmZCxf9xoQgSQLXNMIJ9DMtjbGvQJp7zNOEyuU4j9bcmsOAtKMV0/w+45LKQ/0 4goA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BUHqOa+Y; 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 b15si4596144pfl.74.2021.04.29.14.15.31; Thu, 29 Apr 2021 14:15:31 -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=BUHqOa+Y; 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 S237319AbhD2VQQ (ORCPT + 17 others); Thu, 29 Apr 2021 17:16:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237210AbhD2VQI (ORCPT ); Thu, 29 Apr 2021 17:16:08 -0400 Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3ABF5C06138D for ; Thu, 29 Apr 2021 14:15:21 -0700 (PDT) Received: by mail-ot1-x331.google.com with SMTP id z25-20020a9d65d90000b02902a560806ca7so3954290oth.11 for ; Thu, 29 Apr 2021 14:15:21 -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=bQ/eHw0O807xhfjRTzUKKKGXt5q/41pRNJanGN8nKE4=; b=BUHqOa+YjbWp/5UEKNV8vZbD8Vmm1t92rKIAKXwvqtqihqDmp/qhp1/HQGcyEwfHSI O0q9xuIg+FhG97LuHqIuIM3kjU6AtCD4yJ7kPkwHzEZJ3nfvBpdtUlbjn/LNa4buIhJU 0aLxzYby4MjO49PVCoeGytry8sgHkExnAuWVy2Oy7yNTOTlOTRkvD/pAM7YvQmIdrkHD TN79J8LpZdpOhH7V3lPXQPre7Rd0Q7HRY4f+0A8AnGX85WF+++GI2I5z7/eTCpQGECBA T3ZojWeotJBuqAb6lXI5w3YY38twPQIJ6afQ8KxEmSA/1cU//WjGP9jKTxj4Bv3aR3gM w+eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bQ/eHw0O807xhfjRTzUKKKGXt5q/41pRNJanGN8nKE4=; b=Y6oTmgbGU1aR/64wLwN3ye11MN6UKOBbYaZp8AM7dx2yCeUhAApW+RXaSHbO2CCAnW BYOBNGnWzwBJ8qxB9ozOS8MxJeE9gp+O7IZ0alr62hqi6hspKqgySqt9oktdiIi0BC6a jeiYIOXtEsBuvs18o/gPZr+CWXDabRMkC5lbBugzgKq2t16fPBKHKRUVyhSVlakKxKYl gqAszDgORG9N//CklCId6vSPE6VLcPY3j5ZgiuPhjNGe4VP+B0BdgAJ9uf8tt1u13nb3 FljBLDeprMO6JpiKe7C4EqBxCrZ616NFFeF5GpMmJp787pBI3dRNC++3MH4g1BzeRFmA s8Gg== X-Gm-Message-State: AOAM530T284slubI2vuzMs4Cysc1Wd2n2ViBqodnWIrATrnqlu7ouXjt etnfAMeEYiIfJcd3njEKgbbw3zSzHxsv3w== X-Received: by 2002:a05:6830:23b7:: with SMTP id m23mr1086915ots.326.1619730920677; Thu, 29 Apr 2021 14:15:20 -0700 (PDT) Received: from localhost.localdomain (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id y67sm242707otb.1.2021.04.29.14.15.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 14:15:20 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson Cc: Pavel Machek , Rob Herring , Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Lee Jones , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pwm@vger.kernel.org, Marijn Suijten , Yassine Oudjana , Luca Weiss , Subbaraman Narayanamurthy Subject: [PATCH v7 5/6] arm64: dts: qcom: pmi8994: Define MPP block Date: Thu, 29 Apr 2021 14:15:16 -0700 Message-Id: <20210429211517.312792-6-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210429211517.312792-1-bjorn.andersson@linaro.org> References: <20210429211517.312792-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The pmi8994 has 4 multi-purpose-pins, add these to the definition. Signed-off-by: Bjorn Andersson --- Changes since v6: - Split from the previous patch that adds LPG/PWM nodes arch/arm64/boot/dts/qcom/pmi8994.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.29.2 diff --git a/arch/arm64/boot/dts/qcom/pmi8994.dtsi b/arch/arm64/boot/dts/qcom/pmi8994.dtsi index b118e87ef59e..b60934ec4a9a 100644 --- a/arch/arm64/boot/dts/qcom/pmi8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8994.dtsi @@ -19,6 +19,18 @@ pmi8994_gpios: gpios@c000 { interrupt-controller; #interrupt-cells = <2>; }; + + pmi8994_mpps: mpps@a000 { + compatible = "qcom,pmi8994-mpp"; + reg = <0xa000>; + gpio-controller; + gpio-ranges = <&pmi8994_mpps 0 0 4>; + #gpio-cells = <2>; + interrupts = <0 0xa0 0 IRQ_TYPE_NONE>, + <0 0xa1 0 IRQ_TYPE_NONE>, + <0 0xa2 0 IRQ_TYPE_NONE>, + <0 0xa3 0 IRQ_TYPE_NONE>; + }; }; pmic@3 {