From patchwork Wed Jan 19 20:31:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 533385 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 6760BC433FE for ; Wed, 19 Jan 2022 20:32:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357335AbiASUcG (ORCPT ); Wed, 19 Jan 2022 15:32:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357341AbiASUcF (ORCPT ); Wed, 19 Jan 2022 15:32:05 -0500 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4A12C061574 for ; Wed, 19 Jan 2022 12:32:05 -0800 (PST) Received: by mail-pf1-x42c.google.com with SMTP id a5so3343877pfo.5 for ; Wed, 19 Jan 2022 12:32:05 -0800 (PST) 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=OZ6TQT4GWeSGbapYTD8zwcnou6pSe/ETGXSsIZZ2vnA=; b=prfhzT8lrBnwGRfOY1VDCvBcn7r8eAjiAa8UlC2fZL/WDAb9Xa6THPiAfb3wWjCG5S w0cW8LqkQXM6lLGTSi/LnYOUL8IDyIGL3RSgT2mycnOwwsHhah5X2x1eFkJB12yJYnD7 gjVU8AW4CyWL8sy21AhCvXFpzi4DMwGkoTufPSyqIffu9h/ASnUZxm393hy5pXVbpNJW Xgwf38qNiXxDJQf8K1PUqkjI6fyTo6IOCRLuKrxgqwkys70X1HjzeIecPVw+uGiJ/K4C 9NaFMsXQnmgMcyTsp2KeUaiFqBuY7bP44Anwi78nOSSG5UzeofXJ39MkK/Z0u6Bq9ppc F7mw== 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=OZ6TQT4GWeSGbapYTD8zwcnou6pSe/ETGXSsIZZ2vnA=; b=kYztwl6eDThioN+RtqzIc0X7ZLDAdgZadllj2Y6QWRir8qLtPZzYEQD88mP286xCfd fnY3WUBFxA8f0G/Kt1hXNaYfIAr3T9Drpoxx5smrTTL8K6Hn3+zwwmzcnMwGMiRqZZXb xiJ0hLV90nvin1xdx9nd5S4+jMV2mxG6A5glTbppgnwY59Xl/+ezmnQ9EFnG9yxmSA4A a05Dxl2ZGDf+wQmIaNrqp3wqcd81ys+ywVjL8cPbVmL/M6swlEvKDQR8AbBaZVJg8kLY psUPtpp+ozmnm453XjhDs6kpyJAm/H+3lcMCBVlLlvR89CueKOIMsrEVbswEB+dJDevb 6CZQ== X-Gm-Message-State: AOAM532piiMrwr59dHolL3sh7POuSxd4vmkk0y9PS0lYu84QkGdxtXLH gh7i8wu1uAfTsA3L6He/c7+4GA== X-Google-Smtp-Source: ABdhPJz4y06xkJGOJqeAXdWqbUCFk1aGCBSrYDYCHhZULINBiM2pNNpqBKKrRn6waq/R36zJvAqSmg== X-Received: by 2002:a65:460c:: with SMTP id v12mr28021917pgq.58.1642624325264; Wed, 19 Jan 2022 12:32:05 -0800 (PST) Received: from localhost.localdomain ([2401:4900:1f3a:47e5:8bff:a3f8:a494:acd0]) by smtp.gmail.com with ESMTPSA id x13sm6807552pjq.43.2022.01.19.12.32.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 12:32:05 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, bjorn.andersson@linaro.org, Vinod Koul , Rob Herring , Marc Zyngier Subject: [PATCH 1/4] dt-bindings: qcom,pdc: Add compatible for SM8150 Date: Thu, 20 Jan 2022 02:01:30 +0530 Message-Id: <20220119203133.467264-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220119203133.467264-1-bhupesh.sharma@linaro.org> References: <20220119203133.467264-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add the compatible string for SM8150 SoC from Qualcomm. Cc: Bjorn Andersson Cc: Vinod Koul Cc: Rob Herring Cc: Marc Zyngier Signed-off-by: Bhupesh Sharma --- .../devicetree/bindings/interrupt-controller/qcom,pdc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt b/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt index 98d89e53013d..bd3539644d3f 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt @@ -21,6 +21,7 @@ Properties: - "qcom,sc7180-pdc": For SC7180 - "qcom,sc7280-pdc": For SC7280 - "qcom,sdm845-pdc": For SDM845 + - "qcom,sdm8150-pdc": For SM8150 - "qcom,sdm8250-pdc": For SM8250 - "qcom,sdm8350-pdc": For SM8350 From patchwork Wed Jan 19 20:31:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 533384 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 B46A4C433FE for ; Wed, 19 Jan 2022 20:32:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357365AbiASUcP (ORCPT ); Wed, 19 Jan 2022 15:32:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244840AbiASUcO (ORCPT ); Wed, 19 Jan 2022 15:32:14 -0500 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D54BC06161C for ; Wed, 19 Jan 2022 12:32:14 -0800 (PST) Received: by mail-pj1-x1033.google.com with SMTP id w12-20020a17090a528c00b001b276aa3aabso7744598pjh.0 for ; Wed, 19 Jan 2022 12:32:14 -0800 (PST) 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=HwsflDgvI505/t3UhW0BwfP38dYCTKy65mKeXmMyTyw=; b=RLT9d9TpGUOWh5DKrG8VAcsEP0GmJ1cgSg7Qw/D4EvELZej0kEMIItMUJ5E6/+5wrY EpdaGYCsx4dC4xZhFV+O5Py3WA3WWxYn+izdFo4jFN3qAiolyQpOyjgCw/nGG/czXYZM JuoEGKpr4DPXqpIik/ApT2mmbNdJ7LZjTJGjMybPjW2tF+IW0lKv04xBSkXiJC9uTfGP HHMy4oTyehA3Ib+3FK3Yss09UVgUmZzTmM4hiacw6QWKh7oQTbf3NK180jSmGQt2RO3a dSTNd08Tk3TxXaGoIDPQLviU0Qw507CW/qY2pvC+OEEz7GGKW2XdSx3qeIcLosBHkBTW sWHQ== 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=HwsflDgvI505/t3UhW0BwfP38dYCTKy65mKeXmMyTyw=; b=LRemFDaunAmVpBHUTE78c9MM+vC7Jxs2yLS/7JhDMu0iaufHhNM2JzaoDnb7rt4RAt QkA7EgsTTWtlblK68gHE97YXlIDFIKShYw6JpeEOQPsU8+SVFODuvhwZX/T5W47XBRYd 5gsgwnkc+6dP2FLj2AXDj1FW8q7xWAu3d0NF2gAP/6MIS4dH80V9/HW9muDp0kS4TSXh A6vniAfALUo416GAfKa9Q69BVqZU//STD1stSCOvpCxRg3oNY02ViPrCWkg2BakZbLiP zZsjsWKiSXzKQcIbyJwy4uGyIVdoMXjqd3q0+64MbIZ4GVARIde6ook7b7/lQ+QyEcEV L5wA== X-Gm-Message-State: AOAM532bnTsHlgwmNtgMG9aRdQHoYHda5BjgIStRqHOW+pUO7t0f6FZV VDL77QgPLPgZ9iENVTieLczqJQ== X-Google-Smtp-Source: ABdhPJzR8RsGmSCP59KaXeZcZ2RONSqBSLHC6zlef0+G3rfVJ/fwAIQeOopH8GykNFFpCffKXvN7fA== X-Received: by 2002:a17:903:32c2:b0:14a:2099:eb38 with SMTP id i2-20020a17090332c200b0014a2099eb38mr34751945plr.58.1642624334053; Wed, 19 Jan 2022 12:32:14 -0800 (PST) Received: from localhost.localdomain ([2401:4900:1f3a:47e5:8bff:a3f8:a494:acd0]) by smtp.gmail.com with ESMTPSA id x13sm6807552pjq.43.2022.01.19.12.32.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 12:32:13 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, bjorn.andersson@linaro.org, Vinod Koul , Rob Herring Subject: [PATCH 3/4] arm64: dts: qcom: sm8150: Add pdc interrupt controller node Date: Thu, 20 Jan 2022 02:01:32 +0530 Message-Id: <20220119203133.467264-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220119203133.467264-1-bhupesh.sharma@linaro.org> References: <20220119203133.467264-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add pdc interrupt controller for sm8150. Cc: Bjorn Andersson Cc: Vinod Koul Cc: Rob Herring Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 6012322a5984..cc4dc11b2585 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -1626,6 +1626,16 @@ system-cache-controller@9200000 { interrupts = ; }; + pdc: interrupt-controller@b220000 { + compatible = "qcom,sm8150-pdc", "qcom,pdc"; + reg = <0 0x0b220000 0 0x400>, <0 0x17c000f0 0 0x60>; + qcom,pdc-ranges = <0 480 94>, <94 609 31>, + <125 63 1>; + #interrupt-cells = <2>; + interrupt-parent = <&intc>; + interrupt-controller; + }; + ufs_mem_hc: ufshc@1d84000 { compatible = "qcom,sm8150-ufshc", "qcom,ufshc", "jedec,ufs-2.0";