From patchwork Mon Mar 4 05:53:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wasim Nazir X-Patchwork-Id: 209386 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:fa17:b0:10a:f01:a869 with SMTP id ju23csp1237542dyc; Sun, 3 Mar 2024 21:55:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUtsLtFbpeW9T6+2MVVgaqjHubdm0Q+uIHvuDXQ7W040uZtuNsDSspZjlDy2rFmj1DB0P4MeuL+Lt0AlTSbtm+Dh/prbQ== X-Google-Smtp-Source: AGHT+IFe+HoK2zvHFAB6Ym/bj8z/SJt4gBr/oLJH0Fh4+RuO2jEbw9I7ijyBOpIYjOV+v6uJ2LME X-Received: by 2002:a17:906:fb14:b0:a45:12c0:1dea with SMTP id lz20-20020a170906fb1400b00a4512c01deamr2006442ejb.57.1709531710281; Sun, 03 Mar 2024 21:55:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709531710; cv=pass; d=google.com; s=arc-20160816; b=0Y91I7UdRFTsJux48Da7w06VfAVJ0hTlw6ydnG9OoCHTZd3G38oeEfdJk4xy5cU7zO LF+g/JkYQ9YlH0X/7S9KEv4HatDZff37e9ZqfQzzKCxowRUpV8IpMJ7OiF+S74bmlMcM A483UwRJ4ryu3BxRYypdsIcH5syjfhpczbAuC1y6MapegGu98xXHsOiCKIraRezJGQLS 6TF2y2lUmtROfUL7v1awQXmYJYJ9Cw5lvG4dsOl/qVXKmuf5lj6peT5KVj0HeHl0f8Di 2dSyWXSAIQV9/P8iOV/P66+iQyKXaN3LMMgvfWN6/APGeLweZSdCLCGz6F4Fo6o+VGYf Tv4Q== 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=x5COyQJ7CScBXtdkv8sImIUxT6G6MPk/BPW0oxCnkl8=; fh=ywU1Qcoc1pVbi32RzVoS7C2i2ELKbJYyGjvxdEMY5wQ=; b=npVWAn3oMuPTRu3nujd+zTOVxrPXugG4gZVu68db7ba+42yX4Eq87kG59NLZVX7DBD C7vN6+iGZllSfreJnsEL/+ZGYiwg/Z6G1U1WAYTofc4OxMjf1B/PnhQgNmRBwM1n2ZXf 9g4Exf+/N6m0Pbl/UZ8x27kl5tdHN9bbCu15wW6x8zXPTR6a56oN02n6EoqgWIGW0OEm DjuUua1ToNGBf/bShQTs6fXMmQ9UastAKYETsHlm1ZBb9+33rCJb7ryu4jJ15KS6+P4h llsga+Cz1r+HfLT1H+i4c3mCg6RbSwNnU32PgetU2+zgRr6SDmYuxaxYEpgS5ETAcdPx pd4Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=GHhPp0lL; 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-90071-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90071-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id bv3-20020a170906b1c300b00a3dcee78d03si3658074ejb.982.2024.03.03.21.55.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 21:55:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90071-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=GHhPp0lL; 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-90071-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90071-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 am.mirrors.kernel.org (Postfix) with ESMTPS id D2A8D1F2122C for ; Mon, 4 Mar 2024 05:55:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 055A4111B7; Mon, 4 Mar 2024 05:54:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="GHhPp0lL" 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 00300D2E0; Mon, 4 Mar 2024 05:53:56 +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=1709531638; cv=none; b=sFn/7MscQZzWVRC0AR5xeeHbXf/sErOU+v4aeEz519/92VFTHSDmIWU4pSNbxv+1hv+wjYcl9Z0RprHFEa1v1xtJavehFO2eFYEtIO3YGDPAYQVOtlO9s9z7+o8NXyMU+Y063FfyUJ/mCcz0hPWxoYaMpG6PH9CZPG2Y/rZZag4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709531638; c=relaxed/simple; bh=azEa54rrP1hdavQAhLGWDI3eOFRH68ZRQYBAvQR3tGM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Vodzy5QWCMmQPuv0jN6HJx89KuJSwZybYK80YAwpVqdCM9lw6LJx3Q6X7w+CfgEqrpa5sOsZe7G9qKS5OIePYi50uDMntcWbidkrjnTci16exiQOPFG49PzYT+JR7g9moeh9Kp5m4xv08LVSIXY3eMVuZeRWbhHU4c87A4hMUmE= 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=GHhPp0lL; 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 (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4244vRUu009163; Mon, 4 Mar 2024 05:53:52 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=x5COyQJ 7CScBXtdkv8sImIUxT6G6MPk/BPW0oxCnkl8=; b=GHhPp0lLwY68jsd7L7oKegW ww2GdJ8W7gJ4mV60/04UJNZuqr+7jc9tX3nko2lLsJLrg/AAGkJ2Tj1nCJlZijt0 04ll6GhpTWL8UyWT2WCnlGiX4WJZwC3Igr+eDdm53enLmE/iGkipdUBEKze+gDxn aA+gKOJymyP/1BTk97cK/hBdhaOzWWMXexhc9M85v+C7XiRvUF1UDY/m6FET+X54 OuOioZbxcatv/LlQBanbh8hxTgb1vXsysWDr2bdU9DKF+h3VQUbn7rslKeMNYwji b4g3D5H1CC137uC7tIrMN6Cd4f9ZuNVoeD0MuxY4vYLJFg24JntkaUDdXmUENKg= = Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wkvvm2mpc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Mar 2024 05:53:51 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 4245rllI007937; Mon, 4 Mar 2024 05:53:47 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3wkw6kx58y-1; Mon, 04 Mar 2024 05:53:47 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 4245rlFs007917; Mon, 4 Mar 2024 05:53:47 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-wasimn-hyd.qualcomm.com [10.147.242.220]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 4245rkh7007911; Mon, 04 Mar 2024 05:53:47 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 3944840) id C18B450094C; Mon, 4 Mar 2024 11:23:45 +0530 (+0530) From: Wasim Nazir To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@quicinc.com, Wasim Nazir Subject: [PATCH v2 1/3] dt-bindings: arm: qcom: Document rb5gen2 board Date: Mon, 4 Mar 2024 11:23:31 +0530 Message-ID: <20240304055333.15952-2-quic_wasimn@quicinc.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240304055333.15952-1-quic_wasimn@quicinc.com> References: <20240304055333.15952-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: SKSZ3yqZF2xtt6zt-Pq4FhaBRS2hR_a8 X-Proofpoint-GUID: SKSZ3yqZF2xtt6zt-Pq4FhaBRS2hR_a8 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-03-04_02,2024-03-01_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 priorityscore=1501 suspectscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=943 impostorscore=0 phishscore=0 bulkscore=0 adultscore=0 clxscore=1015 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403040042 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792573922701528521 X-GMAIL-MSGID: 1792573922701528521 Document board bindings for Rb5gen2. Rb5gen2 is using Rb5 gen2 SOM which is based on QCS8550 SoC. RB5gen2 is development kit used for IOT solutions. Signed-off-by: Wasim Nazir --- 2.43.2 diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 0ca4333fa8cf..70b5034c4aa0 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -876,6 +876,13 @@ properties: - const: qcom,qcs8550 - const: qcom,sm8550 + - items: + - enum: + - qcom,qcs8550-rb5gen2 + - const: qcom,qcs8550-rb5gen2-som + - const: qcom,qcs8550 + - const: qcom,sm8550 + - items: - enum: - qcom,sa8155p-adp From patchwork Mon Mar 4 05:53:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wasim Nazir X-Patchwork-Id: 209387 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:fa17:b0:10a:f01:a869 with SMTP id ju23csp1237574dyc; Sun, 3 Mar 2024 21:55:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVW9wSJsKbKxz6IcEyiUy6xl9V1FNt8OQXYYcAZyg+0/dcFUbi2UreaPvtIjexyxoDSAGeBVSV/OUgQUaVNJLusn+t7Cg== X-Google-Smtp-Source: AGHT+IG2Q1C4FBSoNuxdVWx++W2a4h0zqMpMkq4ynp+j0E2YQLYR3pVr+SEbUUoHS4tLC8A7C7fa X-Received: by 2002:a05:6402:f8f:b0:563:bd95:4ef8 with SMTP id eh15-20020a0564020f8f00b00563bd954ef8mr5243519edb.23.1709531718778; Sun, 03 Mar 2024 21:55:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709531718; cv=pass; d=google.com; s=arc-20160816; b=h6xUALvgYvE9M0M+k624WLhlEH1252strK035lxq6eJ0bWiP2afhvStxBA20ECTWPv CIeHQVrtNLH4YzWPHvwPenpBuufOWVtQbFyfAf0g0FOrMtgaUuADQ6wo+nmFMq41BlJZ UJtI2CemQpJkTTWoqfqZOrbgOGvrW0nGByEHX1PlyCfuGDMxCjXIO6u1KZkVIkPgu3rP QLmKh1AV9uHWu6AAwpU2AKQ5XXV5Xhv2v8age9X3KhsfbtrTcAj/ojZAeieFd3cHUdUZ GveUtw4ZbV++x8h0aeGAdat2AMKSNKG/c4O8xkvnD6TUIhB2s7+B4xyRa4HoM4oymacy HHPQ== 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=AaWdIpuAlbf6WdqaMarykjo76Eru0z2WFbVo9rJ3KQY=; fh=ywU1Qcoc1pVbi32RzVoS7C2i2ELKbJYyGjvxdEMY5wQ=; b=gA4vTM/VeWISSQ8Lg612SCPiJMV8dHdswEBTMBIRpXffTVlSg8Z7OzSso9hEq/tH1w eGb2LDhF/f5d4E7DBYxCZ6jEVqpYIA7jFV7SYRYwvqGMt+Yg3rNB56Zs24ySM+cQdmN8 Qs1UL3/UGnz6qhpDuHON/aFYNNRIbXqwDBPb6vmuHqEn7eChYTsGl0Dnt4kBXe+YBzJF nm2QU1TZi0irejrWeGhjT7QbHiDWGuuXAieFnLtRq3ThWc5fOUyugbRkrbuhOfUpTQZH lQUMyicAOzsoqhQaw/7SLRP8KaDz7N17YX01fVpXKCtU333hyGNez0U9gcC1KZmSvOjm 3/jw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UkFhqcnf; 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-90068-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90068-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r25-20020a50d699000000b0056724e587b8si1240901edi.252.2024.03.03.21.55.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 21:55:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90068-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UkFhqcnf; 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-90068-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90068-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 34B9F1F21111 for ; Mon, 4 Mar 2024 05:55:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39C991170D; Mon, 4 Mar 2024 05:54:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="UkFhqcnf" 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 77916C127; Mon, 4 Mar 2024 05:53:55 +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=1709531637; cv=none; b=tICCORoeqMK1S9V4r4g7fk4C1V21oid9TbXqgHhxFKxgszDLf1lVahrmc7IUO0oa01+1glHQ7G/BFxI/1hJPCPjyN+YGk7ctN85q7qmW5sYWfPVoVdT1fMvwMfXFsnZcVkZXZ9O7IRx+w6HNR2vPvzIRoSeFiZYH/6QncXGZ48Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709531637; c=relaxed/simple; bh=cUkHwH9f6BDE/kQCIaMYLeVCdHLkVR8qM0QDef/d65E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EjEPBi1CUE2Y9+qUfG6AOJjlOrT7yaawh0KVcsrWl0z9wj8ib45fLEjKpfsDFGdZmJPL510oDLVKv1pN9YMWmdydhS1VtetbyF4ABMPV76ENl9BUEhHO/482YnyT/qtKcKtpPbXLM4ImQLovv+4ad3Qp3lf/BqR80gMs8Ux9n7g= 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=UkFhqcnf; 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 (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4244ZKD9009845; Mon, 4 Mar 2024 05:53:51 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=AaWdIpu Albf6WdqaMarykjo76Eru0z2WFbVo9rJ3KQY=; b=UkFhqcnfTsLVji7mB8XkvyH G0TWBn5eUJNghbsiosbmtRf02DTq3Bd8sLPKXWmEj1G7LRj3sa3Ny71+KZ8ZOHsr zApwKerhUbi2Ab67lRUO33gVN+QQWLc6ZHYhrhptkNj2y6TnqINuspF9zInz+QIB Q3xtdRIxtmiUjGAZBQppnC1WLkulugB/WjaKbh60NmC0XeTWdE95tyzn/j3Csc1w YGS0mGEgt0gmJ+6jMs4qEZKQffktMLSOEpSw+t/v+LDt8cJTWtzC0fedowCnUsx8 PPnoT/ISFPtgYpeEYt8F5dDUqow4ixcVdR6VcCVs0fh/gpfFIWC1/tEQ7TvJfsg= = Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wn420rcx5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Mar 2024 05:53:50 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 4245rlgw007940; Mon, 4 Mar 2024 05:53:47 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3wkw6kx591-1; Mon, 04 Mar 2024 05:53:47 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 4245rldP007919; Mon, 4 Mar 2024 05:53:47 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-wasimn-hyd.qualcomm.com [10.147.242.220]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 4245rkQ6007910; Mon, 04 Mar 2024 05:53:47 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 3944840) id C42EB50094F; Mon, 4 Mar 2024 11:23:45 +0530 (+0530) From: Wasim Nazir To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@quicinc.com, Wasim Nazir Subject: [PATCH v2 2/3] arm64: dts: qcom: Add initial support for rb5gen2 SOM Date: Mon, 4 Mar 2024 11:23:32 +0530 Message-ID: <20240304055333.15952-3-quic_wasimn@quicinc.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240304055333.15952-1-quic_wasimn@quicinc.com> References: <20240304055333.15952-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: v_JlE6Q8KnpgcjIayWCr1xJhB9DBTnmi X-Proofpoint-GUID: v_JlE6Q8KnpgcjIayWCr1xJhB9DBTnmi 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-03-04_02,2024-03-01_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 malwarescore=0 lowpriorityscore=0 mlxscore=0 adultscore=0 clxscore=1011 impostorscore=0 mlxlogscore=999 suspectscore=0 spamscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403040042 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792573931468343077 X-GMAIL-MSGID: 1792573931468343077 Rb5gen2 SOM is based on QCS8550 SoC, used for Rb5gen2 board. 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.2 diff --git a/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2-som.dtsi b/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2-som.dtsi new file mode 100644 index 000000000000..5fc7c45b951b --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2-som.dtsi @@ -0,0 +1,438 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include +#include "qcs8550.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 Mon Mar 4 05:53:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wasim Nazir X-Patchwork-Id: 209388 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:fa17:b0:10a:f01:a869 with SMTP id ju23csp1237623dyc; Sun, 3 Mar 2024 21:55:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUnpVl1EVuQt4GUT8jo6Zja4LYxv9Cjc7o3/0XRfLJ0FDnMZHlK4Isy4eU3Q8lunfdhulT8aOCGWsCEm3xLuWYJeB2ipw== X-Google-Smtp-Source: AGHT+IHbJwz/43ABW8aToJ7TQhDyy/jHx+QeX0KZpEd/4c3/gYxFeA3qZN97qXaJpIFnae+4vgdQ X-Received: by 2002:a05:6358:5288:b0:176:40d5:2bd5 with SMTP id g8-20020a056358528800b0017640d52bd5mr10409132rwa.6.1709531731233; Sun, 03 Mar 2024 21:55:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709531731; cv=pass; d=google.com; s=arc-20160816; b=0Km3aA/7i/jNBd7Y9y2a426ZWnWSgCSjqDEnOk9TZ98xex6yFDm3HxTe7thm3Edv5o r5kiioEVbI2T4OM0XtjPZLutj1gJon0cb+h1DYyMTv4i1GNKMwknESDAGphGYGHCtvfE 0azec+K7yIwN8VDDbL/+mDw2hXIGBrGeecrkflZHPxZ+wzgSI1APrb6VSoZSnuF2IdEp Ki87ZoUUWsThYgC3bnsm7WSrwRrnNcbV/TbzrWzYmvdxEdHZVWwwoRGHA9ROyc+6dPeO KGZSHuj8yOkg8+TxT7Fn0ZY+jXzYP6P4BRijlutbylP9xPXbeUdcIQTiOzjdJaxRzUos nM7Q== 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=6rDCeTTETG1od6jjW0uQ/pSuXaAVw8UI/PnLswPNZME=; fh=ywU1Qcoc1pVbi32RzVoS7C2i2ELKbJYyGjvxdEMY5wQ=; b=iMShFd0xOA3VbbwSbUZ7k08IeXAf0WbCa2RMTvjpKNlq5Q/BNtveO1LY6LB9usefoy IRRQM5iDype2EzNHbuX2cNFPDZaBkImP5Fecr/PVOJh8bwcVD/Y240+MPe/i8r9ZV47q 7c8RdAZTUcfzrETCRa6bq5IWvMJDnnMmJUAqfJNW5+7vLePT18RGiheaS4h4j3ez3Z7S LRfNbDeOAK9Yied/gWje4Dg3eHzzOkJ2gFQdXZB9O5yd6r3x19UmSvSK2RJANMf/oDAh kCMYQ00JfItLsb7Lfi9ixiuGh33s6rh3gBAxfcUb4mepM+kigNzjRX6I5tIZYTEroN3f ylrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=nqe+i3y6; 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-90070-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90070-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t16-20020a635350000000b005e49f54a865si7836346pgl.29.2024.03.03.21.55.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 21:55:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90070-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=nqe+i3y6; 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-90070-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90070-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 5B896B21160 for ; Mon, 4 Mar 2024 05:55:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3532111A6; Mon, 4 Mar 2024 05:54:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="nqe+i3y6" 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 EEE41C15B; Mon, 4 Mar 2024 05:53:55 +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=1709531637; cv=none; b=uYbTSvpI1m9VesLuuMlaAZwzM75Kw367DmlsXpxhiiaBEaofdv9y0gGAiEV81h3sfrCJIohcsQKwDJPzNjFmKK79aceKciuabNMYB4jMEPxLHk4QQjzNF7Jeb60BH9bSN/RWyeG3M8hBo7rC5N6unsgNTt/cPSHxTJhGUSvxjrw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709531637; c=relaxed/simple; bh=mq7TXZio7/RiS+CzlqRoYNx2kIW5aRL1dfqJKXxlyhc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fxaOpdQ6IAmwRO0GUYuWlzHjNKmwSNFzKOT+oVc3XYV8L240jEE+UjYwg9pwZueFnbdt/50+V8pJ9+VPKwO7QAF4duRyu31QTN4l0DJudW5p15gqw9Ebcv3gx58Abo2mUN+KlR3AcSynHCLMbLJXX79/MAtqhy4L1EF4QgtFFcs= 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=nqe+i3y6; 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 (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4244RC6H016966; Mon, 4 Mar 2024 05:53:51 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=6rDCeTT ETG1od6jjW0uQ/pSuXaAVw8UI/PnLswPNZME=; b=nqe+i3y6qe4cCRR3F8yqE91 p271gSiFe8qZ5ihvlGlacSIe0W/NoWplgKxSpYyk7BLuv2EAneARyzx4AUpMtdj6 odo9DYr4uWgiexMW3tRqQhZW0+lnR+UVwIH5y/4txQiBHi1fdsOEqJ5Dos9mRWyf pznBvjprtZ+U+2vnWBAeasx7p3kF45S3PD8o5ZJoixMGjEdykC6+qBV2kbN7uCoP kIn3SD45SWOhjtAv/A72BQ5IoLmlLYlkaIQeNuMfspsqmqz0+syXrB6S93uM04BX 5DwfADG7QmUpKTfqZjCqhIyD+Up5dIBOXbhYMP8XUpvN8O9WCTmWnOuY1VnI3+Q= = Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wn5b389hd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Mar 2024 05:53:51 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 4245rlkX007939; Mon, 4 Mar 2024 05:53:47 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3wkw6kx590-1; Mon, 04 Mar 2024 05:53:47 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 4245rloi007918; Mon, 4 Mar 2024 05:53:47 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-wasimn-hyd.qualcomm.com [10.147.242.220]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 4245rktG007913; Mon, 04 Mar 2024 05:53:47 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 3944840) id C71C0500966; Mon, 4 Mar 2024 11:23:45 +0530 (+0530) From: Wasim Nazir To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@quicinc.com, Wasim Nazir Subject: [PATCH v2 3/3] arm64: dts: qcom: Add initial support for rb5gen2 board Date: Mon, 4 Mar 2024 11:23:33 +0530 Message-ID: <20240304055333.15952-4-quic_wasimn@quicinc.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240304055333.15952-1-quic_wasimn@quicinc.com> References: <20240304055333.15952-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: O3KFxJ24p-C8jDqO0RsdhuL-QKUmS8fy X-Proofpoint-ORIG-GUID: O3KFxJ24p-C8jDqO0RsdhuL-QKUmS8fy 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-03-04_02,2024-03-01_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 mlxlogscore=999 lowpriorityscore=0 suspectscore=0 priorityscore=1501 spamscore=0 clxscore=1015 mlxscore=0 adultscore=0 impostorscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403040042 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792573944614542815 X-GMAIL-MSGID: 1792573944614542815 RB5gen2 is based on QCS8550-Rb5gen2 SOM for IOT solutions. This initial version describes VPH_PWR, UART & USB3.1(HS). On-board PMICs: - PMR735D - PM8010 Signed-off-by: Wasim Nazir --- 2.43.2 diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 02d9bc3bfce7..75f4fb5cc0a9 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -97,6 +97,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.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.dts b/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2.dts new file mode 100644 index 000000000000..2affe188bd23 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/qcs8550-rb5gen2.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-som.dtsi" +#include "pm8010.dtsi" +#include "pmr735d_a.dtsi" +#include "pmr735d_b.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. QCS8550 RB5Gen2"; + compatible = "qcom,qcs8550-rb5gen2", "qcom,qcs8550-rb5gen2-som", + "qcom,qcs8550", "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"; +};