From patchwork Fri Feb 2 13:36:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wasim Nazir X-Patchwork-Id: 195870 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp438019dyc; Fri, 2 Feb 2024 05:51:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHmyFKrL0PRhk8XneSb2BynK1266GILRBJsIFDNfBWQGu3VuNxyrwb06YKp8ZPf5f9nuzKy X-Received: by 2002:a05:6358:9226:b0:177:afce:b12 with SMTP id d38-20020a056358922600b00177afce0b12mr5691849rwb.31.1706881879912; Fri, 02 Feb 2024 05:51:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706881879; cv=pass; d=google.com; s=arc-20160816; b=YHPH7mW5bIqlU5Fz6vlWLD+D/585o4GMf3/ky4wP7p8JjzVo/64U57k4sRtEM3f8no TkaPVnL6ahnZ4NDXyt3t/5rOJkBDrIkbPljg828dmiC2EBQ3nTSmBx/ir3PojXcqZRch B4LmVXIXWDHoCvXabPNklMVacvgoHyUIdPJbtpxe8aKQzMaIrO5snYpV74AplO5VPLB7 mNd15HQEikyKr87tf/8F94f0ZTd1rEZt4NytNMXV1P2Nz4Enw+QRmb7MEwSVxlfLHRSS bb4a+QCrsuiB+6YvcrV1Y7dRkLnoGOSqVJv9HShyTJCXRJsJHpkWTC6rpjGr/J2yk0wh XOtg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=jwi1ohAHup9rpeu+6saKPHEDzHPkxr/nJPS1uNomeBw=; fh=h8nQLeehcRPpPrtuO7E0u/njGhM2Gz1NiOYlo4BbOIo=; b=wlDCWPOno9kbWI5UX+kb0DE91Fbx0YI09/dWEkyxWCcj+GvphXthoyfZesDuibM+xR Oa1wyiAkqMZ0mtezQN92Bkw2JPS9wNJY14FfDUOuWTqTIbXg8P6fkxpobbgPgw14Ue4U SS6TTMiS6/U3qT0zZmJHDi0TmWzVO1isvbu6eddJTMWvY4bngMI1LNmsdMHxT/Ju2Wne 7XQl5n/RluNaNS1AltrxmnCvZIPPDzmh3IQZW0gTj3e2xuTpLTrSL8oDdYqhnD1jWoxb tvYZgFW+goYXs1mCd6KGR6SYre1GjQFMUrkGJU7SXEG5O10UqD/M6lO7CGPWHwLa4ypC mKew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HZaaON53; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-49908-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49908-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCXcShpKa+6o9V8bFmpBVmvJfReTIMAI724GgW2yiWAPqqa4k1LEAylgYNmriNoXccmsRff/NvOGf8NpbM2TUOcWTNU67g== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id r3-20020a63e503000000b005db9566a62fsi1638027pgh.697.2024.02.02.05.51.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 05:51:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49908-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HZaaON53; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-49908-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49908-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id DC2C4B243B9 for ; Fri, 2 Feb 2024 13:37:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8033F77654; Fri, 2 Feb 2024 13:36:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="HZaaON53" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A09242AB9; Fri, 2 Feb 2024 13:36:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706881015; cv=none; b=Sy6pR0OCkUURn7rYteLmGcUj6W66tift1Dbiw+drbBJitp3pVGWwBbYBCY1ut16xyrbWWdTWa1WJN+mKsQ5By0lV3CoIdY303x+tSOwFe07XWU4GxN0/qYl+rX6J7I15nJC9qpzSpCvS5QYEpfWrvyiVm4MefBLcgnQlc7d1Cts= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706881015; c=relaxed/simple; bh=NXmNEuZ+lk7CVgF94lrr8W6BJend42DqU15RZ2Qt4SQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=r6raUFC3GWVavZk64Ybi4K5e5LdhvDu0EehZMHtcj14+8BOTdvjxL99IxKBI4vp/oE+sCDrao/heOdebgmx9mLwCVeIHcssYOngCOk/5IDtQ7UcuYs7Qb7MFSECPCmQVnQ9/IPDO0EAX12kS9aeyzdT/ADcOvLKnegsOGSigjRs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=HZaaON53; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4129sJ3D017314; Fri, 2 Feb 2024 13:36:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=qcppdkim1; bh=jwi1ohA Hup9rpeu+6saKPHEDzHPkxr/nJPS1uNomeBw=; b=HZaaON53wKzGUCb5JYFXVjw fc4OE0apHjEIihFWQi5ap2tmWFcossuTYrAu7JtKTEEvkWyNeb1mlbbxnDMo+mlS rYC3a6iNZnx77WNniiaB3z3E7ziQ8hyA6Tr4keZ775ZDVxmedDbTvSu6Xejoy11/ BOF6E8Fb/EaYZoZ8hecxCoW95rECnBrKGujDq2DEjtsBtg8beqpOdsroHVFhoTf4 cZ4SqcKwCUx+XX4tIA9Gz8csnkBbZnS0EPOYUJ3hmCfZgsKCTbiFZegT6/Ds3B93 lhJuGQ6J/RtucInwnAoRn/M+GUYQKYS13KeS0oO5sB2aBfUlmKeaJ3nZtOyxVsg= = Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w0pwm1fak-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 02 Feb 2024 13:36:49 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 412DajGk017959; Fri, 2 Feb 2024 13:36:45 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3vvtwm3wsx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 02 Feb 2024 13:36:45 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 412DajPk017936; Fri, 2 Feb 2024 13:36:45 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-wasimn-hyd.qualcomm.com [10.147.242.220]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 412DajwD017932; Fri, 02 Feb 2024 13:36:45 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 3944840) id CC37050094A; Fri, 2 Feb 2024 19:06:43 +0530 (+0530) From: Wasim Nazir To: andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@quicinc.com, Wasim Nazir Subject: [PATCH 1/3] dt-bindings: arm: qcom: Document rb5gen2-hdk board Date: Fri, 2 Feb 2024 19:06:36 +0530 Message-ID: <20240202133638.4720-2-quic_wasimn@quicinc.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240202133638.4720-1-quic_wasimn@quicinc.com> References: <20240202133638.4720-1-quic_wasimn@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Yh_WYrsOcF8RSRqTVpDt1nYAp4UE53CE X-Proofpoint-ORIG-GUID: Yh_WYrsOcF8RSRqTVpDt1nYAp4UE53CE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-02_07,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 phishscore=0 priorityscore=1501 malwarescore=0 clxscore=1011 bulkscore=0 adultscore=0 mlxscore=0 mlxlogscore=724 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402020098 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789795373765042913 X-GMAIL-MSGID: 1789795373765042913 Document board bindings for Rb5 gen2 hardware development kit. Rb5gen2-HDK is using Rb5 gen2 SOM which is based on QCS8550 SoC. RB5gen2-HDK is development kit used for IOT solutions. Signed-off-by: Wasim Nazir --- 2.43.0 diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 9cee874a8eae..ce5b5dfe0e46 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -104,6 +104,7 @@ description: | qcp qrd rb2 + rb5gen2-hdk ride sbc x100 @@ -915,6 +916,14 @@ properties: - const: qcom,qcm8550 - const: qcom,sm8550 + - items: + - enum: + - qcom,qcs8550-rb5gen2-hdk + - const: qcom,qcs8550-rb5gen2 + - const: qcom,qcs8550 + - const: qcom,qcm8550 + - const: qcom,sm8550 + - items: - enum: - qcom,sa8155p-adp From patchwork Fri Feb 2 13:36:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wasim Nazir X-Patchwork-Id: 195868 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp431766dyc; Fri, 2 Feb 2024 05:39:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IG7VxQXSOtda+21eS+QqAq8+3O9/KUJ81hvELnMvQWkO3w9ez7xzUaRO3K3q869OXxM2idN X-Received: by 2002:a17:902:684f:b0:1d9:72a5:53e9 with SMTP id f15-20020a170902684f00b001d972a553e9mr1289193pln.64.1706881174888; Fri, 02 Feb 2024 05:39:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706881174; cv=pass; d=google.com; s=arc-20160816; b=WKh4vb+Wa0TA+xx1sJdF+cYWszRYvyPTr2zeT0RZltxWE0nXJzx1YzsWxKvD6iUjCs 7e5K0XpZ1A54B2/OTxXjzEn2154CoH6chaCvfApRm21YrzCscEiG73dt2l0ZYcNN2aZf z88yxw+nCOoAluoLC1JFUafhlgrXCJX0J85oLFsL5pKHcg60uKOQGLZFcx/6reOQv9dn s2HuaMzHkJw0FckvugZ5J+f72ql7hq4pUTYY4LLVvFxARSUS9YmNrXk4x7utBKt/19vs iW4CDsVJM0U20mioDIB5GfX4DJ1OROm6CwFy5PJ5XY77ILx82WAnW/lkjiU8xCNi5flF 7/EQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Nc0zO5IhGWccGFJnhGwZfWxpFR99bZVsQBRq7Fa5xRY=; fh=ZVHSV8BmEPqPcmUPleAbsf2S4H6PNfW22ioQoVqjp3o=; b=AmbjNGb9EyGoR3HIDNQZxHHZMaMOZIuwAtWxIA8at5WeiaKOav5cwJadHr9QNA0M0L OQKdE6u5EnhcY4tCxXxYOkK/oFDGA9nnLNEsmApfmCnWF87c4uHzWd7nvs1Zku2GgOxn wSo/AkDdWGzqhv31Ftpsn55BS5F5qwgitW155SCUyoijgHJ16Fl5Zqfg7HfNWvXYnTFH MjjlN+49bG3Q9mtj65Zb1VcX27M+0PnxeRmPx2RdSoxHLJis8oqOyYN9e05PF1+O8QNx ORJs8C1HOTP+Kw6n8EDg8BUxFmH4tX87Vgb+hw7KAMa3ZQXX1Jw9lFyQ+G4VmX0pYMMK N9lw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fsLnkmr3; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-49911-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49911-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCXpD/TQ8L6B2zeA8+JheL47Zln31Lcgp8LEOWw7NLFO4iEBMlY0Pae8bLU/KNVDUXgjSFFidRuBg14I16iLXhmWC3n+EA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id n2-20020a170902d2c200b001d8e5f986a9si1751496plc.260.2024.02.02.05.39.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 05:39:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49911-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fsLnkmr3; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-49911-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49911-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id EABA428C815 for ; Fri, 2 Feb 2024 13:38:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 86CE5144612; Fri, 2 Feb 2024 13:37:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="fsLnkmr3" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 14F2E4778E; Fri, 2 Feb 2024 13:37:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706881042; cv=none; b=FbXvTitG/j4tgfJSMQ5FGPvD80Qd7DaFTUcEsAORzHxp7cJIdUylOkXDqq5me/NLF2uRJlONR2ioZ2ERkLJxlNoocplr+VVnYSAqOXKLvQL1AM4J//rJTbgUA2rhXHkv7dzQipliSPZJ7l0GxHeAITvzfiBELA4lsG2qqx2UZ/Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706881042; c=relaxed/simple; bh=uTrv0HYp2bDgDyKYE1WM3HNKNXnILDZVXcpyZiWYbQg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YG0kFomzcpbJ0ZT1ZCjPrnBovR0WUrVKHGR4mvgpg4x48SMybroGopvV567jb36k7D+iqs0P3RFNwPzwMNS2GUxO3YVMT7HTUKUOHGusAMYesfCHhw3Io3nw/lJvENIXz8HH3MoXbRhbr0EhUBYunwGfrYzxt3wX5XT9sZWFHUI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=fsLnkmr3; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4121jWgm009600; Fri, 2 Feb 2024 13:37:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=qcppdkim1; bh=Nc0zO5I hGWccGFJnhGwZfWxpFR99bZVsQBRq7Fa5xRY=; b=fsLnkmr3FeUvNfIxD3fjiX7 fiFnVZD0mkNvjyHc82V6CJzNxI3kJzioDr2vDsVb2F8UBG2q5XX3iIBOQQ+cwkv3 0JnXKWM9GS0TTe4E+pay5g8fctQ4iVFJswLYXSjk9dYzTTVlM/rcg07MIAIOn2ZC mP6kdcHHjR+RjiL7TT6gIYA7CTlVc31fw+XTVRbCrqseK2I9KXOJmlHgE7Ms+iqc 7BN6Vn3htKxCyGsa21PXJx6bBlC4ZX+9QinbTuvZACEF7k4JnZsfgG3QP6+1pDf0 qwN0LNZ0FL0iMp2cditxv2DL3lBg+YuZkq8pPKCoNgPUJvwEElUow6YiO/YbVnw= = Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w0ptv1g1b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 02 Feb 2024 13:37:16 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 412Dajq7017957; Fri, 2 Feb 2024 13:36:45 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3vvtwm3wsw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 02 Feb 2024 13:36:45 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 412Daj3I017934; Fri, 2 Feb 2024 13:36:45 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-wasimn-hyd.qualcomm.com [10.147.242.220]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 412DajPE017931; Fri, 02 Feb 2024 13:36:45 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 3944840) id CE94050094D; Fri, 2 Feb 2024 19:06:43 +0530 (+0530) From: Wasim Nazir To: andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@quicinc.com, Wasim Nazir Subject: [PATCH 2/3] arm64: dts: qcom: Add initial support for rb5gen2 SOM Date: Fri, 2 Feb 2024 19:06:37 +0530 Message-ID: <20240202133638.4720-3-quic_wasimn@quicinc.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240202133638.4720-1-quic_wasimn@quicinc.com> References: <20240202133638.4720-1-quic_wasimn@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: hYeDCpcEbqiNUFu8ATscYZ0Fukiw-l4J X-Proofpoint-GUID: hYeDCpcEbqiNUFu8ATscYZ0Fukiw-l4J X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-02_08,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 impostorscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 clxscore=1015 spamscore=0 phishscore=0 adultscore=0 mlxscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402020100 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789794634633311374 X-GMAIL-MSGID: 1789794634633311374 Rb5gen2 SOM is based on QCS8550 SoC, used for Rb5gen2 HDK. This initial version describes regulators & ufs storage. On-board components: - Qualcomm QCS8550 SoC - LPDDR5, 12 GiB - UFS3.1, 128 GiB On-board PMICs: - PM8550VS - PM8550VE - PM8550 - PM8550BH - PMK8550 Signed-off-by: Wasim Nazir --- 2.43.0 diff --git a/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2.dtsi b/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2.dtsi new file mode 100644 index 000000000000..6e2a644f3f7c --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2.dtsi @@ -0,0 +1,438 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include +#include "qcm8550.dtsi" +#include "pm8550.dtsi" +#include "pm8550b.dtsi" +#define PMK8550VE_SID 5 +#include "pm8550ve.dtsi" +#include "pm8550vs.dtsi" +#include "pmk8550.dtsi" + +&apps_rsc { + regulators-0 { + compatible = "qcom,pm8550-rpmh-regulators"; + qcom,pmic-id = "b"; + + vdd-l1-l4-l10-supply = <&vreg_s6g_1p86>; + vdd-l2-l13-l14-supply = <&vreg_bob1>; + vdd-l5-l16-supply = <&vreg_bob1>; + vdd-l6-l7-supply = <&vreg_bob1>; + vdd-l8-l9-supply = <&vreg_bob1>; + vdd-l11-supply = <&vreg_s4g_1p25>; + vdd-l12-supply = <&vreg_s6g_1p86>; + vdd-l15-supply = <&vreg_s6g_1p86>; + vdd-l17-supply = <&vreg_bob2>; + + vreg_bob1: bob1 { + regulator-name = "vreg_bob1"; + regulator-min-microvolt = <3296000>; + regulator-max-microvolt = <3960000>; + regulator-initial-mode = ; + }; + + vreg_bob2: bob2 { + regulator-name = "vreg_bob2"; + regulator-min-microvolt = <2720000>; + regulator-max-microvolt = <3960000>; + regulator-initial-mode = ; + }; + + vreg_l1b_1p8: ldo1 { + regulator-name = "vreg_l1b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vreg_l2b_3p0: ldo2 { + regulator-name = "vreg_l2b_3p0"; + regulator-min-microvolt = <3008000>; + regulator-max-microvolt = <3008000>; + regulator-initial-mode = ; + }; + + vreg_l5b_3p1: ldo5 { + regulator-name = "vreg_l5b_3p1"; + regulator-min-microvolt = <3104000>; + regulator-max-microvolt = <3104000>; + regulator-initial-mode = ; + }; + + vreg_l6b_1p8: ldo6 { + regulator-name = "vreg_l6b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3008000>; + regulator-initial-mode = ; + }; + + vreg_l7b_1p8: ldo7 { + regulator-name = "vreg_l7b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3008000>; + regulator-initial-mode = ; + }; + + vreg_l8b_1p8: ldo8 { + regulator-name = "vreg_l8b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3008000>; + regulator-initial-mode = ; + }; + + vreg_l9b_2p9: ldo9 { + regulator-name = "vreg_l9b_2p9"; + regulator-min-microvolt = <2960000>; + regulator-max-microvolt = <3008000>; + regulator-initial-mode = ; + }; + + vreg_l10b_1p8: ldo10 { + regulator-name = "vreg_l10b_1p8"; + regulator-min-microvolt = <1620000>; + regulator-max-microvolt = <1980000>; + regulator-initial-mode = ; + }; + + vreg_l11b_1p2: ldo11 { + regulator-name = "vreg_l11b_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1504000>; + regulator-initial-mode = ; + }; + + vreg_l12b_1p8: ldo12 { + regulator-name = "vreg_l12b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vreg_l13b_3p0: ldo13 { + regulator-name = "vreg_l13b_3p0"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-initial-mode = ; + }; + + vreg_l14b_3p2: ldo14 { + regulator-name = "vreg_l14b_3p2"; + regulator-min-microvolt = <3200000>; + regulator-max-microvolt = <3200000>; + regulator-initial-mode = ; + }; + + vreg_l15b_1p8: ldo15 { + regulator-name = "vreg_l15b_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vreg_l16b_2p8: ldo16 { + regulator-name = "vreg_l16b_2p8"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-initial-mode = ; + }; + + vreg_l17b_2p5: ldo17 { + regulator-name = "vreg_l17b_2p5"; + regulator-min-microvolt = <2504000>; + regulator-max-microvolt = <2504000>; + regulator-initial-mode = ; + }; + }; + + regulators-1 { + compatible = "qcom,pm8550vs-rpmh-regulators"; + qcom,pmic-id = "c"; + + vdd-l1-supply = <&vreg_s4g_1p25>; + vdd-l3-supply = <&vreg_s4e_0p95>; + + vreg_l1c_1p2: ldo1 { + regulator-name = "vreg_l1c_1p2"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1300000>; + regulator-initial-mode = ; + }; + + vreg_l3c_0p9: ldo3 { + regulator-name = "vreg_l3c_0p9"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <912000>; + regulator-initial-mode = ; + }; + }; + + regulators-2 { + compatible = "qcom,pm8550vs-rpmh-regulators"; + qcom,pmic-id = "d"; + + vdd-l1-supply = <&vreg_s4e_0p95>; + vdd-l2-supply = <&vreg_s4e_0p95>; + + vreg_s4d_0p628: smps4 { + regulator-name = "vreg_s4d_0p628"; + regulator-min-microvolt = <572000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + + vreg_s5d_0p728: smps5 { + regulator-name = "vreg_s5d_0p728"; + regulator-min-microvolt = <465000>; + regulator-max-microvolt = <815000>; + regulator-initial-mode = ; + }; + + vreg_l1d_0p88: ldo1 { + regulator-name = "vreg_l1d_0p88"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <920000>; + regulator-initial-mode = ; + }; + + vreg_l2d_0p752: ldo2 { + regulator-name = "vreg_l2d_0p752"; + regulator-min-microvolt = <752000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + }; + + regulators-3 { + compatible = "qcom,pm8550vs-rpmh-regulators"; + qcom,pmic-id = "e"; + + vdd-l1-supply = <&vreg_s4e_0p95>; + vdd-l2-supply = <&vreg_s4e_0p95>; + vdd-l3-supply = <&vreg_s4g_1p25>; + + vreg_l1e_0p88: ldo1 { + regulator-name = "vreg_l1e_0p88"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <880000>; + regulator-initial-mode = ; + }; + + vreg_l2e_0p9: ldo2 { + regulator-name = "vreg_l2e_0p9"; + regulator-min-microvolt = <904000>; + regulator-max-microvolt = <970000>; + regulator-initial-mode = ; + }; + + vreg_l3e_1p2: ldo3 { + regulator-name = "vreg_l3e_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + vreg_s1e_0p728: smps1 { + regulator-name = "vreg_s1e_0p728"; + regulator-min-microvolt = <675000>; + regulator-max-microvolt = <832000>; + regulator-initial-mode = ; + }; + + vreg_s3e_0p752: smps3 { + regulator-name = "vreg_s3e_0p752"; + regulator-min-microvolt = <752000>; + regulator-max-microvolt = <795000>; + regulator-initial-mode = ; + }; + + vreg_s4e_0p95: smps4 { + regulator-name = "vreg_s4e_0p95"; + regulator-min-microvolt = <904000>; + regulator-max-microvolt = <984000>; + regulator-initial-mode = ; + }; + + vreg_s5e_1p08: smps5 { + regulator-name = "vreg_s5e_1p08"; + regulator-min-microvolt = <1080000>; + regulator-max-microvolt = <1120000>; + regulator-initial-mode = ; + }; + + vreg_s6e_0p728: smps6 { + regulator-name = "vreg_s6e_0p728"; + regulator-min-microvolt = <675000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + }; + + regulators-4 { + compatible = "qcom,pm8550ve-rpmh-regulators"; + qcom,pmic-id = "f"; + + vdd-l1-supply = <&vreg_s4e_0p95>; + vdd-l2-supply = <&vreg_s4e_0p95>; + vdd-l3-supply = <&vreg_s4e_0p95>; + + vreg_l1f_0p9: ldo1 { + regulator-name = "vreg_l1f_0p9"; + regulator-min-microvolt = <912000>; + regulator-max-microvolt = <912000>; + regulator-initial-mode = ; + }; + + vreg_l2f_0p88: ldo2 { + regulator-name = "vreg_l2f_0p88"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <912000>; + regulator-initial-mode = ; + }; + + vreg_l3f_0p88: ldo3 { + regulator-name = "vreg_l3f_0p88"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <912000>; + regulator-initial-mode = ; + }; + + vreg_s1f_0p728: smps1 { + regulator-name = "vreg_s1f_0p728"; + regulator-min-microvolt = <584000>; + regulator-max-microvolt = <856000>; + regulator-initial-mode = ; + }; + + vreg_s3f_0p825: smps3 { + regulator-name = "vreg_s3f_0p825"; + regulator-min-microvolt = <640000>; + regulator-max-microvolt = <1000000>; + regulator-initial-mode = ; + }; + + vreg_s4f_0p5: smps4 { + regulator-name = "vreg_s4f_0p5"; + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <700000>; + regulator-initial-mode = ; + }; + + vreg_s5f_0p752: smps5 { + regulator-name = "vreg_s5f_0p752"; + regulator-min-microvolt = <752000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + + vreg_s7f_0p628: smps7 { + regulator-name = "vreg_s7f_0p628"; + regulator-min-microvolt = <465000>; + regulator-max-microvolt = <1050000>; + regulator-initial-mode = ; + }; + }; + + regulators-5 { + compatible = "qcom,pm8550vs-rpmh-regulators"; + qcom,pmic-id = "g"; + + vdd-l1-supply = <&vreg_s4g_1p25>; + vdd-l2-supply = <&vreg_s4g_1p25>; + vdd-l3-supply = <&vreg_s4g_1p25>; + + vreg_l1g_1p2: ldo1 { + regulator-name = "vreg_l1g_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + vreg_l2g_1p2: ldo2 { + regulator-name = "vreg_l2g_1p2"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1300000>; + regulator-initial-mode = ; + }; + + vreg_l3g_1p2: ldo3 { + regulator-name = "vreg_l3g_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + vreg_s1g_1p25: smps1 { + regulator-name = "vreg_s1g_1p25"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1300000>; + regulator-initial-mode = ; + }; + + vreg_s2g_0p85: smps2 { + regulator-name = "vreg_s2g_0p85"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1000000>; + regulator-initial-mode = ; + }; + + vreg_s3g_0p8: smps3 { + regulator-name = "vreg_s3g_0p8"; + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <1004000>; + regulator-initial-mode = ; + }; + + vreg_s4g_1p25: smps4 { + regulator-name = "vreg_s4g_1p25"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1352000>; + regulator-initial-mode = ; + }; + + vreg_s5g_0p85: smps5 { + regulator-name = "vreg_s5g_0p85"; + regulator-min-microvolt = <500000>; + regulator-max-microvolt = <1004000>; + regulator-initial-mode = ; + }; + + vreg_s6g_1p86: smps6 { + regulator-name = "vreg_s6g_1p86"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2000000>; + regulator-initial-mode = ; + }; + }; +}; + +&qupv3_id_0 { + status = "okay"; +}; + +&sleep_clk { + clock-frequency = <32000>; +}; + +&ufs_mem_hc { + reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>; + vcc-supply = <&vreg_l17b_2p5>; + vcc-max-microamp = <1300000>; + vccq-supply = <&vreg_l1g_1p2>; + vccq-max-microamp = <1200000>; + + status = "okay"; +}; + +&ufs_mem_phy { + vdda-phy-supply = <&vreg_l1d_0p88>; + vdda-pll-supply = <&vreg_l3e_1p2>; + + status = "okay"; +}; + +&xo_board { + clock-frequency = <76800000>; +}; From patchwork Fri Feb 2 13:36:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wasim Nazir X-Patchwork-Id: 195867 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp431650dyc; Fri, 2 Feb 2024 05:39:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IEnHUfi+cwPvSe8PNjbuO7kCFEpl2fUEtc3iurHDZAcejTACcyz+0RWl5duUjXOqjT+1Toq X-Received: by 2002:a05:6871:5210:b0:219:2e0d:2360 with SMTP id ht16-20020a056871521000b002192e0d2360mr818983oac.50.1706881163828; Fri, 02 Feb 2024 05:39:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706881163; cv=pass; d=google.com; s=arc-20160816; b=aUENGtpUvJfX0e7b92qxOaGoO/k/8j3KpJLeJgRBj93hIOS5a7sX7saUzCLLWFtfkw mvEXhHs3zu3OLU00FjcqpPPs/MK6FKgykekfjo6/gEdeSjr4BOmSn49VbU5V4q/gM8fP NdA9vvoP9M9zxLMchPnsc8/GabTgHYVU1juL/85a09Fl5hBes9+L0nb9UlL2ak5SHJx7 wdPjx0YYgFow3HOalwjHFuolReRzcE0Hy6zM6O2AxXgmXk3n/5mTAOTFO0Hkc/yBEbCE R76Tvs1rlQpG2vgPNmKH+wJ/DB7x+SYPbR1Sl9yYXpFktc4lNifneyH32rhnfueH7SdQ /6oQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=DsdXMe34KXFvuJanA/fj53vB84m7HoavxVPCeFqotvo=; fh=UunXfvKzKL7QN1tpLMqDRdZBE6AAx66C4t3UaoVG3qI=; b=Ne5AYqwqeqYd9ZWfbj1p8f0/ry5Fnc0YH68JArMkqIyXaNWRSkXmoErTV1qzysvkd0 YoO8tTmgOpeN60bFBU0JVuMOyW3jQdRH9MU6qTz7SrgyPNr3hxICs6XV0mHWvpyiE+cY aXV3ubBISgsfOCtxrrUikwp1/Ss5Ysl0Jv18ePJofDUMy9U0nXXQsct+MDjdPJXTeBCG nbAoGPF1L4N+bxIRMicKxFJCB8XSz086dRRQa9NraBeFCqI4hZgg3v7AT+7XHZZpt/uE wV5an3e7B/NgmsGuPCEtxZTMKag7OldZmXeHv1pa8cP4B59f8mJhq8Qm+wCLGUuRHI8h 5zgw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eaIClWeg; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-49909-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49909-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCVjUE6fI/HWVR/H7JIWjUowugAN/wS/UnTfSitEXXnI0WiBHfsRjWCBu884+B9FBrPZHidpubp5rWM9IwAMVNJDmIahXQ== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e6-20020a63e006000000b005d760d1af1csi1634539pgh.460.2024.02.02.05.39.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 05:39:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49909-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eaIClWeg; arc=pass (i=1 spf=pass spfdomain=qualcomm.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-49909-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49909-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A4E942868E8 for ; Fri, 2 Feb 2024 13:37:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E0A7B13E226; Fri, 2 Feb 2024 13:36:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="eaIClWeg" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A0D84643A; Fri, 2 Feb 2024 13:36:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706881016; cv=none; b=dXgRlEq3WS4HhtLkh51/UnfW7aOoMfLvW9vC9LmyASLWHeyuXrl3nW+3PjhNicCXBeeqGGX1+cMT+gcvnYocOZiDNIHpDtYV+/mpeQsLhF5Mzt3v/o2jjBTzWEVHh3+RcPAJQICLvNsfVqaN9MBvYZnAmxh/x5OcHH5fxitSLEI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706881016; c=relaxed/simple; bh=a0D7YFvUOEUJEBzo8I5mq62Kv+BvSEC14i8qhkl0W+c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QXYJHYoYCFlWgMsVoEbenaaYVlZT5D749cjb5FsYQjnJFDlBqzhyFRZaAz7jdwF9xSULmgpqVD7kL53/R67rYXgLtCkW8X5Y8q+6oB1C9pRiLohts+/dIQ4RfPLrg1oXv6ho+W60ohQDVj/rE9I4mJ3AyhGHIQqM993WJXygmsE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=eaIClWeg; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 412CrS8J013475; Fri, 2 Feb 2024 13:36:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=qcppdkim1; bh=DsdXMe3 4KXFvuJanA/fj53vB84m7HoavxVPCeFqotvo=; b=eaIClWegCqBcPYtGYpPT8By Suoj297CQnTLTifhqmBdcp14z121VGFTRYpQfngF7wn5mvQXJdnJaEn3+gXEnvFB dPWIxN2mat1Y7bBCHMsz6AkH9Gw+hN/DxRZn3y0DLp/5fr092YiM0EoesoM+d0H/ XliQsWRKmlLiWE25ImzzoSL2sZHCw299Dy+H6wU28F7zusokOvjgYA4GyT5XHMAa ZFHTNgWurdOQj/QgYpmrnsCSZ9XkkL8qkEe57xmoS+mHQguz/ZXDmUzlUuDdoKBz eHGGji7MYB4SNGbCL2memAUA+9xAlY67DNs1MUbKcSGIjHQc9lKIm+fgPnqU9TA= = Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w0pwjhf1a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 02 Feb 2024 13:36:49 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 412DajDo017956; Fri, 2 Feb 2024 13:36:45 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3vvtwm3wsy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 02 Feb 2024 13:36:45 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 412Daj93017933; Fri, 2 Feb 2024 13:36:45 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-wasimn-hyd.qualcomm.com [10.147.242.220]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 412Daj1t017930; Fri, 02 Feb 2024 13:36:45 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 3944840) id D126B50094E; Fri, 2 Feb 2024 19:06:43 +0530 (+0530) From: Wasim Nazir To: andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@quicinc.com, Wasim Nazir Subject: [PATCH 3/3] arm64: dts: qcom: Add initial support for rb5gen2 HDK board Date: Fri, 2 Feb 2024 19:06:38 +0530 Message-ID: <20240202133638.4720-4-quic_wasimn@quicinc.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240202133638.4720-1-quic_wasimn@quicinc.com> References: <20240202133638.4720-1-quic_wasimn@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: USZtIWBM64vLo-YcR_cirIrr16QtLf24 X-Proofpoint-ORIG-GUID: USZtIWBM64vLo-YcR_cirIrr16QtLf24 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-02_07,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 mlxscore=0 phishscore=0 mlxlogscore=999 malwarescore=0 suspectscore=0 adultscore=0 priorityscore=1501 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402020098 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789794623269686925 X-GMAIL-MSGID: 1789794623269686925 RB5gen2 hardware development kit is based on QCS8550-Rb5gen2 SOM for IOT solutions. This initial version describes VPH_PWR, UART & USB3.1. On-board PMICs: - PMR735D - PM8010 Signed-off-by: Wasim Nazir --- 2.43.0 diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 6fdde64d7540..8840b219d6d5 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -93,6 +93,7 @@ dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-1000.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs8550-aim300-aiot.dtb +dtb-$(CONFIG_ARCH_QCOM) += qcs8550-rb5gen2-hdk.dtb dtb-$(CONFIG_ARCH_QCOM) += qdu1000-idp.dtb dtb-$(CONFIG_ARCH_QCOM) += qrb2210-rb1.dtb dtb-$(CONFIG_ARCH_QCOM) += qrb4210-rb2.dtb diff --git a/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2-hdk.dts b/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2-hdk.dts new file mode 100644 index 000000000000..6f4c68402823 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2-hdk.dts @@ -0,0 +1,136 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "qcs8550-rb5gen2.dtsi" +#include "pm8010.dtsi" +#include "pmr735d_a.dtsi" +#include "pmr735d_b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. QCS8550 RB5Gen2 HDK"; + compatible = "qcom,qcs8550-rb5gen2-hdk", "qcom,qcs8550-rb5gen2", + "qcom,qcs8550", "qcom,qcm8550", "qcom,sm8550"; + + aliases { + serial0 = &uart7; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + pmic-glink { + compatible = "qcom,sm8550-pmic-glink", "qcom,pmic-glink"; + #address-cells = <1>; + #size-cells = <0>; + + connector@0 { + compatible = "usb-c-connector"; + reg = <0>; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + pmic_glink_hs_in: endpoint { + remote-endpoint = <&usb_1_dwc3_hs>; + }; + }; + }; + }; + }; + + vph_pwr: vph-pwr-regulator { + compatible = "regulator-fixed"; + regulator-name = "vph_pwr"; + regulator-min-microvolt = <3700000>; + regulator-max-microvolt = <3700000>; + + regulator-always-on; + regulator-boot-on; + }; +}; + +&apps_rsc { + regulators-0 { + vdd-bob1-supply = <&vph_pwr>; + vdd-bob2-supply = <&vph_pwr>; + }; + + regulators-2 { + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + }; + + regulators-3 { + vdd-s1-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + }; + + regulators-4 { + vdd-s1-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s7-supply = <&vph_pwr>; + }; + + regulators-5 { + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + }; +}; + +&pm8550b_eusb2_repeater { + vdd18-supply = <&vreg_l15b_1p8>; + vdd3-supply = <&vreg_l5b_3p1>; +}; + +&uart7 { + status = "okay"; +}; + +&usb_1 { + status = "okay"; +}; + +&usb_1_dwc3 { + dr_mode = "otg"; + usb-role-switch; +}; + +&usb_1_dwc3_hs { + remote-endpoint = <&pmic_glink_hs_in>; +}; + +&usb_1_hsphy { + vdd-supply = <&vreg_l1e_0p88>; + vdda12-supply = <&vreg_l3e_1p2>; + + phys = <&pm8550b_eusb2_repeater>; + + status = "okay"; +}; + +&usb_dp_qmpphy { + vdda-phy-supply = <&vreg_l3e_1p2>; + vdda-pll-supply = <&vreg_l3f_0p88>; + + status = "okay"; +};