Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp597936rdg; Thu, 12 Oct 2023 15:19:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE/36gOuZX+cxXl2N3LE8HWzF6Z2nB7JA7b9mmTGDaI60WGPMsIpecI8fg+r0YJfqc95YDo X-Received: by 2002:a05:6830:849:b0:6bc:f328:696e with SMTP id g9-20020a056830084900b006bcf328696emr24632532ott.0.1697149141888; Thu, 12 Oct 2023 15:19:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697149141; cv=none; d=google.com; s=arc-20160816; b=mOYl7QiZjL+vVgi/F/j+cPmSo6Gh2NYmdfbmyfxBXl/8HDHea5Fwj67Qn0Ky/lwPvy KU8puiooV5X52B2I8Nn/93E866zFAYj8cp8p6FqA4oTFVHalOSRwx/DdjEAM/Fn/FzcW PsCeDwtaoMF2512DMp+diltCZlZRCQswurmlqn1EVNiFLnaojMD2NOJSZk+yaK25vfKu v7O6MfRwJbNl9P3DNNcBFq3MLjTneep7c6NQdhzaWsho1ag8KoZ1gG1VOAgCwbuL7Tx0 zam3nLYLcrfsBtZ4FdpIpyeXC1tXHKrL4JIKTElW8uLDUEPauVhve5kJtqU8n3EFg6wN OKdA== 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=vZaWFe467NA9vHpyizU+95xwYEOfJBJkdIfg6VnPuGA=; fh=384L5zSIITY/muj1GgPBsdqCelV0Y2b1HnDZb6QKWWs=; b=f2McCy3l5EJEiTDqRQtg2yA6Ljc+zVvUk1XA1oJkFNwIStE0leIw5lD+rF1sM/9uzh y9rfaWmRvpNKNwGHb+jWRAdtLmolhPizQDU6aWmcyS/+LeHpjhQHZLsl3cea2vv4jwkt 3GzEij5JdRYhYP18ldBO9pb2pewXZBeBEHyWkQKlquxis6BGXmpeQhsTXTOBH2P8p/yE +izGbszA/4IEGYP2KmovVC2jxg3A1ifviFk8h2KgXa9eAf8zCRxwDtAz2e3DucOO8QBt XGBPnHhv6D5AbWw4vGz2fP5+6W/H2XhsbCcQYb0ZR8XnajtZyT8b350ePT9QzlyH/Rmg BTXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="myc4x/4C"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id ea23-20020a056a004c1700b00690d79b95f7si15212252pfb.288.2023.10.12.15.19.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 15:19:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="myc4x/4C"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 1FE0E8260ED0; Thu, 12 Oct 2023 15:18:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443026AbjJLWSw (ORCPT + 99 others); Thu, 12 Oct 2023 18:18:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443017AbjJLWSu (ORCPT ); Thu, 12 Oct 2023 18:18:50 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B64A7DC for ; Thu, 12 Oct 2023 15:18:47 -0700 (PDT) Received: from pps.filterd (m0353726.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39CLvSdq013683; Thu, 12 Oct 2023 22:18:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=vZaWFe467NA9vHpyizU+95xwYEOfJBJkdIfg6VnPuGA=; b=myc4x/4C32syWkymHXJzv2H5yBucDFuDIhX7oQqlNTPaWMWtu4DN5T2tpiPMCZLlBMRx t1DYpte/OzFdrKbzCylZi3wqPsxdvtw98XW6mWz0mB6iqx+GJw36VAmY7prd+N+zg/0I mZZnZRtv9ed1UGvkfOxCxJHZW+wh8ab0xgLZ6ZUBItxmYseLD/S98PQPLTZFyTunCKmN vJH66pG5vgm9Q760aFmz8nEwFJE9Ub0CcYTmAUURLVL9aTx85idaul0IsBglQVpKL9zf 3QXLoG02dGN2kbqP93y7jny48PGWhiWYQvXss7GcIdddENmTZZ9Qkz1SN/dpvg17nxUq +w== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3tps5tgjh3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Oct 2023 22:18:38 +0000 Received: from m0353726.ppops.net (m0353726.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 39CMAQYl025426; Thu, 12 Oct 2023 22:18:37 GMT Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3tps5tgjgt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Oct 2023 22:18:37 +0000 Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 39CL0mSC000640; Thu, 12 Oct 2023 21:45:50 GMT Received: from smtprelay07.dal12v.mail.ibm.com ([172.16.1.9]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3tkk5m2cq1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Oct 2023 21:45:50 +0000 Received: from smtpav03.dal12v.mail.ibm.com (smtpav03.dal12v.mail.ibm.com [10.241.53.102]) by smtprelay07.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 39CLjnWW35717492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Oct 2023 21:45:49 GMT Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7886B58060; Thu, 12 Oct 2023 21:45:49 +0000 (GMT) Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3191158056; Thu, 12 Oct 2023 21:45:49 +0000 (GMT) Received: from [9.61.9.6] (unknown [9.61.9.6]) by smtpav03.dal12v.mail.ibm.com (Postfix) with ESMTP; Thu, 12 Oct 2023 21:45:49 +0000 (GMT) Message-ID: <4ecd19e5-9dfa-4157-9384-92c722064b2e@linux.ibm.com> Date: Thu, 12 Oct 2023 16:45:48 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] regulator: core: Convert warning to debug print Content-Language: en-US To: Mark Brown Cc: joel@jms.id.au, eajames@linux.ibm.com, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, lakshmiy@us.ibm.com References: <20231012174235.2424670-1-ninad@linux.ibm.com> From: Ninad Palsule In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: Ur2C_DrL1dzqR1PcoOSAxb7sbw5Vr4nB X-Proofpoint-ORIG-GUID: w0wfcMLGYo3YhNGWCIKXPw4Qww0g076j X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-12_14,2023-10-12_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 lowpriorityscore=0 adultscore=0 priorityscore=1501 phishscore=0 mlxscore=0 spamscore=0 impostorscore=0 bulkscore=0 clxscore=1015 mlxlogscore=858 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310120187 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 12 Oct 2023 15:18:59 -0700 (PDT) Hello Mark, Thanks for the review. On 10/12/23 12:47, Mark Brown wrote: > On Thu, Oct 12, 2023 at 12:42:35PM -0500, Ninad Palsule wrote: >> There are some boards without the vcc regulators for eeprom or other >> devices. In such cases, we should not see the following warning and >> this confuses the user. We want to see this only when it is compiled >> with CONFIG_REGULATOR_DEBUG option. >> [0.747347] at24 6-0055: supply vcc not found, using dummy regulator >> [0.752877] pca953x 6-0074: supply vcc not found, using dummy regulator > This is a warning saying that the firmware description for the system is > incomplete in case things go wrong later - it is vanishingly unlikely > that these devices actually do not require supplies, we'd probably have > heard about it if they did. If a supply is not described properly we > may for example decide to power off what we think is an unused supply > with bad results. You are right there are regulators for these supplies but they are managed by the hardware hence not added in the device tree. I checked dts/aspeed directory and non of the machine has “vcc-supply” defined and lot of them use eeprom. Also, I thought that this message is only useful in the lab to indicate developer whether they missed the device tree definition or not but its not useful in the field.  Hence proposed to put it under DEBUG. Please let me know if I missed something. Thanks! ~ Ninad