From patchwork Wed May 24 23:04:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rudraksha Gupta X-Patchwork-Id: 13254614 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 3E194C77B7C for ; Wed, 24 May 2023 23:05:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236509AbjEXXFZ (ORCPT ); Wed, 24 May 2023 19:05:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236356AbjEXXFT (ORCPT ); Wed, 24 May 2023 19:05:19 -0400 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7561CA4; Wed, 24 May 2023 16:05:18 -0700 (PDT) Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-75b14216386so21392985a.0; Wed, 24 May 2023 16:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684969517; x=1687561517; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=nUSAAG9pfUB1ZTX71jFjFbloAT5u0vNKnYB6yXCHfu0=; b=bHV702UhCY4TRJGzeAncS7APMg1HomAan8iZ3h6+IvELJEmEmls9hYz/WISv4CknSM sFP2DUoyaNuIjbU1rB6fZkA8eufsKGbxunYltb/DCAiG/AabABhAZamRZ8AqS5597MRa Bh5ECtgPg4zpeelycObq6Qve50gBYNxmfH4GKLvzjzDQJzBWABmyMrChpoR/WMxVarMz u8YHS94y0mvvtO4t7hNUes/Px5R3/3pQXu7URsYMV8vI0JWiwD7t7qnDth9ZE8klpz6A Q8Gb2uWkC6cqbSP/h4lywg8zSmb+htd1qe6vjgOgQ3sCK4jUuKPal1VurqYKSczCANT2 oTxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684969517; x=1687561517; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nUSAAG9pfUB1ZTX71jFjFbloAT5u0vNKnYB6yXCHfu0=; b=YkMKqRFSpg13sCcBp+NiQAoSaOInxxp13OKQwNpkdCn951NqStKnUx+fVngklTiitT DzZfVLFKIJKUoGyA8y2hiJdeR1tWV+RtYa/mIq7N7YV+nnT1FyEPcL7ao7vItd2ZZ8/c hAVepFVjpzufxRgPDBxWvgtkvBgNdhQTxR0iUqVxPeZCEHEDCuiQ1uNLYmFAeGIEWtW7 mJSRAxKEHcbez6c5Zic2TKSNETqU3H7j52eqi8NF8AQjAwpRr4647iVTKZBZj4jmisx1 QhfrbfG6YpevQ0dbirOc9x9en9SF9ZI68DcMqGoaQVbQVa3ZowAkseAGFFewwttv5mHp /Ykw== X-Gm-Message-State: AC+VfDyTdXpkKQbwvdTWbMv6TOlI5K06904FBzyQmFs1azTCcTXzBqVh dbYT4XAJBOfXrXtvZnzGOJI= X-Google-Smtp-Source: ACHHUZ5Bs24l8Epn2wrNFBabv2Tzpalpn6WpE7byhruVeuHJkWcn1oO5NZhD/W5m/RzgutJcG1iS2g== X-Received: by 2002:a05:6214:dad:b0:625:aa1a:b6dd with SMTP id h13-20020a0562140dad00b00625aa1ab6ddmr3625488qvh.63.1684969517456; Wed, 24 May 2023 16:05:17 -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.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 16:05:17 -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 1/5] ARM: Add label to sleep_clk in qcom-msm8960.dtsi Date: Wed, 24 May 2023 19:04:54 -0400 Message-Id: <20230524230459.120681-1-guptarud@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Allows msm8960 DTS files to reference the sleep_clk node. Signed-off-by: Rudraksha Gupta --- arch/arm/boot/dts/qcom-msm8960.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom-msm8960.dtsi index 2a668cd535cc..a4d8dd2d24a6 100644 --- a/arch/arm/boot/dts/qcom-msm8960.dtsi +++ b/arch/arm/boot/dts/qcom-msm8960.dtsi @@ -71,7 +71,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>; From patchwork Wed May 24 23:04:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rudraksha Gupta X-Patchwork-Id: 13254616 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 CEF73C77B7C for ; Wed, 24 May 2023 23:05:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238271AbjEXXF1 (ORCPT ); Wed, 24 May 2023 19:05:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230136AbjEXXFV (ORCPT ); Wed, 24 May 2023 19:05:21 -0400 Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E6E9A9; Wed, 24 May 2023 16:05:20 -0700 (PDT) Received: by mail-qv1-xf34.google.com with SMTP id 6a1803df08f44-623a6c15aacso2977216d6.0; Wed, 24 May 2023 16:05:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684969519; x=1687561519; 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=BrFzx7G4H9QRCmQYSXPg0uma6wQ2uEflaOZc0x6PNfw=; b=dEEtuRpLsq6AiyU1eNLmXqJH3Xzh+W5LQnEJwuTgTTciXV39QhsSuVKuqFqFtzWYkw CSHx4pMRHYd7XGicfO3YGBf2Sxf/aaaB5IaOpCHwJWVHxkmIwdjO31v6a7nr8Hj09bvS aJ+4Mun+vMiHAf5mM/AZSCUZpuXTTWU02yYaKm+fA8jQGgAZd2AU+b2QqK30Ya2IDCc9 zQH3jTRTwealbaDLOEWDboM1j7jd3JYjJ8AXFLjONw0Q96v2AQ0XzM2hCWoWM7zyggNd rTx51tvbmXn86Y65t7pbSMul1v3Sl2HxzYUxutQ7xeRNOjVqDMM1YWcy2IMPGiTfubj2 VLKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684969519; x=1687561519; 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=BrFzx7G4H9QRCmQYSXPg0uma6wQ2uEflaOZc0x6PNfw=; b=GtqeEonaUmsMP8ERlOfsx19D5Fjnk7Lc7henZkJLjk6bRic1QmbZZ6GzH7BVPOblNM FtcGsb1YNkQNsTS4p9FAsLB1QmWSmIpBxdZPE5aCZr0s0/62zNfK6tZeRGZdjEiP0jHz 1hDXY19mxqDtaBqr+O/jd0TkZGbZI/XrJAzq3BqPUqLA8Zb3PssJzr9HfrSs5J5zfLEw z2TRykgqCqMdpP3jAuThbpTWPZVifl6oDAuRSz8i4+l8Vj/CDcV/YPY0F/hzXXiDDzN5 qJ3PEipumnQVqLLoizZYHXP69ceTcnmO2ZvQtVshioiH3/morkAPt/o4kawHC5RE6GT/ KJMQ== X-Gm-Message-State: AC+VfDyEHzWRjn3veg9hdFbG6QeYAnowVwlusUMZTq4tJ4EWKNA1YQMK Dqo38gpmcw6MY2istmCSjLE= X-Google-Smtp-Source: ACHHUZ58zHEAHPo/4ezQC9Q0V6L7v82UcEclg5MNDLSIFpxNJ6yiaIVMZ5xYMV4A84FmD1U1EOlB1Q== X-Received: by 2002:ad4:5ecc:0:b0:623:7707:5650 with SMTP id jm12-20020ad45ecc000000b0062377075650mr28892564qvb.15.1684969519151; Wed, 24 May 2023 16:05:19 -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.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 16:05:18 -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 2/5] ARM: Add samsung,expressatt to qcom.yaml Date: Wed, 24 May 2023 19:04:55 -0400 Message-Id: <20230524230459.120681-2-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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Signed-off-by: Rudraksha Gupta --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 3ffa682cd079..18ed09f359ee 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -192,6 +192,7 @@ properties: - items: - enum: - qcom,msm8960-cdp + - samsung,expressatt - const: qcom,msm8960 - items: From patchwork Wed May 24 23:04:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rudraksha Gupta X-Patchwork-Id: 13254615 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 442D2C7EE32 for ; Wed, 24 May 2023 23:05:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237673AbjEXXF0 (ORCPT ); Wed, 24 May 2023 19:05:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234697AbjEXXFX (ORCPT ); Wed, 24 May 2023 19:05:23 -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 7C987C0; Wed, 24 May 2023 16:05:22 -0700 (PDT) Received: by mail-qv1-xf35.google.com with SMTP id 6a1803df08f44-623feecfa42so1884066d6.0; Wed, 24 May 2023 16:05:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684969521; x=1687561521; 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=rW2CrKLGtfK3/WozE3DOZxbIsLBJxAAhWX283Uru4C8=; b=OzNx7BVeM42NjPViQcoCO4ICFUvFxS8vMB21jAxRG2W5JwuxVVI7ap1HWuosq1zOz0 G1bhODzV8OGn3ywWzEkvkbifK4T077CxlPBfwZyZ1GRHwIGb8sKf+MMnlTPVHYSIiXG3 xToIo9MwCZgpirGggJnD+hlK1vCirnbuQEeWuFguy85I2l5S2tqONJKzfv3oZica+6Vk zTZFUOZyAIpiAPWTuTePI9oqifI3Pu8RdFzxpxR/XJurou0l0kYG3+5An4DiDJoROeAZ 5xEd6H+m7d/HiA9MONbYJ5L265zOgzMMtv0NDBaE6SF4V1dxgMeNE6q9s+Lhu5mpq2ew a+Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684969521; x=1687561521; 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=rW2CrKLGtfK3/WozE3DOZxbIsLBJxAAhWX283Uru4C8=; b=BxQct8JjGdZqe9yjn3I/88h5erIYpJWSdE81MghbDUyT6igwJBGS7B/sS/yE+ZeE45 K7CdNlB994q1AGb88Exacw1Gw5We6C66MLfVMuUEUoM7IZl/NKPqWG7NyweHZjd8EgKu vPwrrOKg8D/4UrBrxcqG+Mzp0AQHIxoQgUE63F/Yfo3EgwfwVdH2+jksQ2eGClWOtOCb DeNTKO2iTk/OSt/ZbNPUfW9VKUh5reekT06sybgc2vsRb819csabdfFLWWO1He2M3kxO OgaVZupz7y1u2xLh37yasUHP08bZxLmmyG3Kdm74+5OWC0krycVgk8CIGYEpzRDSyu4a j09Q== X-Gm-Message-State: AC+VfDxvRMJXfGhM/5Qck3UoNUtccbCOkjKl3AgCCF90hGT/eNMkJs+t HibSpiZypHKa/UgYBEAVvoI= X-Google-Smtp-Source: ACHHUZ4dLJsDB4W6zfZKOc22p48blzwNXfAkn0aNu8ORrhXHwjJEBD0PsEXK0LHYM45YzHExiKNt6Q== X-Received: by 2002:a05:6214:c2d:b0:56e:c066:3cd2 with SMTP id a13-20020a0562140c2d00b0056ec0663cd2mr1112188qvd.2.1684969521170; Wed, 24 May 2023 16:05:21 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 16:05:20 -0700 (PDT) From: Rudraksha Gupta To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: david@ixit.cz, Rudraksha Gupta , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/5] ARM: Add qcom,usb-hs-phy-msm8960 to qcom,usb-hs-phy.yaml Date: Wed, 24 May 2023 19:04:56 -0400 Message-Id: <20230524230459.120681-3-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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Signed-off-by: Rudraksha Gupta --- Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml index aa97478dd016..6309c8e9d0b0 100644 --- a/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml @@ -40,6 +40,7 @@ properties: - qcom,usb-hs-phy-apq8064 - qcom,usb-hs-phy-msm8226 - qcom,usb-hs-phy-msm8916 + - qcom,usb-hs-phy-msm8960 - qcom,usb-hs-phy-msm8974 - const: qcom,usb-hs-phy From patchwork Wed May 24 23:04:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rudraksha Gupta X-Patchwork-Id: 13254617 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 AB070C7EE23 for ; Wed, 24 May 2023 23:05:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238258AbjEXXF2 (ORCPT ); Wed, 24 May 2023 19:05:28 -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-Google-Smtp-Source: ACHHUZ69MiLVKa+pG18DCmWDTxloknLSJKBawROXUdgxG2xILSRw3U9mIh1nK7ZUFH8l3SkFVXNHhg== 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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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>; + }; + }; + }; + }; }; From patchwork Wed May 24 23:04:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rudraksha Gupta X-Patchwork-Id: 13254618 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 82F78C7EE3A for ; Wed, 24 May 2023 23:05:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238599AbjEXXF3 (ORCPT ); Wed, 24 May 2023 19:05:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236356AbjEXXF1 (ORCPT ); Wed, 24 May 2023 19:05:27 -0400 Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 049FD99; Wed, 24 May 2023 16:05:26 -0700 (PDT) Received: by mail-qv1-xf2d.google.com with SMTP id 6a1803df08f44-6239ab2b8e0so3162126d6.0; Wed, 24 May 2023 16:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684969525; x=1687561525; 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=9Fkrwg40zFByibU887SHRzu9lXrU4GGCkV4LKKgsv0o=; b=NBt5dlYLYOiMKlATvNroYIC5v6GCkfvrcw4AsE9OCgGHRw9GkCmV8QBvkrqRJo4XHZ KvIOuwcRTtVKvP4Epg7g+cz9WPlWDLb8AKH+gDvepeNTga27MIFR38gmQRacvKBxsODV YGfDr6cXk9yeLJXPNeh3dVuZ1QZkJCGpreMrmWwJnt3a6a+kRCii8s46sskv90I3EZkc bj03p3cmoEVaFxtTzLLpg//H2z46mZB5LXfzMmpweESpsGu4cMDUx2DNSiCh5Log4D0v 4qAYIEuHELgqE7G8bZRg8FVo5EL8jvt4J/oh9qCUsCVxuAMZJlLnE+fy6Ni80jOuA/G+ 0A0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684969525; x=1687561525; 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=9Fkrwg40zFByibU887SHRzu9lXrU4GGCkV4LKKgsv0o=; b=GB0AOhkd2fK2zm3lI6YugGUGmESH5ciWKsuC+Rrr3kmeFJxsaMwZTpQPl4jJu7355T SjrB0f3ucbe6zbxWErc3vjmDVVKftBWtvbKawUjFZV+8NmD1Gzj1vN3dmq/9rBrpyZRS 0QDMumIak0mF06E88He/9wgA0F5u8zdsuq49uCVEGt/ku8cLUn3orPNBzyoNRZsDrpGN +2ANQyFBWPD+mBAR4StS9pohNrwbtjRD2sTEbwgzHJdPxqyXiK3ueQuFXQ8U9iig0/rt 8S8AGoktVEtfwhLpVCPbA3EhE3Ag7d5VspInxfdoRbdgG5f7jIOV7+eIxJ6YukX4/cc8 4GsA== X-Gm-Message-State: AC+VfDxrXv887iWwQGgKgiUT0kqP24SzHuIvrGiInIKYkis4JAZMJu9a HP+l7AdCYIUsXNFPoAyIVp4= X-Google-Smtp-Source: ACHHUZ7easojD6kVwSRgqqQBNWAe/Hctor4HwCOp+1RegE63YmQMqq/P8pWNlwfL+dzd9+TagUyHhQ== X-Received: by 2002:a05:6214:f0d:b0:625:aa49:9ab9 with SMTP id gw13-20020a0562140f0d00b00625aa499ab9mr4384894qvb.61.1684969525063; Wed, 24 May 2023 16:05:25 -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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 16:05:24 -0700 (PDT) From: Rudraksha Gupta To: Arnd Bergmann , Olof Johansson , soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio Cc: david@ixit.cz, Rudraksha Gupta , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 5/5] ARM: Add Samsung Galaxy Express support Date: Wed, 24 May 2023 19:04:58 -0400 Message-Id: <20230524230459.120681-5-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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This adds a very basic device tree file for the Samsung Galaxy Express SGH-I437. Currently, the following things work: UART, eMMC, SD Card, and USB. Signed-off-by: Rudraksha Gupta --- arch/arm/boot/dts/Makefile | 1 + .../dts/qcom-msm8960-samsung-expressatt.dts | 334 ++++++++++++++++++ 2 files changed, 335 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-msm8960-samsung-expressatt.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 59829fc90315..12c90f263142 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1081,6 +1081,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8916-samsung-grandmax.dtb \ qcom-msm8916-samsung-serranove.dtb \ qcom-msm8960-cdp.dtb \ + qcom-msm8960-samsung-expressatt.dtb \ qcom-msm8974-lge-nexus5-hammerhead.dtb \ qcom-msm8974-sony-xperia-rhine-amami.dtb \ qcom-msm8974-sony-xperia-rhine-honami.dtb \ diff --git a/arch/arm/boot/dts/qcom-msm8960-samsung-expressatt.dts b/arch/arm/boot/dts/qcom-msm8960-samsung-expressatt.dts new file mode 100644 index 000000000000..2d6f0def0589 --- /dev/null +++ b/arch/arm/boot/dts/qcom-msm8960-samsung-expressatt.dts @@ -0,0 +1,334 @@ +// SPDX-License-Identifier: GPL-2.0 +#include + +#include "qcom-msm8960.dtsi" +#include + +/ { + model = "Samsung Galaxy S3 SGH-I437"; + compatible = "samsung,expressatt", "qcom,msm8960"; + chassis-type = "handset"; + + aliases { + serial0 = &gsbi5_serial; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&gsbi5 { + status = "okay"; + qcom,mode = ; +}; + +&gsbi5_serial { + status = "okay"; +}; + +/* eMMC */ +&sdcc1 { + status = "okay"; + vmmc-supply = <&pm8921_l5>; +}; + +/* External micro SD card */ +&sdcc3 { + status = "okay"; + vmmc-supply = <&pm8921_l6>; + vqmmc-supply = <&pm8921_l7>; +}; + +&gsbi1 { + status = "okay"; + qcom,mode = ; + pinctrl-names = "default"; + pinctrl-0 = <&spi1_default>; +}; + +&gsbi1_spi{ + status = "okay"; +}; + +&msmgpio { + spi1_default: spi1_default { + mux { + pins = "gpio6", "gpio7", "gpio9"; + function = "gsbi1"; + }; + + mosi { + pins = "gpio6"; + drive-strength = <12>; + bias-disable; + }; + + miso { + pins = "gpio7"; + drive-strength = <12>; + bias-disable; + }; + + cs { + pins = "gpio8"; + drive-strength = <12>; + bias-disable; + output-low; + }; + + clk { + pins = "gpio9"; + drive-strength = <12>; + bias-disable; + }; + }; +}; + + +&rpm { + regulators { + compatible = "qcom,rpm-pm8921-regulators"; + vin_lvs1_3_6-supply = <&pm8921_s4>; + vin_lvs2-supply = <&pm8921_s4>; + vin_lvs4_5_7-supply = <&pm8921_s4>; + vdd_ncp-supply = <&pm8921_l6>; + vdd_l1_l2_l12_l18-supply = <&pm8921_s4>; + vdd_l21_l23_l29-supply = <&pm8921_s8>; + vdd_l24-supply = <&pm8921_s1>; + vdd_l25-supply = <&pm8921_s1>; + vdd_l27-supply = <&pm8921_s7>; + vdd_l28-supply = <&pm8921_s7>; + + /* Buck SMPS */ + pm8921_s1: s1 { + regulator-always-on; + regulator-min-microvolt = <1225000>; + regulator-max-microvolt = <1225000>; + qcom,switch-mode-frequency = <3200000>; + bias-pull-down; + }; + + pm8921_s2: s2 { + regulator-min-microvolt = <1300000>; + regulator-max-microvolt = <1300000>; + qcom,switch-mode-frequency = <1600000>; + bias-pull-down; + }; + + pm8921_s3: s3 { + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1150000>; + qcom,switch-mode-frequency = <4800000>; + bias-pull-down; + }; + + pm8921_s4: s4 { + regulator-always-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + qcom,switch-mode-frequency = <1600000>; + bias-pull-down; + qcom,force-mode = ; + }; + + pm8921_s7: s7 { + regulator-min-microvolt = <1150000>; + regulator-max-microvolt = <1150000>; + qcom,switch-mode-frequency = <3200000>; + bias-pull-down; + }; + + pm8921_s8: s8 { + regulator-always-on; + regulator-min-microvolt = <2050000>; + regulator-max-microvolt = <2050000>; + qcom,switch-mode-frequency = <1600000>; + bias-pull-down; + }; + + /* PMOS LDO */ + pm8921_l1: l1 { + regulator-always-on; + regulator-min-microvolt = <1050000>; + regulator-max-microvolt = <1050000>; + bias-pull-down; + }; + + pm8921_l2: l2 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + bias-pull-down; + }; + + pm8921_l3: l3 { + regulator-min-microvolt = <3075000>; + regulator-max-microvolt = <3300000>; + bias-pull-down; + }; + + pm8921_l4: l4 { + regulator-always-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + bias-pull-down; + }; + + pm8921_l5: l5 { + regulator-min-microvolt = <2950000>; + regulator-max-microvolt = <2950000>; + bias-pull-down; + }; + + pm8921_l6: l6 { + regulator-min-microvolt = <2950000>; + regulator-max-microvolt = <2950000>; + bias-pull-down; + }; + + pm8921_l7: l7 { + regulator-always-on; + regulator-min-microvolt = <1850000>; + regulator-max-microvolt = <2950000>; + bias-pull-down; + }; + + pm8921_l8: l8 { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3100000>; + bias-pull-down; + }; + + pm8921_l9: l9 { + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <2850000>; + bias-pull-down; + }; + + pm8921_l10: l10 { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + bias-pull-down; + }; + + pm8921_l11: l11 { + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <3300000>; + bias-pull-down; + }; + + pm8921_l12: l12 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + bias-pull-down; + }; + + pm8921_l14: l14 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + bias-pull-down; + }; + + pm8921_l15: l15 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2950000>; + bias-pull-down; + }; + + pm8921_l16: l16 { + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <3000000>; + bias-pull-down; + }; + + pm8921_l17: l17 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + bias-pull-down; + }; + + pm8921_l18: l18 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1500000>; + bias-pull-down; + }; + + pm8921_l21: l21 { + regulator-min-microvolt = <1900000>; + regulator-max-microvolt = <1900000>; + bias-pull-down; + }; + + pm8921_l22: l22 { + regulator-min-microvolt = <2750000>; + regulator-max-microvolt = <2750000>; + bias-pull-down; + }; + + pm8921_l23: l23 { + regulator-always-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + bias-pull-down; + }; + + pm8921_l24: l24 { + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <1150000>; + bias-pull-down; + }; + + pm8921_l25: l25 { + regulator-always-on; + regulator-min-microvolt = <1225000>; + regulator-max-microvolt = <1225000>; + bias-pull-down; + }; + + /* Low Voltage Switch */ + pm8921_lvs1: lvs1 { + bias-pull-down; + }; + + pm8921_lvs2: lvs2 { + bias-pull-down; + }; + + pm8921_lvs3: lvs3 { + bias-pull-down; + }; + + pm8921_lvs4: lvs4 { + bias-pull-down; + }; + + pm8921_lvs5: lvs5 { + bias-pull-down; + }; + + pm8921_lvs6: lvs6 { + bias-pull-down; + }; + + pm8921_lvs7: lvs7 { + bias-pull-down; + }; + + pm8921_ncp: ncp { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + qcom,switch-mode-frequency = <1600000>; + }; + }; +}; + +&usb_hs1_phy { + v3p3-supply = <&pm8921_l3>; + v1p8-supply = <&pm8921_l4>; +}; + +&usb1 { + status = "okay"; + dr_mode = "otg"; +}; +