Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5146678rdb; Tue, 12 Dec 2023 23:20:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IEa3KQCLW6caGhSOfJsPei/WRBo3Gov8OgJba3IwKEFNNQjCVDpLA6PX9IOv7TD78nfKjJy X-Received: by 2002:a05:6808:1a06:b0:3b9:ef76:e06a with SMTP id bk6-20020a0568081a0600b003b9ef76e06amr9957640oib.50.1702452046013; Tue, 12 Dec 2023 23:20:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702452045; cv=none; d=google.com; s=arc-20160816; b=fY3TmQdrt3LVx4riytX4r5qNfq1UN4FzGAltPrMlabYswD5hEuEh/OzRSBEisXdH0M Pw99C7qeD3Cuc+TPjfvwuY/UlTUlN2f3bIqfgaqq/0zmMjmDsdbNecZUOSmZC38cbZyQ fgW4rqpWLl3vntqkRhCvITLamEUb/gn+2cJlsgr/RXVBB1pXoqJOVglw1L18CU6o6hEH QhjA/H1gSOhoCK8J6r61AvEy80vmByVvxh4nI9mXvzYBDw4QJ8GLKumhk45D38I+jW7g UzoC9EQXtpt/ks4Z4tN5GgUfP7RGk28jREZzXnDhjkaRYMeo6uf/7oRmcOZjAHTKUBss AfrA== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=Us9O2E/EOp4LFGB3r3Xwg2utQcDrwWyTbikZ6MeUl7c=; fh=Ich6BwpJAaU8F5/3Vl4Gxn16jStUbex8tnMggSN8hBc=; b=hrTg32Lem3HOs/RCkttewYrd1HKllWtDpmsz/y8j1KMUjs/zrx+0sITNtDP3OjOf61 gfAwyVLlNs+YU7VyJPPIOhSKQ06/563beYKSOsamIgpgRndMVJzDznl72aj2WrSu0S9s k8hnDbPLnCuER+uECZvRG8OrlFKkkidZjK3otW1hZMPh4/HN1qQe/dF1dujvNLTh459C YlrqIqvBdY0Cx5KItTFBb/5G1hQWNOugwTYQ7Clyf/ukcML/4Sm6Ygu1A0Gpsot62kFG HH9Z7ShB6z4AmCkiSrTBHkVtvIfSgaG/WFGuH+sHFVfUcQVuYfivI2+K4USqkigrbBiI 9z/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kkwbyo+z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id f20-20020a056a00239400b006d0c02f0070si1219417pfc.353.2023.12.12.23.20.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 23:20:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kkwbyo+z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 9D6768088A60; Tue, 12 Dec 2023 23:20:42 -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 S233114AbjLMHU0 (ORCPT + 99 others); Wed, 13 Dec 2023 02:20:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233145AbjLMHUY (ORCPT ); Wed, 13 Dec 2023 02:20:24 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A22DD0 for ; Tue, 12 Dec 2023 23:20:30 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40c2bb872e2so61523625e9.3 for ; Tue, 12 Dec 2023 23:20:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702452028; x=1703056828; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Us9O2E/EOp4LFGB3r3Xwg2utQcDrwWyTbikZ6MeUl7c=; b=kkwbyo+zPIh9dr81j4epomuxDqOEQo1devVudYbJ2LX4r9dQH2qMoI5VH+fJQQPPq/ k/0E2E0hBsReiUNtDtOAf/zK2xR4lNS4I3JcXdQO4PuG1O4FClH0jOiue9xwYeh7dPSE SxjcHNgKPo+vopaw524avMbZzmdtH8zvJPJ2k6KI4nGupfel9822vqTslOngDQYquW0T T3/t/hWEn2I8bzExxRxo0LKw0H02DhgPYHD4Y8xqLcO/QhMwEbdvpcayekge23eUV9hR eP6LCTMwptakdDgcfwHFoGlSgL3YrmlBp+11ADHZ4BTThxirzrYtfAe05jEm9O/UtsiD rUQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702452028; x=1703056828; h=content-transfer-encoding:in-reply-to:autocrypt: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=Us9O2E/EOp4LFGB3r3Xwg2utQcDrwWyTbikZ6MeUl7c=; b=AVe1FbaNMbeD9WbHwBzZNQ7tiTw6zj59JCPgdsUBzgSI+0c274nFxHonjvKcjMqzuT REVfbEP7Gepheh8yH4wEpQpfv+9fwmPWHg65QDxgjU2VJRRA437LoqVs4XNl+lK6KHzW Vl4Wp93Sg9CZVafeqt3SXK8xvcmPAQI8mlDVjhABbKfFJ3xMwvJwSaM8cKaXY4TGqIpQ e35sSJg40JmcOEXbb072BH38YpQ1eykjSMs2jxIoSV/F3d8R60vWvtWM0hUlN6G8+9Ce BTuj6Fm3J9oAozVgnSfcujuDlhkv6KxY6F6X3hkvBXNwM3wg+xGJV4n0B1XbfnoxmS2V b51w== X-Gm-Message-State: AOJu0YwSuC7UM0cl0cB+NrlqtSysU1OybTNq0HKogAoFXQ0Q4KVhkdfU C9eXPItnf2xye3uBmC9hV0PENpA1nVwJ7ycSdd8= X-Received: by 2002:a05:600c:548a:b0:40c:28fa:a630 with SMTP id iv10-20020a05600c548a00b0040c28faa630mr2057579wmb.218.1702452027884; Tue, 12 Dec 2023 23:20:27 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id v6-20020a05600c444600b0040c4886f254sm9332771wmn.13.2023.12.12.23.20.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Dec 2023 23:20:27 -0800 (PST) Message-ID: Date: Wed, 13 Dec 2023 08:20:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 08/14] ARM: dts: aspeed: yosemite4: Revise i2c11 and i2c12 schematic change Content-Language: en-US To: Delphine CC Chiu , patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <20231211054730.208588-1-Delphine_CC_Chiu@wiwynn.com> <20231211054730.208588-9-Delphine_CC_Chiu@wiwynn.com> From: Krzysztof Kozlowski Autocrypt: addr=krzys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OD4BfWEcVUqa+XdUEciwG/SgNyxBZepj41oVq FPSVE+Ni2tNrW/e16b8mgXNngHSnbsr6pAIXZH3qFW+4TKPMGZ2rZ6zITrMip+12jgw4mGjy 5y06JZvA02rZT2k9aa7i9dUUFggaanI09jNGbRA/ABEBAAHCwXwEGAEKACYCGwwWIQSb0H4O DFH41ZZ3t1Qbk0N9O0FimwUCYDzvagUJFF+UtgAKCRAbk0N9O0Fim9JzD/0auoGtUu4mgnna oEEpQEOjgT7l9TVuO3Qa/SeH+E0m55y5Fjpp6ZToc481za3xAcxK/BtIX5Wn1mQ6+szfrJQ6 59y2io437BeuWIRjQniSxHz1kgtFECiV30yHRgOoQlzUea7FgsnuWdstgfWi6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20231211054730.208588-9-Delphine_CC_Chiu@wiwynn.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,WEIRD_QUOTING 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]); Tue, 12 Dec 2023 23:20:42 -0800 (PST) On 11/12/2023 06:47, Delphine CC Chiu wrote: > Revise i2c11 and i2c12 schematic change: > - remove space for adm1272 compatible > - enable interrupt setting for pca9555 > - add eeprom for yosemite4 medusa board/BSM use > - remove temperature sensor for yosemite4 schematic change > - add power sensor for power module reading Way too many changes in one patch. Especially mixing fixes and new features is bad. Please don't. > > Signed-off-by: Delphine CC Chiu > --- > .../aspeed/aspeed-bmc-facebook-yosemite4.dts | 118 ++++++++++++++---- > 1 file changed, 93 insertions(+), 25 deletions(-) > > diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts > index da413325ce30..ccb5ecd8d9a6 100644 > --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts > +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts > @@ -821,41 +821,94 @@ imux29: i2c@1 { > &i2c11 { > status = "okay"; > power-sensor@10 { > - compatible = "adi, adm1272"; > + compatible = "adi,adm1272"; > reg = <0x10>; > }; > > power-sensor@12 { > - compatible = "adi, adm1272"; > + compatible = "adi,adm1272"; > reg = <0x12>; > }; > > - gpio@20 { > + gpio_ext1: pca9555@20 { That's wrong name. > compatible = "nxp,pca9555"; > - reg = <0x20>; > + pinctrl-names = "default"; > gpio-controller; > #gpio-cells = <2>; > - }; > - > - gpio@21 { > + reg = <0x20>; > + interrupt-parent = <&gpio0>; > + interrupts = <94 IRQ_TYPE_LEVEL_LOW>; > + gpio-line-names = > + "P48V_OCP_GPIO1","P48V_OCP_GPIO2", > + "P48V_OCP_GPIO3","FAN_BOARD_0_REVISION_0_R", > + "FAN_BOARD_0_REVISION_1_R","FAN_BOARD_1_REVISION_0_R", > + "FAN_BOARD_1_REVISION_1_R","RST_MUX_R_N", > + "RST_LED_CONTROL_FAN_BOARD_0_N","RST_LED_CONTROL_FAN_BOARD_1_N", > + "RST_IOEXP_FAN_BOARD_0_N","RST_IOEXP_FAN_BOARD_1_N", > + "PWRGD_LOAD_SWITCH_FAN_BOARD_0_R","PWRGD_LOAD_SWITCH_FAN_BOARD_1_R", > + "",""; > + }; > + > + gpio_ext2: pca9555@21 { Node names should be generic. See also an explanation and list of examples (not exhaustive) in DT specification: https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > compatible = "nxp,pca9555"; > - reg = <0x21>; > + pinctrl-names = "default"; > gpio-controller; > #gpio-cells = <2>; > - }; > - > - gpio@22 { > + reg = <0x21>; > + interrupt-parent = <&gpio0>; > + interrupts = <94 IRQ_TYPE_LEVEL_LOW>; > + gpio-line-names = > + "DELTA_MODULE_TYPE","VSENSE_ERR_VDROP_R", > + "EN_P48V_AUX_0","EN_P48V_AUX_1", > + "MEDUSA_BOARD_REV_0","MEDUSA_BOARD_REV_1", > + "MEDUSA_BOARD_REV_2","MEDUSA_BOARD_TYPE", > + "HSC_OCP_SLOT_ODD_GPIO1","HSC_OCP_SLOT_ODD_GPIO2", > + "HSC_OCP_SLOT_ODD_GPIO3","HSC_OCP_SLOT_EVEN_GPIO1", > + "HSC_OCP_SLOT_EVEN_GPIO2","HSC_OCP_SLOT_EVEN_GPIO3", > + "ADC_TYPE_0_R","ADC_TYPE_1_R"; > + }; > + > + gpio_ext3: pca9555@22 { Please fix it everywhere. In this patch and all your future patches. I keep repeating the same feedback... Best regards, Krzysztof