Message ID | 20230802091429.20892-4-quic_kbajaj@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp335139vqx; Wed, 2 Aug 2023 02:50:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlHE5XVCc86ShzGm0NiuMrTTatfJLbHuX3qHmsqh6x1I8z4q/fZGbF6UiM7TJo5H1jyICo5c X-Received: by 2002:a17:903:22c8:b0:1bb:b91b:2b40 with SMTP id y8-20020a17090322c800b001bbb91b2b40mr18380844plg.60.1690969809251; Wed, 02 Aug 2023 02:50:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690969809; cv=none; d=google.com; s=arc-20160816; b=uQLJdElwQUpAda2ccChONR10LMLQk8VG7xWp1JIO+vFgi/0PvYNXBssXg6xbm+9hNk iPJg4D71Wai8atqAtYHtq/RbAnc13yjf1xQbSbkyBOh94A1hekxqmsyoZ7Tv297JtA/3 v7hvW4Ilt5TNQWp8tUSR5+WxyV915O56OwgclefeMutJBj9XjEslZ90QUSE40qUQfsnj Dadkcc25L3o204iT6nwbYT1YbCPqGAKm2zdlJknacPi6cHddh/xH3HLRCUXqneEfMl0A cm6i21FZGf9rFsLnvdFmBss3D2QQjcR2Pj7HTIjxz/nUGeoITQsI0bwDtoApdjC0L7Hc HryQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pWLSIC3/nU6pzu6ZHepqcBqMp6jMTF6iZIv0YAr16+A=; fh=+vUcU9Ka/zutQtgnWdg0fu+fF6W3G4xdx8y/5nL/YjU=; b=leUD3D+f6ZKHPUckK28BU3+zjw04K+SJ6LZdYJdlEteGl89t/akwPgr7R5b7Whyirc LRxg9DtuQta+aq1hc+a204DOiWj1HizWaQzZuNGXaKWfcsQR7lkRBpWpJONFAZejFrHp nvaFTRoNyE0/7+W3dIxBp9JiUVVpf10rLjcsmCl8y1JxPM2f2aaLlumZYMK6Hx2R38hk ojtuRtlWva/Zjj9ER7iwb0Xb57Wpq4JlvfEO25+YPTJ0eH+bLTlUFzkWl4KS2B07de06 GK6qJT2fXo1PpPLaGeDWT1EqryDjF3JYS8oWwSWT1WVvA3ss5Hx6QF9CJFB6ID+WRsMj +v8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HCuX+lDO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c8-20020a170902d48800b001b8a56b9895si8477898plg.616.2023.08.02.02.49.55; Wed, 02 Aug 2023 02:50:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HCuX+lDO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234040AbjHBJP3 (ORCPT <rfc822;maxi.paulin@gmail.com> + 99 others); Wed, 2 Aug 2023 05:15:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234028AbjHBJPP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 2 Aug 2023 05:15:15 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1711530CF; Wed, 2 Aug 2023 02:15:09 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3723ivs6023590; Wed, 2 Aug 2023 09:15:06 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=pWLSIC3/nU6pzu6ZHepqcBqMp6jMTF6iZIv0YAr16+A=; b=HCuX+lDOMFuIyf9Ip/n7G/q+8kGCQ04TW65imKXiEH0heU9X4LiPwO725H4j1xR9Ydg8 CTc7AnjtQQrjGa8FuFMU7g4V1H11Q803FsA6mF+9y6ZZ4w2awGpdK7MMKI/ssn2MH+g2 OX3HRgBilrJ+Zs3l5BoJl5XcV3PPPQXpOfGIBIbG4hfbBz2PvbqGv81O9+uLSO6k3bX8 qMVwvOmiNQWiGb9eOK4JQ/m05yQnsTmEzrAl7eCiKPZx05zn7CBpHNg/red1+CBr3FlQ U+Qj9LAqEyduYLFNoLZsL11GU5k6OA7UtZAIyO0J9xcqKH9G2kd92nWJ4tMSwA9NEs4l gg== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s75dg9yxh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Aug 2023 09:15:06 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3729F5Up009440 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 2 Aug 2023 09:15:05 GMT Received: from hu-kbajaj-hyd.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.30; Wed, 2 Aug 2023 02:15:01 -0700 From: Komal Bajaj <quic_kbajaj@quicinc.com> To: <agross@kernel.org>, <andersson@kernel.org>, <konrad.dybcio@linaro.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>, <srinivas.kandagatla@linaro.org> CC: <linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Komal Bajaj <quic_kbajaj@quicinc.com> Subject: [PATCH v6 3/6] nvmem: core: Add stub for nvmem_cell_read_u8 Date: Wed, 2 Aug 2023 14:44:25 +0530 Message-ID: <20230802091429.20892-4-quic_kbajaj@quicinc.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230802091429.20892-1-quic_kbajaj@quicinc.com> References: <20230802091429.20892-1-quic_kbajaj@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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-GUID: u-8HQtIffTA5g1i-oOIm-ytlDcDQkdj6 X-Proofpoint-ORIG-GUID: u-8HQtIffTA5g1i-oOIm-ytlDcDQkdj6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-02_03,2023-08-01_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 clxscore=1015 malwarescore=0 suspectscore=0 bulkscore=0 adultscore=0 impostorscore=0 spamscore=0 mlxlogscore=880 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308020080 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773110358788394531 X-GMAIL-MSGID: 1773110358788394531 |
Series |
soc: qcom: llcc: Add support for QDU1000/QRU1000
|
|
Commit Message
Komal Bajaj
Aug. 2, 2023, 9:14 a.m. UTC
Add the stub nvmem_cell_read_u8() function for drivers running with
CONFIG_NVMEM disabled.
Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
---
include/linux/nvmem-consumer.h | 6 ++++++
1 file changed, 6 insertions(+)
--
2.41.0
diff --git a/include/linux/nvmem-consumer.h b/include/linux/nvmem-consumer.h index fa030d93b768..5c88635d4c2b 100644 --- a/include/linux/nvmem-consumer.h +++ b/include/linux/nvmem-consumer.h @@ -125,6 +125,12 @@ static inline int nvmem_cell_write(struct nvmem_cell *cell, return -EOPNOTSUPP; } +static inline int nvmem_cell_read_u8(struct device *dev, + const char *cell_id, u8 *val) +{ + return -EOPNOTSUPP; +} + static inline int nvmem_cell_read_u16(struct device *dev, const char *cell_id, u16 *val) {