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: 533327 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 CE871C433F5 for ; Wed, 19 Jan 2022 20:32:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357337AbiASUcG (ORCPT ); Wed, 19 Jan 2022 15:32:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244018AbiASUcF (ORCPT ); Wed, 19 Jan 2022 15:32:05 -0500 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B97ACC06173E for ; Wed, 19 Jan 2022 12:32:05 -0800 (PST) Received: by mail-pg1-x532.google.com with SMTP id 187so3479596pga.10 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=wDvvyQb+BeC2q7OeA1fQvbHMg/rHsJYGdVxoZKyR1b8neCvgbOYSbRhBi0tYlRd03H OedIqyV9W2N0mjuVoIyd2p5B5ZPJNln/Hekrjx1v95SZMeHUZ3InmyL5rj/m4OinaT6b YHROTuX0AFhzb6cQUVGBbbyhI6ru2aN89awxIdZQI688tlWFSpoLbuSpleogLM2cEcOS ZwNywRwuZkZbbG211FpDpidpNa+WBZ11hUDxPdMX6JL8tidQS5U1gHqz3u596PYcwGzg sat+piEp1d2gx/TI+xwySKW5tcwH8DXjgGQlrCxd0Xpu9yhBUrsDQpAEFc2HxsPedOFF aZJA== X-Gm-Message-State: AOAM531LiYcSh6ErtPWJyTG4j5oDefXym6cnsOqB6yvt8l1cJ8Z1dWtn i3gyxEIvl7+fkNlIKx/qR1Xhtg== 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: devicetree@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: 533326 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 BCDBCC433EF for ; Wed, 19 Jan 2022 20:32:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357366AbiASUcP (ORCPT ); Wed, 19 Jan 2022 15:32:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357374AbiASUcO (ORCPT ); Wed, 19 Jan 2022 15:32:14 -0500 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D595C06173E for ; Wed, 19 Jan 2022 12:32:14 -0800 (PST) Received: by mail-pj1-x1036.google.com with SMTP id g9-20020a17090a67c900b001b4f1d71e4fso3710483pjm.4 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=mauPiUfi93NmL4AQuDgL3yyZtHkWFkMglSqiqOYFL+Sczygx1/aRMhfxw56Szlb6aX gP2KIlqvqs6WNFLu17dIYas5uXRRxET3keZlOX/zcP+LUqAxs3EM5dF2HWQTVpPKklcz E4HW5igkj8BsoEv2rTA/SdwEKoqiLbGDICwWz+o1BBmFbkaa3qsbPsMdLJIoYLHn69em 38J1TIcqCupw5uXeFG2KM2tT2gpCrpueiS1eWq+2rtzhbg49uufl6/qN0gNrMJa1WEJq rQ9hEEX6KqKI64micmsHOub0e0//nQnWpX2YOa4GGmbijrWdJ/HB40sQ/gFCTVQqRgoA YYvA== X-Gm-Message-State: AOAM530GtbRL+ZKPqLfJm7EHJTnAFHOeDex/fyL7wSmb7CAA9h0dQoND YumMAkwDU1Gx7PyahuJ5x1a4Iw== 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: devicetree@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";