Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6111120rdb; Thu, 14 Dec 2023 08:33:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IF6KPKYfCrs9fWvFalpKGWBcErO8RxXzd9ngA1oLfKpdQ8nPqFPebr2mnRXIilGjHCTPCTq X-Received: by 2002:a05:6a20:2593:b0:190:8c90:c317 with SMTP id k19-20020a056a20259300b001908c90c317mr11507892pzd.79.1702571629374; Thu, 14 Dec 2023 08:33:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702571629; cv=none; d=google.com; s=arc-20160816; b=p1XXusoOqQby/ImSOOo48mc0b91fN59FK5FTFBvBK7LUVrnhCdkpeTaDYaK+LtXzho J9Uvvapfv+aa/HU3f9bzGbn/kRlJG8OuyK+fmOsTFwefog+Mz7W8OSeBGI1aVswgX+1o BcVQHpMnMIKt9cQkbao3mz0amtQT8wVGEaOlzQ5zekCpKz6U5lrxNCAvZXJVaQ6Z5dJv 8pPVkmY3ymDbVn30+oEnEihgYxrZLpv2zz4rRKowUHBj3OFPDjMXkHUFiuEJ6W+2S1rK X4hXNUBArMLCaFeyubz53BnmaBX6MqmokeTJ53hrYHnOCcYfIRLG6rjDiSIjZLDwSWQW UePA== 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=k0KaS28pCt49kw9+p3L44QcYWFnIp+iPqyK7JQMB9g8=; fh=0RXA0Ivym71qzChwCXT1CG8DK+C6B6AxYNFVkflwj5c=; b=ppdCSyBYryOm66Qa7ETsGaiob8Auc6PwkA3gofMgRLaOssAhba2q0qSdOUChvntm4N yDjvrqfOFtfn55/jD7W8IFZLA4q5yhUzFpHLaze5kJTDkONj8TqecHdVoweQpLao4n7d 6YyOzfvzSiSDF/98aS/pESytWzo6gmV8MLWQEZ/rMuI3BHP5Uwg6gLZZJ7XLyu91SoS1 3+jyu6EyMBCnmpQtAawWlzMTK0sSbZ2e1lySrVwN9ZgI2cg+/ZG1PFkLXurP4/4I4j/6 JHX8T1EC8w8xwyUHpT3oEOswD4HPPh8b0UAd4Xqm9AbMB7DJTSKOn4mSr+t17jbuv4Oa krxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=WbnAA5Ni; 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 f1-20020a6547c1000000b005bdbd1b52d4si11082210pgs.270.2023.12.14.08.33.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 08:33:49 -0800 (PST) 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=WbnAA5Ni; 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 65D90825EDB0; Thu, 14 Dec 2023 08:33:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229599AbjLNQdY (ORCPT + 99 others); Thu, 14 Dec 2023 11:33:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjLNQdX (ORCPT ); Thu, 14 Dec 2023 11:33:23 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4D36A6; Thu, 14 Dec 2023 08:33:29 -0800 (PST) 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 3BEGNpfb010000; Thu, 14 Dec 2023 16:32:47 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=k0KaS28pCt49kw9+p3L44QcYWFnIp+iPqyK7JQMB9g8=; b=WbnAA5NiNCBVwTq/DRIYImrYFEPSxxVbIoEeLXgDg52nN3jp3kXnLiVm2CfnCh/xC0XS uqs4M2/57DXguWWOAHtgWlmqGaA9hSlPoxgHvOtYEessd/axv6/g2QbqQ4pLd50W3BLR nJRDs41b8XU6a4fOOlrte6HQ7ygk2NAyhXkvD7fCuw2ZNTdawzqataNh/UdXhQ0tzCpT uxllSKmVqsvpmtaig+gq/UrTa0/WQ9f8+oW9p10hz0N2UFOM+YfAt3EjDH/37KDGLcTh YtsqXqHX/YDEXd+Nxb7KXcxXDlPjXBSguoe82WDU97HldaVhWfjENixBjMyjS+IbOQ+n hQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3v03b34rc8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 16:32:47 +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 3BEGO45B012186; Thu, 14 Dec 2023 16:32:46 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 3v03b34qmg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 16:32:45 +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 3BECe18w014799; Thu, 14 Dec 2023 16:31:00 GMT Received: from smtprelay03.wdc07v.mail.ibm.com ([172.16.1.70]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3uw42khd6b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 16:31:00 +0000 Received: from smtpav05.dal12v.mail.ibm.com (smtpav05.dal12v.mail.ibm.com [10.241.53.104]) by smtprelay03.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3BEGUxZf10551814 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 14 Dec 2023 16:30:59 GMT Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9026358065; Thu, 14 Dec 2023 16:30:59 +0000 (GMT) Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BC26458052; Thu, 14 Dec 2023 16:30:55 +0000 (GMT) Received: from [9.67.23.198] (unknown [9.67.23.198]) by smtpav05.dal12v.mail.ibm.com (Postfix) with ESMTP; Thu, 14 Dec 2023 16:30:55 +0000 (GMT) Message-ID: Date: Thu, 14 Dec 2023 10:30:55 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 5/8] ARM: dts: aspeed: System1: Voltage regulators Content-Language: en-US To: Krzysztof Kozlowski , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca, keescook@chromium.org, tony.luck@intel.com, gpiccoli@igalia.com, johannes.holland@infineon.com, linux@roeck-us.net, broonie@kernel.org Cc: patrick.rudolph@9elements.com, vincent@vtremblay.dev, peteryin.openbmc@gmail.com, lakshmiy@us.ibm.com, bhelgaas@google.com, naresh.solanki@9elements.com, alexander.stein@ew.tq-group.com, festevam@denx.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, linux-hardening@vger.kernel.org, geissonator@yahoo.com References: <20231212164004.1683589-1-ninad@linux.ibm.com> <20231212164004.1683589-6-ninad@linux.ibm.com> <6a3d4551-66a2-411a-9d5f-cffb57ee0ce2@linaro.org> From: Ninad Palsule In-Reply-To: <6a3d4551-66a2-411a-9d5f-cffb57ee0ce2@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: kuNvJNdtavC_dao6iJnMFctwdS96DrLO X-Proofpoint-GUID: Tzj1hExUyDRdIPxL0IVPxnja4Z1KmH3A 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-14_11,2023-12-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 mlxscore=0 suspectscore=0 phishscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 mlxlogscore=999 clxscore=1015 bulkscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312140117 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,T_SCC_BODY_TEXT_LINE 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, 14 Dec 2023 08:33:46 -0800 (PST) Hello Krzysztof, On 12/12/23 14:22, Krzysztof Kozlowski wrote: > On 12/12/2023 17:40, Ninad Palsule wrote: >> This commit adds different voltage regulators. >> >> Tested: >> This board is tested using the simics simulator. >> >> Signed-off-by: Ninad Palsule >> --- >> .../dts/aspeed/aspeed-bmc-ibm-system1.dts | 266 ++++++++++++++++++ > Squash it. Done. > >> 1 file changed, 266 insertions(+) >> >> diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts >> index 0557bff9f36a..b8e7e52d4600 100644 >> --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts >> +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts >> @@ -114,10 +114,127 @@ vga_memory: region@bf000000 { >> }; >> }; >> >> + iio-hwmon { >> + compatible = "iio-hwmon"; >> + io-channels = <&p12v_vd 0>, <&p5v_aux_vd 0>, >> + <&p5v_bmc_aux_vd 0>, <&p3v3_aux_vd 0>, >> + <&p3v3_bmc_aux_vd 0>, <&p1v8_bmc_aux_vd 0>, >> + <&adc1 4>, <&adc0 2>, <&adc1 0>, >> + <&p2V5_aux_vd 0>, <&adc1 7>; >> + }; >> + >> + p12v_vd: voltage_divider1 { > Same comments as in other patches. Fixed. > >> + compatible = "voltage-divider"; >> + io-channels = <&adc1 3>; >> + #io-channel-cells = <1>; >> + >> + /* Scale the system voltage by 1127/127 to fit the ADC range. > Use Linux coding style comments. /* and blank line Fixed. Thanks for the review. Regards, Ninad > > > .... > > Best regards, > Krzysztof >