Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp193751rwd; Wed, 24 May 2023 16:36:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ElQUnVtem/nF58PP4iuyp5gkWJr7YmsH1ZmUDT4UEqQshoWLZAP259OnpbF6Wd+/752rH X-Received: by 2002:a17:902:e808:b0:1a1:cb18:7f99 with SMTP id u8-20020a170902e80800b001a1cb187f99mr943532plg.30.1684971366721; Wed, 24 May 2023 16:36:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684971366; cv=none; d=google.com; s=arc-20160816; b=UGcwscdN9ZEzMOxsw7gBoMeTI+iooR1nJ4zHu9yMFOl1jcPghcvfRqVG4A0eb+tye+ rD6VB1ynh5Hvu5Min+1oAvR4JOTsJ7qO1INjQUrZW0sUHFtZI7KmtyWKfTz9RLIypWS6 nngvPu8KZm8c/NRDgh6w8W+qNJWzMivZ0diAIReWBz83sGNPMH2knM0edXb4tj4ckI+y 5e0eNqu1aEU/v/0/gA4Pu3GgGSZ4CmHXghuSSz3dWm4wI/sEedac6Mck/fQFQxrrEUWn zkZRc3IJPps7y8m77TbtGb1ymoT3COql9USv9pmE6au0MT3I16TajfXZ+gi/lbQqWiJY 5LIQ== 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=d4GI9mhEsvaLybeUdgU7X1HdrEKhJkxPJObS9ygc9RM=; b=0j56CHrOliRRk2m+50Vlb1OI8Vh6rNo/RwxQG3utMMPGWtk43PjZCXJt6D0UiM92if dV2t0A65P480heUfVdmBpnIO3dSOZ1Y7KtL8F3XlUYTE17XR8oMW2F8jL27LXbLHIuyX pvHAAE/6uIX+03L/XQUc/zsZZ5RvSo9tIUTyFJ/QwibYp9B0sVa2Psujn2b+5zozzpF9 OmFDWl7BKmbFxl1ZjbW7uzEJptszv3y7UnzYtgb0IEVsWaadVFPR02Crrup/UU+zrPZP Uhaan/4aHQrydp45hca6nREPzI6IT+XbiVrusVoX9HmQN1mn/KU4NVNXBSITdjbu5qqK zabA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=rOmcd5Oq; 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 x16-20020a1709027c1000b001a05a78f952si44441pll.272.2023.05.24.16.35.48; Wed, 24 May 2023 16:36:06 -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=rOmcd5Oq; 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 S238706AbjEXXFe (ORCPT + 99 others); Wed, 24 May 2023 19:05:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237067AbjEXXFY (ORCPT ); Wed, 24 May 2023 19:05:24 -0400 Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADE33C5; Wed, 24 May 2023 16:05:23 -0700 (PDT) Received: by mail-qv1-xf35.google.com with SMTP id 6a1803df08f44-625bb54004dso209246d6.1; Wed, 24 May 2023 16:05:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684969523; x=1687561523; 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=d4GI9mhEsvaLybeUdgU7X1HdrEKhJkxPJObS9ygc9RM=; b=rOmcd5OqwuATj4gWmBaUaZM0fcu7p+tkhTEDK3pF8+jUwh+Uds7w44wTEV+kHZ6b7J KA8Qyjyv1mwVvbvFZdA50jr36maTqqatuevx+DyBXGK3bGw+PMiEi6MFccqcAVEqIDQ6 MKv2iOAp2XpDbs2LQEXM/wR2mYJ96nTOZ9lQgiaKgaqoFB3mSDykq3AEsMehHIVo2ntw oyE/T7JegOVIKVfr1x7FarXmFoPjfjTw8Oq8eUviGV89DxXUTHARGTan/LjLA5nZqYWW 7Zmjo05+LGNRR3jf8d7L8W5etI+Z2KIoVeFOO2tBcemOPAoXP+XIubGkSjBUvJgCDNUI 5JIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684969523; x=1687561523; 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=d4GI9mhEsvaLybeUdgU7X1HdrEKhJkxPJObS9ygc9RM=; b=TFIFESp3mCmCzZBlPWWl3v8LPR9ZzLbhlw58CxwCBeQCeI4f3uuKXSsheE7D0ZDjbX Y1WKMpQsmbl1M4YZgiKNLDNcyhmL+ZCt/E0sYnNrDY4NnCrugdZoAgOnDTf13enD4b3g XsnHtzKKIyS7j4RcAcckXkpi8x4mVp26Dky8owi9tPmI6+wCff10RRzEte/9y2pNUFXv MsuxvJx8jCcf6o4sYlfb5ahVzD8Dw/pGuEOHg+Gpv6wDEXJc/uAWMGmLLduMangQr3Yg dvUZrxWUNymauCFp5jSe3z1df1qfJz8BlY0rntg0+WRgpmgT63+nULc1Lm90xpK84HBW KwDw== X-Gm-Message-State: AC+VfDwgoukKg5JlB3n1NB17aFf0UDSrYEOVRsuEjbu05vEbqltRXz5F quQMuA8G/CKOXn4BWRkJDeU= X-Received: by 2002:a05:6214:2243:b0:623:8818:197e with SMTP id c3-20020a056214224300b006238818197emr1235979qvc.21.1684969522764; Wed, 24 May 2023 16:05:22 -0700 (PDT) Received: from Latitude-E6420.mynetworksettings.com ([2600:4040:2007:9800:650f:ad8b:38f6:d091]) by smtp.gmail.com with ESMTPSA id ea15-20020ad458af000000b0062075f40f61sm3914019qvb.73.2023.05.24.16.05.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 16:05:22 -0700 (PDT) From: Rudraksha Gupta To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: david@ixit.cz, Rudraksha Gupta , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] ARM: Blindly copy the usb node from apq8064.dtsi Date: Wed, 24 May 2023 19:04:57 -0400 Message-Id: <20230524230459.120681-4-guptarud@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230524230459.120681-1-guptarud@gmail.com> References: <20230524230459.120681-1-guptarud@gmail.com> 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 apq8064 and msm8960 are extremely similar SoCs. Therefore copying this from the apq8064 dtsi file should not be a problem. Tested this on the Samsung Galaxy Express and this works. Signed-off-by: Rudraksha Gupta --- arch/arm/boot/dts/qcom-msm8960.dtsi | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom-msm8960.dtsi index a4d8dd2d24a6..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 @@ -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