From patchwork Fri Dec 15 05:37:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 179040 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9059993dys; Thu, 14 Dec 2023 21:38:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IGXgFu1Mf9mTeb92+eZ8NHzh+PVIv+NSFW26ujpxS3I8N+Z0g0TqTjvoBxX3pU8K0V+S5xk X-Received: by 2002:a37:e218:0:b0:77e:fba3:a773 with SMTP id g24-20020a37e218000000b0077efba3a773mr8345550qki.81.1702618727421; Thu, 14 Dec 2023 21:38:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702618727; cv=none; d=google.com; s=arc-20160816; b=nvKPhCAdo3aaGUFQpG2Ol2ZyFx+LVTpI3mEAuF57D1cVYywnhV9HwFbmQbQo7g1gk+ WvciUWU5w/cDGLjg7FCTionC91v9sBdF+bsNNXrogUOXMh606rKR+l1oGThXlUouz1Ja 0RVvG8nDJLiHcl+TVaFj8Xa+cw3Jr7bLRyDDRSuM517EPFhg+Dql7tMDI68I1tZZV3P/ R6aZ1cc6NaIODqbAPS2tnYYTJ+UHdfnM50LBRdRuNty2C0WJTiZATq5k5EbM3ak6hBYF b8yWaFv4neERI8YNcIwVQbEAVJtYrHRGVhbFe6VG1GCp86lNhfilOwHXgp+wRcPvUxqY yjcA== ARC-Message-Signature: i=1; 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=IS7Q/QgqQDN78d5VKGWs6ggliafuLQI/5jvkHQc9Wsw=; fh=o2eV51Mwo6Qc7fxKnhJ4JK3tsYUfu97L2lDgeeZuxP4=; b=Nn6yI/uxbPizBtDwi60k6rRisvNBQZGvborMl8OZE6gEg5J7UaHuqIsfVtmpFlDbXk V64/vBDY/fBQxasd6BcRCYpZCnZu/nrMaH76lJXQrYDFqa59DI6330vKdn3njO0TNiyk zT9F80bxpj9Y5NEGx4X2+ef/35MP3g7YygwWynHC5WMtTzo0Nv0rrYvoI+onNcuZHHB+ d/ADLxDC/0ld+4RI5dYZj1B5ErdeOLhkvg0QE54zf4BjNG049x5o/efPrsogmoUywydY YyotAyJ2d5bq6oQQEfjjuZvFwC6QKuxVPxm9+USkjrD4iidfzfanO1hjhx3oFJANUlgd NnMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CVv88eGL; spf=pass (google.com: domain of linux-kernel+bounces-456-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-456-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bq10-20020a05620a468a00b0077c0f390181si17596236qkb.249.2023.12.14.21.38.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 21:38:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-456-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CVv88eGL; spf=pass (google.com: domain of linux-kernel+bounces-456-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-456-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3976A1C22408 for ; Fri, 15 Dec 2023 05:38:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3C09D2F3; Fri, 15 Dec 2023 05:38:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="CVv88eGL" X-Original-To: linux-kernel@vger.kernel.org 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 7E69D6ADE; Fri, 15 Dec 2023 05:38:16 +0000 (UTC) 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=quicinc.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 3BF3hpGA015128; Fri, 15 Dec 2023 05:38:12 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:content-type; s= qcppdkim1; bh=IS7Q/QgqQDN78d5VKGWs6ggliafuLQI/5jvkHQc9Wsw=; b=CV v88eGLMf5TuVKlQzqCDQ0O7AKATr5KQGGKBizIi14fPqohsu2MYVIl1tZ8gCF+ij 1AGs62+0p2JmoOqhucAKqNF8nnQg+QQzkEqWw2U2faGKWRa/4sm5z6gC/8lUMNFN pWoCPF0SqYlCjwZS+e3J5h1f55KIQmQW7RwoB44Yyfg2H8mgUP3wVZdDd1XFGVaQ p7ZuhpRapkBgZ5/lisqI16vbz6vmSprgebc1eqFRE5EiEHpOSpbusLbX7pPFyZoh qe4QS09hKCY+lt4uqJ/lCpi5ynboSIJbIubkoWXI4411J89g6HMJeycWfkSOk+Kk x2k2bbAz5YhStSj1EMZg== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v05jqh6g9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Dec 2023 05:38:12 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BF5cBwP031291 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Dec 2023 05:38:11 GMT Received: from hu-varada-blr.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 14 Dec 2023 21:38:07 -0800 From: Varadarajan Narayanan To: , , , , , , , , , , CC: Varadarajan Narayanan , Subject: [PATCH v1 1/2] regulator: qcom_smd: Add l2, l5 sub-node to mp5496 regulator Date: Fri, 15 Dec 2023 11:07:03 +0530 Message-ID: <612e9d983333560f39672bf09c2d68b1d6ff91c0.1702618483.git.quic_varada@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: pczH4Ux9gUgxgwgV6Bucu42cBOkDICUf X-Proofpoint-GUID: pczH4Ux9gUgxgwgV6Bucu42cBOkDICUf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 adultscore=0 lowpriorityscore=0 suspectscore=0 spamscore=0 mlxscore=0 malwarescore=0 impostorscore=0 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312150033 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785325134606935845 X-GMAIL-MSGID: 1785325134606935845 Adding l2, l5 sub-node entry to mp5496 regulator node. Cc: stable@vger.kernel.org Signed-off-by: Varadarajan Narayanan Acked-by: Rob Herring --- .../devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml index f2fd2df68a9e..b7241ce975b9 100644 --- a/Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml @@ -22,7 +22,7 @@ description: Each sub-node is identified using the node's name, with valid values listed for each of the pmics below. - For mp5496, s1, s2 + For mp5496, s1, s2, l2, l5 For pm2250, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22 From patchwork Fri Dec 15 05:37:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 179041 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9060119dys; Thu, 14 Dec 2023 21:39:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IGTnZpxf2krUOUqC9wPJ4yc/pUe4OVHRfYQFaB0WEOBS8rgMUNQ9e+aqakhMBQaHBLlnovF X-Received: by 2002:a05:6e02:1528:b0:35f:7474:ef8e with SMTP id i8-20020a056e02152800b0035f7474ef8emr5595194ilu.26.1702618748419; Thu, 14 Dec 2023 21:39:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702618748; cv=none; d=google.com; s=arc-20160816; b=o3uZgigf32m6Sld36mmn8gob7ZFaNbh5VSRJGDeZcnL30MExVUuO8/dR19IWlT/vbp 0aN0C87tShdTyQxFAygphJg0D3ZXIQGHar95wajsUW7l7672QYVcHsBEcUJv/t/LEhgN zKqitEizxi3inQlpVos1aXJgoOkaB2QTEaKQVp81o1lDVOAoaVZAAf3dzi9bL2YoSRnO 6IzpfQkt3vzrrQHZwFQT/+KqvXkvcykFFc8Z5aPwM3DSReQl3nKyZPJvzfn+sEJTQqP0 hZkosk8YskwBiWkygwYKfle9hdvwxFF8Zbq4gHlWjUxkuG9ehq4gv/7RIQCK0uijYLRJ R2oQ== ARC-Message-Signature: i=1; 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=SF9RMlNr6ngF0VXm79b8bKtENoFDwR1sn7Swa2KeSoY=; fh=o2eV51Mwo6Qc7fxKnhJ4JK3tsYUfu97L2lDgeeZuxP4=; b=rVv9a0juw8m1oO2Qnj2b+gTTuAOevUmDlrXI0KhqrSs1YRT/MhZmSc0j/D2aCv2Y8s DaPilGba5d9h1mwKuXJs7fsYkCWTsVf/E7mRxDl5U7w1DB5q4bZjzP5QQiYk+8VLyrez 0pybjvvKDtwbCqoH3gBoIWuI2fYrf+NNC0iAEmWgHWTs4rM+y8VTMu64WJ15qFFy8GQG AmkntzgwwrsNIbMvXkCcArCmBzrgTp7IlJlhCRZODHsVfz5BfAWQ+NyF04ZBDA3c27iG oCmdBVZxs/TTPErXBp16RJD2csbhiYrkZA3dcUeEP6OJU0aqz5GiLIk4Ft7b1iFSMJDY SnrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=iDtPBfMM; spf=pass (google.com: domain of linux-kernel+bounces-457-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-457-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k10-20020a170902694a00b001cfcc0ca772si12496831plt.123.2023.12.14.21.39.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 21:39:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-457-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=iDtPBfMM; spf=pass (google.com: domain of linux-kernel+bounces-457-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-457-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 5EEC228361B for ; Fri, 15 Dec 2023 05:39:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9AA53612B; Fri, 15 Dec 2023 05:38:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="iDtPBfMM" X-Original-To: linux-kernel@vger.kernel.org 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 6ABE1D2EE; Fri, 15 Dec 2023 05:38:20 +0000 (UTC) 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=quicinc.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 3BF3apkq027794; Fri, 15 Dec 2023 05:38:16 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:content-type; s= qcppdkim1; bh=SF9RMlNr6ngF0VXm79b8bKtENoFDwR1sn7Swa2KeSoY=; b=iD tPBfMMu8RtpXoN6cEgDt+ZLSfs3/d/IB1/NKSdnXGqFlxo1t7Tz4HSFsUdfZiMnA 6FDKdB7Zkmo2Xp8ymChNB/piENk2grAr2rcQBRfTSPGpj9Y6xuddpJ8uP6oPhoYu LEsQ9WOJ11tKCu7GL8PwBvtBGMNn8U28OtBN1i/5tkYkgZVHh80XPWtTReH9CVcm cTAsdxkyxrrdemD/f4URh++eeXocB3kKa/tl3dkE9Qc0UqL6dFyWAwWd+ihahsrc /wxFzP+AHcM9ImxF+4ViSPUX8585QweGbXxTBwyUfKuLnUM0kC9wGN0wWfEyTGIX bJneNuYtvLLlAfTYEzaA== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v0741j1fa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Dec 2023 05:38:16 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BF5cFpH015628 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Dec 2023 05:38:15 GMT Received: from hu-varada-blr.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 14 Dec 2023 21:38:11 -0800 From: Varadarajan Narayanan To: , , , , , , , , , , CC: Varadarajan Narayanan , Subject: [PATCH v1 2/2] regulator: qcom_smd: Add LDO5 MP5496 regulator Date: Fri, 15 Dec 2023 11:07:04 +0530 Message-ID: <5affdcba10ab0f0b7535741b612cb0197cd6c28c.1702618483.git.quic_varada@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: bbLeMmWxyuBl7TMccWX7VEj_p-dADM6s X-Proofpoint-GUID: bbLeMmWxyuBl7TMccWX7VEj_p-dADM6s X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 malwarescore=0 spamscore=0 phishscore=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 suspectscore=0 adultscore=0 mlxlogscore=880 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312150033 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785325156252004188 X-GMAIL-MSGID: 1785325156252004188 Add support for LDO5 regulator. This is used by IPQ9574 USB. Cc: stable@vger.kernel.org Signed-off-by: Varadarajan Narayanan --- drivers/regulator/qcom_smd-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/qcom_smd-regulator.c b/drivers/regulator/qcom_smd-regulator.c index 09c471a0ba2e..d1be9568025e 100644 --- a/drivers/regulator/qcom_smd-regulator.c +++ b/drivers/regulator/qcom_smd-regulator.c @@ -796,6 +796,7 @@ static const struct rpm_regulator_data rpm_mp5496_regulators[] = { { "s1", QCOM_SMD_RPM_SMPA, 1, &mp5496_smps, "s1" }, { "s2", QCOM_SMD_RPM_SMPA, 2, &mp5496_smps, "s2" }, { "l2", QCOM_SMD_RPM_LDOA, 2, &mp5496_ldoa2, "l2" }, + { "l5", QCOM_SMD_RPM_LDOA, 5, &mp5496_ldoa2, "l5" }, {} };