Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1230077rdb; Wed, 20 Sep 2023 03:33:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF7gE+N4bjVUg51wTY2Hu1X525YdK/2w812pyJHLgnjGGeVf9qmtDSDVOooAW0MHTKE0+Ex X-Received: by 2002:a05:6a20:3d91:b0:14c:a53c:498c with SMTP id s17-20020a056a203d9100b0014ca53c498cmr2475133pzi.10.1695206028544; Wed, 20 Sep 2023 03:33:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695206028; cv=none; d=google.com; s=arc-20160816; b=X2tog7Ml6Kt9hdHjGxRXqExvdlexYmzAKrqLuaBRJnB1goq1BRubeqI/Xy/7km97Xm Rm2SUPzKS/Zr0k8rweyDBF5F1GMevqJG5GPSXAQCCt+Yjbh/GXFRAOJoeW83IrKchyBa Eax4Bp7wzdmbxGsA2hq3ZrJR1Z9kDNtSu+QoHJL3p7KR3ta8ucPekg36OfmxxjnLqamJ tIyPl3DQkJ8ap5aJvgpcP0qNtUzvbFdQTCxhpRL7k7yiYzlB5heWkVsIjCE99UZZIi5a 0B0TUfdM7WtDzC4I88p7hv8DfsNNc/fGsf5BQL0H4Ohqt5mm6eq0o20DDIGZA3hNC3MV zCog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Gh6bN/XfsrzCsTKkHAHoaKxBwUi0FWCvO6Qlvt6FoGE=; fh=W/gWG0kIv6nyEh4u34XEIPtytRUGaukRaWih/VVcVB4=; b=EOdr660+FG1vokJuEtvgC8b42/zLf4jHUj95bb9uLlwqhPtUo0bLBkQE2ANIvLy0tZ IM62ZDIE/PZsuOZa0iPPjKbfXl3Kq3cSyPoNUOzuhAy/Sav9gTmbAqjg9O7RV6C5RFdO m2OIwDnCjJKkiyE9oYjlWKZiiEqXZ1uZ1IOi+2jiKxv/BvZDOCx34MTJmwYcd5IZdi+X Amhx7F+0lFyQmuAjl0VYM93m+BzjcanfKdmbMXwsXpebf3jySFoXT/Szbw8UksPb8+Hk vPP6IASIR/yfxLoEUu4YSip0c6xrM4+/e0H2/bFzHPwzkSsDQS89q8FJdtu7LfJI/yl7 AQ/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FQ9t6Wvx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id b15-20020a170903228f00b001a6ef92d441si12166541plh.599.2023.09.20.03.33.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 03:33:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FQ9t6Wvx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id B99EB80AD13E; Wed, 20 Sep 2023 00:24:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233740AbjITHYq (ORCPT + 99 others); Wed, 20 Sep 2023 03:24:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233739AbjITHYi (ORCPT ); Wed, 20 Sep 2023 03:24:38 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9680F1 for ; Wed, 20 Sep 2023 00:24:24 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9ad8d47ef2fso821227666b.1 for ; Wed, 20 Sep 2023 00:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695194663; x=1695799463; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Gh6bN/XfsrzCsTKkHAHoaKxBwUi0FWCvO6Qlvt6FoGE=; b=FQ9t6WvxuVlk/47MWJ2FS+avZ3nndh95dLIb2rQCOsIdD0QUtf7Jl3uArODoSC1wCR VVXemckB7nu2KHJblXddSclH1SG0CL4Y3c4zOT6xYelrBgpISeocLhR2Y8W8qmYtl4n2 1ztXuHxue9IvwXsQA5W2JoEsqWxYRHETkPpNmERwI8kMKuTXJB7OlGhSGB5Uk9k+n25O vh/DVj/V8UvGv772kiuSuQzSLnMdYutWBuLJiM8ObpMfiJME6H5KqL3syG+NkNxkuO1v EXNz8QGVK//8NLThj1C0UxuzZU6AYsbxT25c1lVljSiDlPjTYTjigCfSh/SzhKfBzhc/ Uhjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695194663; x=1695799463; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Gh6bN/XfsrzCsTKkHAHoaKxBwUi0FWCvO6Qlvt6FoGE=; b=k+KNTixYGNW2qIl4soeZnRkIIokU4s0SnClCk7BdtQ3KHpbuhJ66WFwfML8BRFajKR /kKhXTahBXTa4qQlXier2IoFBPFjI4yJIsSNO/I6PD0fack2q7wurZ7tn9kH0Gq1kMM8 sDjNGGbI9VNQgf/R1uuWiB8EFiGFMrZ2azXy/gtJZylIrhlg8yGpYueZ7sPbKpItIH11 GaBdIhKLrTZURwSa6nP8s2JU+hw25V5R9BqMSuUZL4mcmY3i78XJdaMPba6AkbMhHoNi jCl9noflRsv3umvDoVXpWDTBMDxT8kHwmKiAVryDwwoaNCSCyp55jQGk+CutSl1deQex KTOg== X-Gm-Message-State: AOJu0Yw3rZNmA4HbNSrvL9H7uJryUyxVgIZdCs3H2KDq9djqyGzqZILo 5V/kSrLpl+6vfc+NJkp7vzg/gw== X-Received: by 2002:a17:906:1053:b0:9ae:4d6d:ba4f with SMTP id j19-20020a170906105300b009ae4d6dba4fmr514445ejj.42.1695194662816; Wed, 20 Sep 2023 00:24:22 -0700 (PDT) Received: from [172.20.63.174] (static-212-193-78-212.thenetworkfactory.nl. [212.78.193.212]) by smtp.googlemail.com with ESMTPSA id jx10-20020a170906ca4a00b009ae3e6c342asm1256419ejb.111.2023.09.20.00.24.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Sep 2023 00:24:22 -0700 (PDT) Message-ID: <9575d7d8-83dc-5814-ced0-46d49eeded84@linaro.org> Date: Wed, 20 Sep 2023 09:24:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH v8 3/6] nvmem: core: Add stub for nvmem_cell_read_u8 Content-Language: en-US To: Bjorn Andersson , Komal Bajaj Cc: agross@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, bryan.odonoghue@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230830105654.28057-1-quic_kbajaj@quicinc.com> <20230830105654.28057-4-quic_kbajaj@quicinc.com> From: Srinivas Kandagatla In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 20 Sep 2023 00:24:45 -0700 (PDT) On 13/09/2023 21:27, Bjorn Andersson wrote: > On Wed, Aug 30, 2023 at 04:26:51PM +0530, Komal Bajaj wrote: >> Add the stub nvmem_cell_read_u8() function for drivers running with >> CONFIG_NVMEM disabled. >> >> Signed-off-by: Komal Bajaj > > Srini, do you have any concerns with me taking this together with the > remaining patches through my tree? It works for me. Acked-by: Srinivas Kandagatla --srin > > Regards, > Bjorn > >> --- >> include/linux/nvmem-consumer.h | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/include/linux/nvmem-consumer.h b/include/linux/nvmem-consumer.h >> index 4523e4e83319..6ec4b9743e25 100644 >> --- a/include/linux/nvmem-consumer.h >> +++ b/include/linux/nvmem-consumer.h >> @@ -127,6 +127,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) >> { >> -- >> 2.41.0 >>