Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1439098rwd; Sat, 27 May 2023 18:06:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7iL88mz5Qi5RYU+FPPlb1I5UGQKAh+E0tjD8rC7j1Mk9G1A76Cp6I6TfmeUgJ6ndEztiV0 X-Received: by 2002:a17:903:2281:b0:1af:d724:63ed with SMTP id b1-20020a170903228100b001afd72463edmr8992681plh.42.1685236000860; Sat, 27 May 2023 18:06:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685236000; cv=none; d=google.com; s=arc-20160816; b=M/KAhg27DbQogpNTapwO0kZvndEyJkJzn1IrXEk7uHSAlPePqJg8/iOFQ98/u8mLkX TdxEvXqbtLyO+ocbg14eTVQv86Pvqn2g0DO+adCZBw8LP5IuLparmuJn4Lv63Hblzg7W oHbqhBa0Je4hsbtNyT8yC2J1J3qa5xX6yX6OGeHEnX+tQTkf1FUyUw4F5MSCARQ3SOMT jwzqhM5T7QnNxrURqU3+W8MmDpCLpM5os/RY6uTcUnhJSC34HVt2eDD3YTS3Som6tEOy 53ThlYudajFd8OOKUVDgNu9vEqwXbYtjAuVAsDMQ/sw+dxY1M4KMOU2+7jSau5JLrGHU A90g== 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=yxL0PbJXvl5Whcio0hte+d8fY5qOd/JOohZDFbRWZJ4=; b=hhhsJM3+tjsvQZmxUSdSARpc+LSdgQ87AAbui0OZh8DvbRf2K2DMzmPmP+PvC/IAmQ PU1Syb1yh5ozEynXH9OkZgXscF7ew7eW0ZXtQffFhaYpFiDpmRcZaxqmr4+x0NoZABJK YeE3grjm32xRHlbR3lbbZnhkCAIlJV+XQdjCY5jreM8oW+aMVfzAIk5dqHltrCl3WYfA ytoJMdin0vMjQYb6ddqtg07omCHcKuPze8Lnb5Y1KRqjCcC/BK1NpdnO8JhimAzMcT9F LxLUVcSguTFsoyVNU3xy2RTA2cqVQfeYcQ8kJHlUbEyb5ujmbuWOXaRpqeb8lKeBZYa3 DZ0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ZZf0VXNq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t9-20020a1709028c8900b001ab1a00d95dsi538391plo.250.2023.05.27.18.06.28; Sat, 27 May 2023 18:06:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ZZf0VXNq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229572AbjE1ALH (ORCPT + 99 others); Sat, 27 May 2023 20:11:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229547AbjE1ALC (ORCPT ); Sat, 27 May 2023 20:11:02 -0400 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8454ED; Sat, 27 May 2023 17:10:55 -0700 (PDT) Received: by mail-qt1-x830.google.com with SMTP id d75a77b69052e-3f767eec104so19804071cf.1; Sat, 27 May 2023 17:10:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685232654; x=1687824654; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yxL0PbJXvl5Whcio0hte+d8fY5qOd/JOohZDFbRWZJ4=; b=ZZf0VXNqrJ97iOah24XtxGRQ+EiZBEv589J8AQxLmizYrOXqjWvRuI1qkByCN07IVg YpSc2FTzEqgjYOj4s2rWC0kTI3gu3BZqUEEC4oiI+QL8MTiDCZICcWwB5LBAHv8+O8Zq 5fLej0veV/XEhL4Awp5YJJp+N7kGlOKT7WMIWTZ9l8vRLOHyjmCAbvH9YArUSQLtEP4s +80BBmax7JvN62XBiebRvyFP5Durzlbi0byoEWdWVeb5iZzmCiiGV8q4LR+ucld6DATW ZtRUeHrptU9KL4zrrz6lJ98lO3BhY7XGM+3xTiHfdn+LWSUiKGW/G3c2woApdZi3PG9g /JaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685232654; x=1687824654; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yxL0PbJXvl5Whcio0hte+d8fY5qOd/JOohZDFbRWZJ4=; b=iB8dR02/m1TiBmr2zwZr/7s3w9Alj4rBopM/CviFwa5ACYsiKCuipqAM4jEOfve4IR fz5+RgWkJrjuafR0YSpFwHBNDEUFEB7eDE2IHZfZKJa4GLqCokURjngT33d02mnhbjxk 8yORlnVa9FGC5TfPxvzNxnoNIY3CwCRqkb4sxt/DgytZ5/aDuBLaU53KS0LseKiWKXGb ISFoVeYEfa1ULFOZmmiD4aHBO/LlCA+S/8PtGDGHhy3fJrHKUvrwui93R+Ol7OnaR9sc 8zqhJQfvTJdvSL06iOtiLefxppyl3YrOawI928GMKhN70XTqg57rEtl9+HQoExRZQpJ7 ml5A== X-Gm-Message-State: AC+VfDwrTvTipF9ao7U0g6isyFWRm8SA0Y/jyUY1mpcQQYZ71LEw0KUt XEYKc/P7rlJm52PpzfC0FNV0BsLlAMNqsg== X-Received: by 2002:ac8:5795:0:b0:3f7:fd1f:9e4c with SMTP id v21-20020ac85795000000b003f7fd1f9e4cmr6901176qta.2.1685232653901; Sat, 27 May 2023 17:10:53 -0700 (PDT) Received: from Latitude-E6420.mynetworksettings.com ([2600:4040:2007:9800:28b2:2867:6311:b7d0]) by smtp.gmail.com with ESMTPSA id t18-20020ac865d2000000b003f6a7ab1450sm2518454qto.30.2023.05.27.17.10.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 May 2023 17:10:53 -0700 (PDT) From: Rudraksha Gupta To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Arnd Bergmann , Olof Johansson , soc@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Rudraksha Gupta Subject: [PATCH v2 3/4] ARM: dts: qcom: msm8960: Add USB node Date: Sat, 27 May 2023 20:10:08 -0400 Message-Id: <20230528001010.47868-4-guptarud@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230527040905.stmnoshkdqgiaex6@ripper> References: <20230527040905.stmnoshkdqgiaex6@ripper> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the required nodes to support USB on the MSM8960 SoC. As it's very similar to the APQ8064 SoC, the nodes are almost identical Add a label to sleep_clk for the USB node to reference Signed-off-by: Rudraksha Gupta --- arch/arm/boot/dts/qcom-msm8960.dtsi | 35 ++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom-msm8960.dtsi index 2a668cd535cc..b11e606440cd 100644 --- a/arch/arm/boot/dts/qcom-msm8960.dtsi +++ b/arch/arm/boot/dts/qcom-msm8960.dtsi @@ -3,6 +3,7 @@ #include #include +#include #include #include #include @@ -71,7 +72,7 @@ pxo_board: pxo_board { clock-output-names = "pxo_board"; }; - sleep_clk { + sleep_clk: sleep_clk { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <32768>; @@ -370,5 +371,37 @@ gsbi1_spi: spi@16080000 { status = "disabled"; }; }; + + usb1: usb@12500000 { + compatible = "qcom,ci-hdrc"; + reg = <0x12500000 0x200>, + <0x12500200 0x200>; + interrupts = ; + clocks = <&gcc USB_HS1_XCVR_CLK>, <&gcc USB_HS1_H_CLK>; + clock-names = "core", "iface"; + assigned-clocks = <&gcc USB_HS1_XCVR_CLK>; + assigned-clock-rates = <60000000>; + resets = <&gcc USB_HS1_RESET>; + reset-names = "core"; + phy_type = "ulpi"; + ahb-burst-config = <0>; + phys = <&usb_hs1_phy>; + phy-names = "usb-phy"; + status = "disabled"; + #reset-cells = <1>; + + ulpi { + usb_hs1_phy: phy { + compatible = "qcom,usb-hs-phy-msm8960", + "qcom,usb-hs-phy"; + clocks = <&sleep_clk>, <&cxo_board>; + clock-names = "sleep", "ref"; + resets = <&usb1 0>; + reset-names = "por"; + #phy-cells = <0>; + }; + }; + }; + }; }; -- 2.34.1