From patchwork Mon Jan 18 05:09:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 365618 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B266C433E0 for ; Mon, 18 Jan 2021 05:11:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1328D224B8 for ; Mon, 18 Jan 2021 05:11:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731009AbhARFLg (ORCPT ); Mon, 18 Jan 2021 00:11:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730122AbhARFLe (ORCPT ); Mon, 18 Jan 2021 00:11:34 -0500 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FE92C0613CF for ; Sun, 17 Jan 2021 21:10:16 -0800 (PST) Received: by mail-pf1-x431.google.com with SMTP id q20so9504337pfu.8 for ; Sun, 17 Jan 2021 21:10:16 -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=pHI9PJDZ4lLZo/sEvf3uvSbpMTTpR+8Xw+81k1KJyJc=; b=dOaorn99d5yRq4LT1/LjnW5aWCZoABYq0NtrkrXHVlaQYAPZnqIg+iI/kJZn6oENHg 2wrSf+2dqr2V9zzCrSuqPUfagKYvz9aoQHD1ILOhTfPXOGbpvAko1w31exGPaDPm0ocX YEjRhWiBZch+TIUFYKWmPQx4Be/lT7XkbckqImWyKo/a5VsOMRf46JpIigZg9h+WE64d h86bddUuPWWs8DCM3uRZNnZE/vsOtN3qcHnmdDfsj+GLRfVdrGeCS7Jcil1urCyN3H7w s9JzIYk2dUroYZ8aJJeCDfnSFJRESNMFi6rQ+cPS1Anj7S+s2sLE9aOVpHSYyo4Pvi0Y uulw== 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=pHI9PJDZ4lLZo/sEvf3uvSbpMTTpR+8Xw+81k1KJyJc=; b=QstaEIZdI+2Sm1ujrfV8ELsTNSwIOg7JYt8XeV0pcWy4EI+3jz70SG7KKH+zzbKZ09 asm5pMxr848EQOeqCWeYbnOdDxC8O4G63Yw+34bAf6Tk/16n4abikd6B1qPASQIxOj75 z+ajR6jP2oxMAHCSswR26SD5vJmxWV9iXoDiYZ2RzFI/m0tEWpUXj3qYys7dTLdPniyL m9sFpJKns/lpUy67rgQQcttBx2+7ZYruFupyjHPz5KjAOTDzv3ZEWUX7Y20ffOzXSqKU 1ZjGUwcRBRMrBB6C9UzsYwYBJjJ0nxdUojhrtH5BQAPne7urhqkp7tIts0xDG+AzF14R L6dw== X-Gm-Message-State: AOAM531UnpR/CRtTfVdeX30PNCR6OSXrTPJrBu1rMbHFGb/qv5JCUBAY FDWmI9wcJ9FV1lXRjoPjitiH X-Google-Smtp-Source: ABdhPJx0B9pAlQO/jE37qJCOimQMmUmIgC7xP6onVLVa04ASVNfk7vin/9IeStWNo8BOxFYoMpg83A== X-Received: by 2002:aa7:82c6:0:b029:1ae:8580:9b55 with SMTP id f6-20020aa782c60000b02901ae85809b55mr24830988pfn.72.1610946616127; Sun, 17 Jan 2021 21:10:16 -0800 (PST) Received: from localhost.localdomain ([103.77.37.182]) by smtp.gmail.com with ESMTPSA id j3sm14703571pjs.50.2021.01.17.21.10.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 21:10:15 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Rob Herring , devicetree@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH 1/7] dt-bindings: usb: qcom,dwc3: Add binding for SDX55 Date: Mon, 18 Jan 2021 10:39:59 +0530 Message-Id: <20210118051005.55958-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> References: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add devicetree binding for SDX55 USB controller based on Qcom designware IP. Cc: Rob Herring Cc: devicetree@vger.kernel.org Cc: linux-usb@vger.kernel.org Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml index 2cf525d21e05..fd93b941f07a 100644 --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml @@ -17,6 +17,7 @@ properties: - qcom,msm8998-dwc3 - qcom,sc7180-dwc3 - qcom,sdm845-dwc3 + - qcom,sdx55-dwc3 - const: qcom,dwc3 reg: From patchwork Mon Jan 18 05:10:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 365466 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1940505jap; Sun, 17 Jan 2021 21:12:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHckRGjvYgcslqWvYk5iNIrx6eC+h3T/0kh0I7AS+IBvOqFng1MFQHKScsCVJad2CuvJLk X-Received: by 2002:a17:906:48f:: with SMTP id f15mr5014442eja.392.1610946739593; Sun, 17 Jan 2021 21:12:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610946739; cv=none; d=google.com; s=arc-20160816; b=n9EBEu9zHKXy/1zPDwFOmgQanLR/+E7he2yCYG1gu/1Yzx+I/MJSrYfuUdDV62GpEC E6QivFDBc/DtlGNcZ5ewAorRi7FjP/oFT1jeNQSBwOgUwXHcVdY+9CRBS14DmIsaFi8f 3+gYPM8KEVOaqPcix8TfV9JFqAE7MZ2eE5hgv4IH9XKDRPL5oMDOlBk+19b6xyB0khV5 cUdeMh0c2U72brUy5D8FhrN05jggtuGu9TW+Vn5XW2lgGokelOkNw3mMHZUBqs6s/VIM f59pOk1rcCbLOuhFrJ9SJ+R8ZmymF1Uf+FxzwN3ckQNoW0tq0k2x3jgXg/b3weCIZj2t KCdw== 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=+qG5KxGmn1x3NMlOUnZ9AwjqdeDof7DzROnqOreWZ/w=; b=QAnaEmyPj2S0p9matL/OSpsS1H68MRXPt3FapxsXyXIda6FRy3guvJXjOfC//loqgw oSymwz40VTsP5XrZ+Xxv2GZbILNfDI9RP6GHR5RdrXKd6e7oAS4APgM4eShDpSkOF1G1 ClvFlrflTYIgh7/r7+b5l23iDBgl3gqf8ERaojpTJFHy/n1IZ4Ue4V4eg4Z9+AhawnMX YGySNFwjzbhchi6kgnTSFT8mz946dir/2pSRs1sCojk3Lf3lI0K9Q4SpcMiW2CvoJijp hRHpYZdyQwy22PUkpKz10y8ixDZ/79bRm/4TSshJgyjRGdM6tATiaEIN3ELyQJ72RKzK 9c4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pGtuS9hC; 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 o11si7111122edq.506.2021.01.17.21.12.19; Sun, 17 Jan 2021 21:12:19 -0800 (PST) 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=pGtuS9hC; 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 S1730122AbhARFLh (ORCPT + 15 others); Mon, 18 Jan 2021 00:11:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730149AbhARFLe (ORCPT ); Mon, 18 Jan 2021 00:11:34 -0500 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2E9BC0613D6 for ; Sun, 17 Jan 2021 21:10:19 -0800 (PST) Received: by mail-pl1-x62f.google.com with SMTP id x12so7980097plr.10 for ; Sun, 17 Jan 2021 21:10:19 -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=+qG5KxGmn1x3NMlOUnZ9AwjqdeDof7DzROnqOreWZ/w=; b=pGtuS9hCM35fxpSNt3tr7T0GSG/zaKvnIkfdTm+trgHjYrST4PqtT2dlLZtAqsGLRQ 07HAxtZUk0HNKqcHspv6Jnw66/KgN6XRxGY9nlctXO/68/Iem3qjQB98x6coIvkEviv1 in7hukOxmtlLh3YdhBW+daQsArrYCf+L1MtiehZoCfbj7L8OCaPHmvg8ocM8QQx/8QJJ pRICiEyXLGmW5AtCSKomE+oafQr97KPyd2tCu48a+hcPSGnlPjkUhXRDYbJzX/i0dN40 aBUIw/vh6q19KWR/ZKB2cx6BlRZgiNWXvKhnpYDwgozxKdHdcMaR1QQ4Dci7NJFJbCEB 4HHw== 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=+qG5KxGmn1x3NMlOUnZ9AwjqdeDof7DzROnqOreWZ/w=; b=pAVfmvgazAA55b9iL7askzi2g9swbGMpIAJB/M5LNCFwj7zKwJkwwqevWVnDvdNgJB S46tqrd1eiMpgr7oLYI7Wr0fPsIr70syKzX0yOCaKUKT21R9tiBo6/QyeJmk4M1Zx0mW RcTOIqBX6+7F/m64+po1MEi9tzwIaY7uKNOkbF6BebeJJ/MJAIzteuaouhAvhMQpSF43 WRXLWJRBKlhShn6N8eFLjikSunwC8IbSo5knW8/YQwCEQo1trzHagydSTYWS2oX0wabD l5Czv+DLgLuTfcSxXVjQBhOOnBstBMB8YSHH0uc5csQ/7k1JQxpzaaiNXqOkXZ4buOCd FSzA== X-Gm-Message-State: AOAM530pHZPqI+zjUe3duZwcI4wY/IrACYL5Y/dYQQ6n9eA15XS+TLuS /yNmifikaK/NENx2Ila8yxGeQYHXbKre X-Received: by 2002:a17:90a:5a03:: with SMTP id b3mr11240238pjd.1.1610946619165; Sun, 17 Jan 2021 21:10:19 -0800 (PST) Received: from localhost.localdomain ([103.77.37.182]) by smtp.gmail.com with ESMTPSA id j3sm14703571pjs.50.2021.01.17.21.10.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 21:10:18 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 2/7] ARM: dts: qcom: sdx55: Add USB3 and PHY support Date: Mon, 18 Jan 2021 10:40:00 +0530 Message-Id: <20210118051005.55958-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> References: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add devicetree nodes for enabling USB3 controller, Qcom QMP PHY and SNPS HS PHY on SDX55. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 85 +++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 6ec7cf1a2367..98945900baa9 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -146,6 +146,48 @@ blsp1_uart3: serial@831000 { status = "disabled"; }; + usb_hsphy: phy@ff4000 { + compatible = "qcom,usb-snps-hs-7nm-phy"; + reg = <0x00ff4000 0x114>; + status = "disabled"; + #phy-cells = <0>; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "ref"; + + resets = <&gcc GCC_QUSB2PHY_BCR>; + }; + + usb_qmpphy: phy@ff6000 { + compatible = "qcom,sdx55-qmp-usb3-uni-phy"; + reg = <0x00ff6000 0x1c0>; + status = "disabled"; + #clock-cells = <1>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + clocks = <&gcc GCC_USB3_PHY_AUX_CLK>, + <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, + <&gcc GCC_USB3_PRIM_CLKREF_CLK>; + clock-names = "aux", "cfg_ahb", "ref"; + + resets = <&gcc GCC_USB3PHY_PHY_BCR>, + <&gcc GCC_USB3_PHY_BCR>; + reset-names = "phy", "common"; + + usb_ssphy: phy@ff6200 { + reg = <0x00ff6200 0x170>, + <0x00ff6400 0x200>, + <0x00ff6800 0x800>; + #phy-cells = <0>; + #clock-cells = <0>; + clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>; + clock-names = "pipe0"; + clock-output-names = "usb3_uni_phy_pipe_clk_src"; + }; + }; + qpic_bam: dma-controller@1b04000 { compatible = "qcom,bam-v1.7.0"; reg = <0x01b04000 0x1c000>; @@ -198,6 +240,49 @@ smem { hwlocks = <&tcsr_mutex 3>; }; + usb: usb@a6f8800 { + compatible = "qcom,sdx55-dwc3", "qcom,dwc3"; + reg = <0x0a6f8800 0x400>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + clocks = <&gcc GCC_USB30_SLV_AHB_CLK>, + <&gcc GCC_USB30_MASTER_CLK>, + <&gcc GCC_USB30_MSTR_AXI_CLK>, + <&gcc GCC_USB30_MOCK_UTMI_CLK>, + <&gcc GCC_USB30_SLEEP_CLK>; + clock-names = "cfg_noc", "core", "iface", "mock_utmi", + "sleep"; + + assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>, + <&gcc GCC_USB30_MASTER_CLK>; + assigned-clock-rates = <19200000>, <200000000>; + + interrupts = , + , + , + ; + interrupt-names = "hs_phy_irq", "ss_phy_irq", + "dm_hs_phy_irq", "dp_hs_phy_irq"; + + power-domains = <&gcc USB30_GDSC>; + + resets = <&gcc GCC_USB30_BCR>; + + usb_dwc3: dwc3@a600000 { + compatible = "snps,dwc3"; + reg = <0x0a600000 0xcd00>; + interrupts = ; + iommus = <&apps_smmu 0x1a0 0x0>; + snps,dis_u2_susphy_quirk; + snps,dis_enblslpm_quirk; + phys = <&usb_hsphy>, <&usb_ssphy>; + phy-names = "usb2-phy", "usb3-phy"; + }; + }; + pdc: interrupt-controller@b210000 { compatible = "qcom,sdx55-pdc", "qcom,pdc"; reg = <0x0b210000 0x30000>; From patchwork Mon Jan 18 05:10:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 365467 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1940522jap; Sun, 17 Jan 2021 21:12:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwdz5bkC3u4sy3zjABFdORwznlCc2BoT0qDk9QVjy5PbQ59eoOY4RINMyPzYVkZVMCYkVMY X-Received: by 2002:a17:906:af96:: with SMTP id mj22mr16476358ejb.127.1610946741116; Sun, 17 Jan 2021 21:12:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610946741; cv=none; d=google.com; s=arc-20160816; b=hCj6YV+QX/x+vc6BSC7GeQq+0TZF2e4fkuHaLJwjmM6nYdDNdk5y+pHFy9rMxpwjWY ne5VPCggEKMq9rI27wv9kkB2938qb7AZSiFR+UBhW8AhoBH2RYOAuN+thLEu0nYERq1G xvwB2rF6eLTnlFSpYwD+/udcUry9NOlA9OIXcqhMAhkVX50kqgDxf3bEHKBS7yJewh5G Fzl2XVieR9LIjYhNMt3h+aiKs/R1L06/rtyyKvUiZxh3TlQ4oAD+lEMJgI7CVJMRyFBl ceu+A69zAkTTscxTS6g7UTed4NHq5icWUluDYzFqFAjy4ySmwT7Da5tVt8zcn5ZCT4fS bwjA== 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=kIOurttyqDWMRZTk0KvtZ6egeQZ8d/AjuWKlkLPQdLY=; b=S70T8lm7TPKiHgqXXCcE/M2h1CC7KxkRzpH2XaOZrTrWPgFjn3bneS8+LncJLaxtB3 xmYof9J6ycqQ6M6Vd5rua7KndxpMR/aB7XCjnfavH4Njz0phhBN3+gWfOAmeKMw96wNJ hlAzbKXY0GOMjgurcAs1KVyz7IZgOy8D5GBltDITbKTt/RMfKUdynPFUDoF8Dj/D83z/ iG+YM08RaD5TywciCoH5/lXnPCF/U8wqHepczI9T1BzuQHFWfFHXHXat+7uoJIvPcvpW Cx7zczcnv5IDUbZFe3eWLAqaB5lB+eNFi1TbigB+Crdz4W91SNUN5stC4Fb+ZG3J2n5t lQqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nxcJ06gH; 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 o11si7111122edq.506.2021.01.17.21.12.20; Sun, 17 Jan 2021 21:12:21 -0800 (PST) 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=nxcJ06gH; 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 S1731507AbhARFLm (ORCPT + 15 others); Mon, 18 Jan 2021 00:11:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731485AbhARFLk (ORCPT ); Mon, 18 Jan 2021 00:11:40 -0500 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6203C061786 for ; Sun, 17 Jan 2021 21:10:22 -0800 (PST) Received: by mail-pl1-x629.google.com with SMTP id r4so7977139pls.11 for ; Sun, 17 Jan 2021 21:10:22 -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=kIOurttyqDWMRZTk0KvtZ6egeQZ8d/AjuWKlkLPQdLY=; b=nxcJ06gHz+s+l4F5b6KRUULDkdvR9nFrEmEBfOtHH90Rn0WAJUvZd4737DwfjHxeq4 jQxia7m0Xbr+1TuNCgGsMANgHySvH6ZCev8d1DgUSJtfpl4/zx0wVmVRFN6jvWjiJn6S vjm/PncbRqQEL1j576bFsSPXuwvLMSAfYUUSfRdxqeJAxGLvNd3TDVmsrjHgtaUp2XvI 6f9xhk2EaRH58wjvbhKQh9Ue9Mhgc7LpiC/p239jlWO3JzHj038ClZVz5JRpOphdoDb7 AHsI8PSDmgEYqo7Q7dAt0Nr8eVCZo6ruqjq0d3ngn0zFxv/tYfrsMURXMLU5RSWqCW29 3j2w== 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=kIOurttyqDWMRZTk0KvtZ6egeQZ8d/AjuWKlkLPQdLY=; b=HMaf43wDxE2Io1hiXpTechRxwY5coqYZsdtaGQn6sVV9GC8f4lZokoymoIKUoGpzHr 9pKsizlZ/pCY0SdMQP+tbaDDZzTmwzLMJf+IsgxCNCbKvJSt0ghQMk5iGAR0ddbjsHIi x+Xh0QVhgU+G/nVZoU2htTfwVcAvA5TQ1iVluCZlsIj4Sy4dCS9vomqx1p+anDPhp8aq KQIiOSqKKP/sdKLKJVLR40RssR34AEY+FcokL3nqP6z6a/mT+NkepkiD9MBsMDESdZRy wHP19k4IvhvUeSLBK8/OnWY4C+NhK7FR3pvLrpC1GW4uvMYLclfR2APmAvGXVu2S0BMU VnCA== X-Gm-Message-State: AOAM531LrAkcKW+IIz3bYTBZ5/VETcBrX9QtUcw5N/agJHCNKgfzAhAM d24smFossTilW0CAbuBAlsG/ X-Received: by 2002:a17:90a:ee8f:: with SMTP id i15mr23955008pjz.82.1610946622280; Sun, 17 Jan 2021 21:10:22 -0800 (PST) Received: from localhost.localdomain ([103.77.37.182]) by smtp.gmail.com with ESMTPSA id j3sm14703571pjs.50.2021.01.17.21.10.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 21:10:21 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 3/7] ARM: dts: qcom: sdx55-mtp: Enable USB3 and PHY support Date: Mon, 18 Jan 2021 10:40:01 +0530 Message-Id: <20210118051005.55958-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> References: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enable the support for USB3 controller, QMP PHY and HS PHY on SDX55 MTP. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 29 ++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index 96b6a295f813..7fec5e7a2724 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -111,7 +111,7 @@ vreg_s4e_1p904: smps4 { regulator-max-microvolt = <1960000>; }; - ldo1 { + vreg_l1e_bb_1p2: ldo1 { regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-initial-mode = ; @@ -129,13 +129,13 @@ ldo3 { regulator-initial-mode = ; }; - ldo4 { + vreg_l4e_bb_0p875: ldo4 { regulator-min-microvolt = <872000>; regulator-max-microvolt = <872000>; regulator-initial-mode = ; }; - ldo5 { + vreg_l5e_bb_1p7: ldo5 { regulator-min-microvolt = <1704000>; regulator-max-microvolt = <1900000>; regulator-initial-mode = ; @@ -165,7 +165,7 @@ ldo9 { regulator-initial-mode = ; }; - ldo10 { + vreg_l10e_3p1: ldo10 { regulator-min-microvolt = <3088000>; regulator-max-microvolt = <3088000>; regulator-initial-mode = ; @@ -228,3 +228,24 @@ nand@0 { nand-bus-width = <8>; }; }; + +&usb { + status = "okay"; +}; + +&usb_dwc3 { + dr_mode = "peripheral"; +}; + +&usb_hsphy { + status = "okay"; + vdda-pll-supply = <&vreg_l4e_bb_0p875>; + vdda33-supply = <&vreg_l10e_3p1>; + vdda18-supply = <&vreg_l5e_bb_1p7>; +}; + +&usb_qmpphy { + status = "okay"; + vdda-phy-supply = <&vreg_l4e_bb_0p875>; + vdda-pll-supply = <&vreg_l1e_bb_1p2>; +}; From patchwork Mon Jan 18 05:10:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 365616 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0E97C4332E for ; Mon, 18 Jan 2021 05:12:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 919A722AAA for ; Mon, 18 Jan 2021 05:12:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731502AbhARFLu (ORCPT ); Mon, 18 Jan 2021 00:11:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731498AbhARFLl (ORCPT ); Mon, 18 Jan 2021 00:11:41 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 657BCC061796 for ; Sun, 17 Jan 2021 21:10:27 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id i5so10234168pgo.1 for ; Sun, 17 Jan 2021 21:10:27 -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=O/MckQVyedOPxim+CJoRXJE+6wRoe7vc3ngCjh1a4CY=; b=dn/OlTA/DrJq8mV6ehVt0kFcB/l3X0F2BLxYgjBJCvN91wQvk8sJ4cYK8FsPIKXVeZ EefW8fE2pTgeZxReqkmHkVs8RGuMvnUDxhTfd8m5sHyQw/INmrYIDtNi2q7v5jvNgoIP 5a8TFk1gkqs7WwxFH2EXbqklwZv0yYXDKBb3tI66Qgx27fy8eriwb33gE0mAfrQT9Zm3 Z5AQ47B3f4Ev6DL6uWrHrQ7YGML7I80zw8USEy0WuTAnE55I6daX5H4lP5yb+pfkNxBv TO2lAbe2GExsfi4GZP1cL9aC8xWXQen+lj8e8QR2MZKefliUKJH071iC1NDsH093Er1G u4cQ== 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=O/MckQVyedOPxim+CJoRXJE+6wRoe7vc3ngCjh1a4CY=; b=MrnQ28F203a1l5ON9oyKCjeCZ5fUxHL/Hd0N4v74tbxRqMBh83SexBg51EIRKVmfOY pRyQu/nFBIKz43XzgqjsUeLqfmL49ebaUD96MYe5ZqFpY18sXvXxOSnj0vy6ptcTttl3 63OP3pG1J6UDXAdkiYnCxpjp0D/GlxMc1eboQvy1KachIFhonmJaHzcrYIrr/X87dqV7 6mk/rOF4YBoLOBLgjjEcY3GdtOUzlelJR0iElendlFhuS7OCubNq+pXTRJox+eZaOe8M gFsyMSfLy+WrtB7tHtTwFtuXwv1YYttmqEGDCw/AAJuVUHYctJNSPQ2W0sPHezCFp7+s sw7A== X-Gm-Message-State: AOAM53369mIM8wMj/UdidYDOcjlWevFEcFoHWRBbN3S+fgKu8lFEuRQ6 FcqLW40O0dbl2yIDdfqbgtiE X-Google-Smtp-Source: ABdhPJyJ9Q8Rqr6xoocsiwSLSsTG9NXqttQMylr8KEZiHQMmCX9N3Ziipj6ygoAKnwy6OqWkuUL23w== X-Received: by 2002:a05:6a00:8d4:b029:1b7:7ad9:4864 with SMTP id s20-20020a056a0008d4b02901b77ad94864mr3399128pfu.34.1610946626926; Sun, 17 Jan 2021 21:10:26 -0800 (PST) Received: from localhost.localdomain ([103.77.37.182]) by smtp.gmail.com with ESMTPSA id j3sm14703571pjs.50.2021.01.17.21.10.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 21:10:26 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Wim Van Sebroeck , Guenter Roeck , Rob Herring , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 4/7] dt-bindings: watchdog: Add binding for Qcom SDX55 Date: Mon, 18 Jan 2021 10:40:02 +0530 Message-Id: <20210118051005.55958-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> References: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add devicetree binding for watchdog present in Qcom SDX55 platform. Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: Rob Herring Cc: linux-watchdog@vger.kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: Manivannan Sadhasivam Reviewed-by: Guenter Roeck --- Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml index 8e3760a3822b..b8e4118945a0 100644 --- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml @@ -18,6 +18,7 @@ properties: - qcom,apss-wdt-qcs404 - qcom,apss-wdt-sc7180 - qcom,apss-wdt-sdm845 + - qcom,apss-wdt-sdx55 - qcom,apss-wdt-sm8150 - qcom,kpss-timer - qcom,kpss-wdt From patchwork Mon Jan 18 05:10:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 365468 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1940529jap; Sun, 17 Jan 2021 21:12:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJykRe8tPeSuOnW7Vr0qfm2wyCZs+mtgNyktManf55jlnBzsojasUJOJqTMEHDdotWJPGhK/ X-Received: by 2002:a17:906:48f:: with SMTP id f15mr5014512eja.392.1610946741975; Sun, 17 Jan 2021 21:12:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610946741; cv=none; d=google.com; s=arc-20160816; b=PrqMh0NmzawJv7jl8SH/FEFCLYN3mY4xFfxlCV/fZDAM1TKyP/v5vjxinH0Xt2ChSj CYIdkyLj/PU10Z9b2+WKbe9McokyCUfiOm1kLjSNurzBc6QRtZ1eQBTxq2bJ9F3G6Ilb tIwgQJXL4qZdhV25a49l/uuXE4CRT72PSHAEV752C5cpfReUDdMLCmxMQGvPgDxfiWH+ CFp702s1jvEl6V7ouqvZzPSfEmmI74mf0e2PSvXUFqEBIxiA833ds47YfpMiUqlyxHrV Bp8uKPhPyJbtNEpXs362ve4nrD3LybMcp3BQR6Oi4su4pisjZmUtGFGYjTvf/sd8c7dC l5Gw== 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=rfy5xQphKmuo7mjXEpIQjuE+vSJRcxz4P/4YQuZy1ok=; b=w5E22qh2H0vVcdU+UxI15TFBUQVulSDmxxwXLkMciiG7qWOrWeOfR2aRKf52ejEq8g G0sr88jQGL6eFW2onCSaZGBbnvmqMg4DJSnx22qOJI7dEy+Azqsvd8RrXCBPgjf5Fyyr FMM1g7jJYK+738oSGFELTllSQu0fR6jPRsHvE2LJOPTXIkTemim12EqUguFJavII6H9V jOkkPeyBJgihtKZ5ZF7GqkAmE7hnOFLqxU+LlYWiMxer0Xh2Mh4w2Y2kfFfOAoZZjGFV Qypa9Rt83BvS+C5ou7YU0saze7WGBeARK+KQLsp/rZT8TdZqZVS1NXhlIv7OYXWp4TMn OcWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ea4Pnex2; 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 o11si7111122edq.506.2021.01.17.21.12.21; Sun, 17 Jan 2021 21:12:21 -0800 (PST) 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=Ea4Pnex2; 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 S1731462AbhARFLu (ORCPT + 15 others); Mon, 18 Jan 2021 00:11:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731502AbhARFLl (ORCPT ); Mon, 18 Jan 2021 00:11:41 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DB39C061798 for ; Sun, 17 Jan 2021 21:10:30 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id p15so8611390pjv.3 for ; Sun, 17 Jan 2021 21:10:30 -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=rfy5xQphKmuo7mjXEpIQjuE+vSJRcxz4P/4YQuZy1ok=; b=Ea4Pnex2/cshJh+NybehwAVtubTldQzN3nYvh4t8NvYZEk8E0N8/zACUhMzHYOc9D5 RSs1GrQX7Ww19BHkcQSkm0bzUHLp8ceYKnqlHTyfJ55n3AUmdZHZjwLzGgX5joC+EskE Q2KOvI4Y48SvW3DuVDLIuZHYItTjCoScN3iFv3KNuX4WtY+thl7LcwFoPDWUHo7wCa8X V8rWa87l0YIWg4sk93F13OkbOTKLmXXiQpV6hCZ16vK1AhMe/qnG6MMA1t4GVlS9lely J3ahAaNqht3s+iKvH/YHB8dbqqVBaX5TTuUu6AcUrXS10VJEk/Ij4NPz8zYXv1o4dRDl oG7w== 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=rfy5xQphKmuo7mjXEpIQjuE+vSJRcxz4P/4YQuZy1ok=; b=fWVUSS3xrrXWalLgW4EvchrLOIiKSC3FfLR0hcEJYzFCiQdNJO342LdR4KpNR1AqP0 cz8slibejZSzNi7dbitIdDaz9eE3fh+wjX6OCIGTpMXT4Kya94tu4aI0muZfvUH3K0cz RzuOMi9rGgkA2OmuxtLnHOIgBwNfj3DzIrID4doR3o9nza8b3uH31YIoFRN8xYIA/3IM WDo1eaZzxx9iVvv4Cv7uDwAA1FC4A4LQKKt+N86DFNqiVoksWWHsXA9bzQ/F4y2BiEWP 35TUbIMXUzK4Vb5xRCP2hhYfcj4h8CB458pPYBpKW4+83a8YTlfHHt24x4xn8gAxSi/k YXsw== X-Gm-Message-State: AOAM533uxBUwuSwOoM1bPUgFxtmauGv5aLJRn1Yj4Rm3iknLg3WdB2+n /sJLvZRWUU7eaee1B3rLmhVu X-Received: by 2002:a17:90b:46d2:: with SMTP id jx18mr1616434pjb.44.1610946630033; Sun, 17 Jan 2021 21:10:30 -0800 (PST) Received: from localhost.localdomain ([103.77.37.182]) by smtp.gmail.com with ESMTPSA id j3sm14703571pjs.50.2021.01.17.21.10.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 21:10:29 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 5/7] ARM: dts: qcom: sdx55: Add Watchdog support Date: Mon, 18 Jan 2021 10:40:03 +0530 Message-Id: <20210118051005.55958-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> References: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enable Watchdog support for Application Processor Subsystem (APSS) block on SDX55 platform. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 98945900baa9..606244fbb91c 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -354,6 +354,12 @@ intc: interrupt-controller@17800000 { <0x17802000 0x1000>; }; + watchdog@17817000 { + compatible = "qcom,apss-wdt-sdx55", "qcom,kpss-wdt"; + reg = <0x17817000 0x1000>; + clocks = <&sleep_clk>; + }; + timer@17820000 { #address-cells = <1>; #size-cells = <1>; From patchwork Mon Jan 18 05:10:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 365470 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1940784jap; Sun, 17 Jan 2021 21:12:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJyu9frRIgwmcp1MdBOJ16WgCvhmRbMR7iUY+a2sOEP7B/iNgpP06fsr4MC6RBXs8+RWGiBX X-Received: by 2002:a50:d5c1:: with SMTP id g1mr18541207edj.299.1610946769081; Sun, 17 Jan 2021 21:12:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610946769; cv=none; d=google.com; s=arc-20160816; b=A0cSE6Kmu2TeHu8mzTMar1ZnctC/MAX12jSAgj/YUJ4QrcCWkQFLuoqlRyZ24tPII2 Nbu1NRyWyklfxUC7+PMJ9fl7W/8Dvwme1836cXdJQHKfGnM6MDLRH0lWG5SvDtvIh4I4 s9miek2sFzWqve6+XaiZiDJJCyBITrXRZ1/ja/1tknvLR3dtyPPFSUvnKTuBoJ4HXjhh VT3+bT2LLXofmbDH/q34ce1mZ1C6/W26IczKYTQwfL1tmmqAZhRyhV9v5D+bRqQRAjjD 1/dT401tLGLKCate5YrM/nE8u68nx2Q1VbojjbiWU7IlesXNS6OtEFnid+OmFp9jH7hR G/Rw== 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=FQQRSZh/NmNyBOTuzvTdIbgV6cYNRh+ssF+27vc63k8=; b=GQFOF85Ei4o8EeARgwnyGxopAGiI8hCGw4IdEj6uG0+KmJmiDevsYaCjqGUaqhXTL3 xuOJ+ekCxXRM4vUBXk6bFw5HWk83BJFldOWJU0KZ8LeFv+mltGFcfv8NYsejgP5S+VFH CA23v/iUxsl0IpMkodHu7OQ3i2pB0ZyIa6sAhkwVgQxnGz/QzbfsjVikj8/uthOVTZ+Y tCcez63gDgZSUUtrLWy/sbmCEnNyKFIHXQGuTFGHnckTap6GeacnBw2JWSJL/2fzLEjF dhKEnBFK1TQsd6NsVsyzr0vdo51xfW+L/Jlp5BjBmEBtF6O/XCtm7LQyJcws+wOaj9mG aTFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G78Dy46v; 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 o11si7111122edq.506.2021.01.17.21.12.48; Sun, 17 Jan 2021 21:12:49 -0800 (PST) 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=G78Dy46v; 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 S1731605AbhARFMS (ORCPT + 15 others); Mon, 18 Jan 2021 00:12:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731490AbhARFLv (ORCPT ); Mon, 18 Jan 2021 00:11:51 -0500 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94015C06179B for ; Sun, 17 Jan 2021 21:10:33 -0800 (PST) Received: by mail-pf1-x435.google.com with SMTP id q20so9504738pfu.8 for ; Sun, 17 Jan 2021 21:10:33 -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=FQQRSZh/NmNyBOTuzvTdIbgV6cYNRh+ssF+27vc63k8=; b=G78Dy46vudxGiu5QxUrtUYK1Tz5iy6FL+x2iEqL70SzaNxfiDIM6QIqZ0riiTy6vWY i0gDpYqhWOS86eI/vKOAqiIa+1d9lGOVXEMnNRfUHNEUl82BG/dfzAM1QKN++K0o5js1 nMD5WKg3wmiVVQeXKsazNgQw0+spY6j8VHcuAViVj+oovAkwcg7NNzguSjUdq2zObNll Izth/A+eeVjiWsO8ZLW+4xDe+FhQ4EU79JaMKeWGfRPb9US+5iQzW/U/nPY5ZFj12qzG 0vkVHkbowOtn2KgW7bHIeMM44d/9krEe0l/pHrWY21k5NKuOMpDuuKlZlhcIjaVp/gsS k57g== 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=FQQRSZh/NmNyBOTuzvTdIbgV6cYNRh+ssF+27vc63k8=; b=lt2YbmObGXhasOyib1nhNmYOB8/0lUNxJDRF0ljvaY+qz7BGAZL7ptAtL8p7ZDNhm2 /WxlpDv4oxRN8Ao0CEu4jY5qg7DKStt1Yh/3/8KmsXDjdSiOjSMZdPg5xwy8wKJBHf9q a0a2TPbpQYqX6Q93GAAzkSe5dwtHp6K9lgRSJULOXjGcVoW58wSfgc6XvEhYJarslTP4 p0QU+Bd9ihSD4iP0f7EZOvihLpjiwaijLOovwnHZv4T9Ii5NNWz/rAr5qr/Y+dVo5W8c rmJJn9Rk08hDBWzjUNYUAoeELORWeTYa+YUOThjQS9QsMLyix1C6FIwWqUcjJadjEZKV wGfQ== X-Gm-Message-State: AOAM5314C9gTE4+YGhljlbvD2RCIiJynN+w9Ss2uRuIvb/UPziHIsmQp aG6Kjll1GXjojl8eio9VqktfR5Ejvu/3 X-Received: by 2002:a62:37c7:0:b029:1aa:22ea:537d with SMTP id e190-20020a6237c70000b02901aa22ea537dmr24226771pfa.56.1610946633127; Sun, 17 Jan 2021 21:10:33 -0800 (PST) Received: from localhost.localdomain ([103.77.37.182]) by smtp.gmail.com with ESMTPSA id j3sm14703571pjs.50.2021.01.17.21.10.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 21:10:32 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 6/7] ARM: dts: qcom: sdx55: Add pshold support Date: Mon, 18 Jan 2021 10:40:04 +0530 Message-Id: <20210118051005.55958-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> References: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add support for pshold block to drive pshold towards the PMIC, which is used to trigger a configurable event such as reboot or poweroff of the SDX55 platform. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 5 +++++ 1 file changed, 5 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 606244fbb91c..342149abea5e 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -292,6 +292,11 @@ pdc: interrupt-controller@b210000 { interrupt-controller; }; + restart@c264000 { + compatible = "qcom,pshold"; + reg = <0x0c264000 0x1000>; + }; + spmi_bus: qcom,spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0x0c440000 0x0000d00>, From patchwork Mon Jan 18 05:10:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 365471 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1940788jap; Sun, 17 Jan 2021 21:12:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJyHDlvUxv7VomjTIGpgpWwHxG6/nF5ht8aBfyE3A7JNrBHp6ZqC5VhaC5PK1UaPnlm03uCJ X-Received: by 2002:aa7:d511:: with SMTP id y17mr17798724edq.112.1610946769467; Sun, 17 Jan 2021 21:12:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610946769; cv=none; d=google.com; s=arc-20160816; b=aqy9hG1xV/PHdHG5vIPX66B7tNUUWLwH8bYD7KwKFGFvc8ePYmDP3Z0as/v+LOAukp nFGQkLVoCLXiFIdPIw/TgDN3vuxkFcJu23ryeJhWEuTdww9Qb59V0h6dbZLrS55ImDig IjOR+ZrtZfHV+REPH2MtkRmjwIvFik8YUMCK710KcvpnxkkkrGDZgoGPujgnb3wR+kzC +20in1Mm/IbfMy07Q8rzVwaQXb6bNQg7voEHsUHJT2EL66k6998vQ9dPepk9LvEIMpAj 8rrVOl+xD/FFek4Bg5NhZVavssmdPAparXhwp4GbUefiFuJ+mkoFJ8Ao8bE2cNd3c+no pDrw== 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=7TWfVrulFNjPq0+eVRHAHEYkcTTWPCyteYKVSR9fpvE=; b=bVqJ0XzOBXw2436JHiQktogTPdoJhfXdQgA4XilRq6c86Zed7S7v9+fnnMEwocnKyH Ny3PQzONsx3f+WvTP/6x+yI7jfNNVUKdrZwhs+vJ5Sn+ju+OQuqn32hDpEFr+84m9Qiu dLicTwlOXLpM3zqPJQ9IV4PZCz9okKplrt6+LEHqmVeLct+ImZRsi2Yh2iFoH8tAwbek m5E1F7SWQx+bofFQBsINpOm7aWamyqeR1k5IMjANNcJAVrkp7ekft5QMZ74oAuhNWOym 0zCvyTA2cncEvZtSsfKgCO0EWxNR0Q/CuDTphaelLz9R79CUFAf92zWbfsbtd6YVMUjx SO7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FwQd1dQ4; 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 o11si7111122edq.506.2021.01.17.21.12.49; Sun, 17 Jan 2021 21:12:49 -0800 (PST) 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=FwQd1dQ4; 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 S1731615AbhARFMY (ORCPT + 15 others); Mon, 18 Jan 2021 00:12:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731602AbhARFMQ (ORCPT ); Mon, 18 Jan 2021 00:12:16 -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 A899CC06179C for ; Sun, 17 Jan 2021 21:10:36 -0800 (PST) Received: by mail-pj1-x1033.google.com with SMTP id y12so8708864pji.1 for ; Sun, 17 Jan 2021 21:10:36 -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=7TWfVrulFNjPq0+eVRHAHEYkcTTWPCyteYKVSR9fpvE=; b=FwQd1dQ4UbJoQQmyF80j5kbsGRMQs/Tl7r3CabDhQmgc1tksFomt/9p1ap9x2m4g35 eKNWXxxLlXUZNs6FKy6npp55tqahDf5I+OceAm4xGHwanFf47G76hJbeqUcJTzGvPhJB qEJXm0/PmXt18M9ug28NcilAOydaootmEIMT/oLcxbxaw3xExf4PzBKzQGWrQf20CoZk 88P7bmRbp+IdTSQ/s4+WragPJ+BbNXXiD6bmROICHXU/1wIrPGL258U3KOTGDJd+/UAw i6OhgcznZdQW0CdpVnlGBoY+Tm7RBAsz5bx4PYtbg3ubPMIC/RDTxiiU4B0v+jkL8Yup Rrhw== 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=7TWfVrulFNjPq0+eVRHAHEYkcTTWPCyteYKVSR9fpvE=; b=CR8JLIbfmON1OVqFfdq06BGkQTPUmIFhLJFH5GuaU868b9vw0bN9/405XPWLu/Ab8a PTkvsmq245OCdDIj3M5f5J0v+O3y8eUq5VQ0m5aQ6izbX+6zHrm3n0GJBXENpQ/7j7Fm 0Ydb4FHbggsBTwn0GEUaOZRx1X9+RULa0YTY7+vTssQSqbqWvj3rBCPe/NXmOGBoGGST 4lJZMDCeQh8MJ38VxV8lHNyq/f38H9GwvHecTaA3OqlcCFHPDwInwt8Kw9YGMfb+Ob/C 2IeQy38OL15sEUoensuGZOtCzZSHKmMgeCdIs61BhSvju0byWBUUHnUsdFLtnse+ELLC e6Tg== X-Gm-Message-State: AOAM532cs1QX98H+MWgWG6EE2drGAwcG9wiPf0UOTij6NR466d2KkcUq iX9IGA0rPEGgt55/Io80mhiz X-Received: by 2002:a17:902:9304:b029:da:fa20:b86a with SMTP id bc4-20020a1709029304b02900dafa20b86amr25180829plb.36.1610946636197; Sun, 17 Jan 2021 21:10:36 -0800 (PST) Received: from localhost.localdomain ([103.77.37.182]) by smtp.gmail.com with ESMTPSA id j3sm14703571pjs.50.2021.01.17.21.10.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 21:10:35 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 7/7] arm64: dts: qcom: Add missing "-thermal" suffix for thermal zones Date: Mon, 18 Jan 2021 10:40:05 +0530 Message-Id: <20210118051005.55958-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> References: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The thermal devicetree binding requires the "-thermal" suffix for all thermal zones. Hence, add the missing suffix for PMIC based thermal zones. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/pm8150.dtsi | 2 +- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 2 +- arch/arm64/boot/dts/qcom/pm8150l.dtsi | 2 +- arch/arm64/boot/dts/qcom/pm8994.dtsi | 2 +- arch/arm64/boot/dts/qcom/pm8998.dtsi | 2 +- arch/arm64/boot/dts/qcom/pms405.dtsi | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) -- 2.25.1 diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch/arm64/boot/dts/qcom/pm8150.dtsi index a53eccf2b695..f5874223082e 100644 --- a/arch/arm64/boot/dts/qcom/pm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150.dtsi @@ -11,7 +11,7 @@ / { thermal-zones { - pm8150 { + pm8150-thermal { polling-delay-passive = <100>; polling-delay = <0>; diff --git a/arch/arm64/boot/dts/qcom/pm8150b.dtsi b/arch/arm64/boot/dts/qcom/pm8150b.dtsi index e112e8876db6..ba85b2151ee9 100644 --- a/arch/arm64/boot/dts/qcom/pm8150b.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150b.dtsi @@ -10,7 +10,7 @@ / { thermal-zones { - pm8150b { + pm8150b-thermal { polling-delay-passive = <100>; polling-delay = <0>; diff --git a/arch/arm64/boot/dts/qcom/pm8150l.dtsi b/arch/arm64/boot/dts/qcom/pm8150l.dtsi index 62139538b7d9..0ab9c364e7f1 100644 --- a/arch/arm64/boot/dts/qcom/pm8150l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150l.dtsi @@ -10,7 +10,7 @@ / { thermal-zones { - pm8150l { + pm8150l-thermal { polling-delay-passive = <100>; polling-delay = <0>; diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi b/arch/arm64/boot/dts/qcom/pm8994.dtsi index 5ffdf37d8e31..91fff1f209e0 100644 --- a/arch/arm64/boot/dts/qcom/pm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8994.dtsi @@ -6,7 +6,7 @@ / { thermal-zones { - pm8994 { + pm8994-thermal { polling-delay-passive = <250>; polling-delay = <1000>; diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qcom/pm8998.dtsi index 67283d60e2ac..6f5bb6b37ec2 100644 --- a/arch/arm64/boot/dts/qcom/pm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi @@ -9,7 +9,7 @@ / { thermal-zones { - pm8998 { + pm8998-thermal { polling-delay-passive = <250>; polling-delay = <1000>; diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qcom/pms405.dtsi index ff4005186895..172be177fc8f 100644 --- a/arch/arm64/boot/dts/qcom/pms405.dtsi +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -8,7 +8,7 @@ / { thermal-zones { - pms405 { + pms405-thermal { polling-delay-passive = <250>; polling-delay = <1000>;