Message ID | 20230810061140.15608-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:b824:0:b0:3f2:4152:657d with SMTP id z4csp229589vqi; Wed, 9 Aug 2023 23:53:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGXzdgXwtRGSYrSMQk6EaPs7wAGpoFKlspOVS3U+qYyAoWAjOm7D8kssJjFqxB3N58LdvuB X-Received: by 2002:a17:902:e891:b0:1b1:7362:9a18 with SMTP id w17-20020a170902e89100b001b173629a18mr1545476plg.27.1691650406404; Wed, 09 Aug 2023 23:53:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691650406; cv=none; d=google.com; s=arc-20160816; b=s1qm7UlrzjKehaE2AcPOUUROZBrtArjbADPnbCtoRifRlH/S1Cyo/7m+pT46nr6lhB g0KMYdozT3em6s1bLRuwSb2KLyY0hlr1bOzMo7PK+CPm2NNg7rLvlEpivC4F7OkqB/tK WU9/2GIrHWHFLEzbwaGsW6VT4r/JQXBkVWQzdRf8Y5oinyNMrw3Ng0oNX1YVaAPhQmnS 5tzlIwE5fiRFiIFzeYguvQjOP9hqjgXNzn47IKa1uqRhmkCMSXEWT81Swgx153PBjPfr w39VIUjmAU22ZK0NqOpfk2ere+w+adAIzv3nQrH395iFOy9u9UFa7j76ONNHc2KLvxaE AyeA== 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=BmqAuKVJzKRAF26fKpu9WNgnGDr8KLoZBvH0b0lEEkpBhhHtJghqUmw11UO5geW4nZ utsH6PfEIyMHCuMDcQKD2Q6ZvDmf0YVN8OTBru7NG70KhNnzf4meTNgq4JoxayoPvCrp 4ISFSbhMvAOD40/FEYVrQFF6WombkvXt+cCEFYStGXxy/VRAyWYqeuaQA4kAK23v6Yot 4rfkWUjnlJY/idafsS55nIcCvJcDJchAocHyqof3Efq3vSsQV18lP0BpDNHu+H0r92ks kFIUwhwJjfcAK0yVu/ST2b5H44f2wo36LRgh4L+cNLusNlc11q9fhr6/he8G4zsBr9bu 4B3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PCRlWnYz; 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 n17-20020a170903111100b001bb9e2c38ecsi933304plh.264.2023.08.09.23.53.12; Wed, 09 Aug 2023 23:53:26 -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=PCRlWnYz; 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 S233386AbjHJGMZ (ORCPT <rfc822;craechal@gmail.com> + 99 others); Thu, 10 Aug 2023 02:12:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233490AbjHJGMW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 10 Aug 2023 02:12:22 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F7DA213F; Wed, 9 Aug 2023 23:12:22 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37A5ZoF4012797; Thu, 10 Aug 2023 06:12: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 : content-type; s=qcppdkim1; bh=pWLSIC3/nU6pzu6ZHepqcBqMp6jMTF6iZIv0YAr16+A=; b=PCRlWnYzXH1HiMJFedSaq/Irs9ydgXq7JxkIT5kQa+Ti7sguromK3tZ0DH7nX6CheR4t jy9QpkkihFLsToV0RcUj5IszVAb3DSfAKOTNuC6YnuZ88bSbUBNwb3ePB4ZFGqgnmrwz dbbe02z3O/m2Gax4oOa8tXOR2keNKAoIIzRG856t3gGhq7cwbGPuMvrk97DPjijs5KCO ExT1PS3t6YZNXhvcNu2/y+JtINFyFp7GjHefiOoysUO7SzQXwQ2ARLe7kxyGqJ15pFyh uHvOgunYvXEgwrNxa+dFGUlNb6RB1atGJgicC6BbSu7Vu33o+zufW1vj40by3G/3qTaL rg== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3scsurr1ww-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Aug 2023 06:12:16 +0000 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 37A6CGbW014533 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Aug 2023 06:12:16 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, 9 Aug 2023 23:12:12 -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 3/6] nvmem: core: Add stub for nvmem_cell_read_u8 Date: Thu, 10 Aug 2023 11:41:37 +0530 Message-ID: <20230810061140.15608-4-quic_kbajaj@quicinc.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230810061140.15608-1-quic_kbajaj@quicinc.com> References: <20230810061140.15608-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: 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: YQ8CXanNS76e0MQVdkw-7XnCpLFxxwHS X-Proofpoint-GUID: YQ8CXanNS76e0MQVdkw-7XnCpLFxxwHS X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-10_05,2023-08-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 malwarescore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 spamscore=0 adultscore=0 clxscore=1015 mlxlogscore=876 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308100051 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 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: 1773824016287477563 X-GMAIL-MSGID: 1773824016287477563 |
Series |
soc: qcom: llcc: Add support for QDU1000/QRU1000
|
|
Commit Message
Komal Bajaj
Aug. 10, 2023, 6:11 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) {