Message ID | 20230418152824.110823-9-nick.hawkins@hpe.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2943932vqo; Tue, 18 Apr 2023 08:34:32 -0700 (PDT) X-Google-Smtp-Source: AKy350bf+TwJyLTTQxMt57fQDFwynj1Jz+qPAZ1LH92jaFbvmUeZ3l6VzGGtf//VCMmYrXswCuof X-Received: by 2002:a05:6a20:9f4a:b0:ef:7d7b:433b with SMTP id ml10-20020a056a209f4a00b000ef7d7b433bmr103833pzb.41.1681832071731; Tue, 18 Apr 2023 08:34:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681832071; cv=none; d=google.com; s=arc-20160816; b=sCi+cV98OSvyey2/OyhgdTMF+ybSF+1xM0Fq5eNc6Nz2LDvDHEu0Hgzf+07qywRs+H Nz6qm2yHxXqLoAdTRQcAoEygu25fEj7zX/fzx+WVJsSF5VenesBWHjrC6nufjUZiP8w3 25wLeHsp/3cOFkGyCy7p6Q7kVzBErPrJIZSq2WU4oo7msgmdv2er6hWyz35BaIcIf97u RV4a5pnX42GXaKxRa3HDAfN3UX4qyEsBGA0ECCrKVYKc3d3IfK7qrJLTVVPBehV0ipU6 Qbf3j4naX/4pFaDsm/iShsUWEgw4JqcKYwWpoPk0tzEdDFjrZFmbSw3iiiKu2D/arsTY J57A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :to:from:dkim-signature; bh=udJUGzMSVaHDnnkvuLdXTpjSOcpZW6ZG9k7fYYe6uL8=; b=jMBFOFTcEMw1tAas2pQpNLoABxpRVk86uTCl7hJMaiN9g7YRI504geQBVso74ikIDr wLEjxaymtygY+K3mfR0X8CwvyKu3XVBXJ76HRgMaUDQBwojW0FHsUDH6Cog2BX0VjnSU xb0l9U12brSuKlNNNQyMS5qbcFLqN2kdAIwRYLCdqsWogGLu+8OUvV/CyjMk3Zuv6B+j JVmew8dzqbLIoOpoGKuRXJLt5ym10Fk0hBOFz5DaB0X7lQLl96r/+2nXBtazbAz+4NV7 w4xwxLcQbFmjDnVXJNkzlRbCZHunV6YPY3zx4yZm5JrA/Yn4aXNxDS1KMpY4SwnQycFz m1nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=El42DL5r; 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=hpe.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j184-20020a6380c1000000b0051b5fef546fsi13264576pgd.600.2023.04.18.08.34.16; Tue, 18 Apr 2023 08:34:31 -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=@hpe.com header.s=pps0720 header.b=El42DL5r; 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=hpe.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232370AbjDRPcn (ORCPT <rfc822;leviz.kernel.dev@gmail.com> + 99 others); Tue, 18 Apr 2023 11:32:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232319AbjDRPc3 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 18 Apr 2023 11:32:29 -0400 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9863C14443; Tue, 18 Apr 2023 08:32:17 -0700 (PDT) Received: from pps.filterd (m0148663.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33IEvCLv001196; Tue, 18 Apr 2023 15:31:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : subject : date : message-id : in-reply-to : references; s=pps0720; bh=udJUGzMSVaHDnnkvuLdXTpjSOcpZW6ZG9k7fYYe6uL8=; b=El42DL5rzb05+LNCyhjXsrdDBepM8rdWhNDYS1o3O6sRrdIcfFSFkr7H+v3pZzUovBLj hAZ/lrIy7GTxlHbAx6RUsccZIUd5D+jKLC3eCnnE1MzBWOHXApc1ruPDvncFDa1uARSI NTuRYEVvVlBKDkV2hh9aeH1WVYD99TJgfohXvRWzBW4nDltkh1B/2Jg2CGGQ6nMghERM LAL4VxX+SuxCrP0OvRB5WJTQT6Xfb4t8FBvrRHzOput9+/I5F65gxcfGtyGUZrSb5mGY 9liC2yOfGR84Gbm2tQCaIyUIhESjPxknztNayuZraoqwpIPiLr8kmfIHD2jgR0boUmg1 dw== Received: from p1lg14881.it.hpe.com (p1lg14881.it.hpe.com [16.230.97.202]) by mx0a-002e3701.pphosted.com (PPS) with ESMTPS id 3q1wdw0b9p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Apr 2023 15:31:41 +0000 Received: from p1lg14886.dc01.its.hpecorp.net (unknown [10.119.18.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by p1lg14881.it.hpe.com (Postfix) with ESMTPS id 8E6EB806B78; Tue, 18 Apr 2023 15:31:40 +0000 (UTC) Received: from hpe.com (unknown [16.231.227.36]) by p1lg14886.dc01.its.hpecorp.net (Postfix) with ESMTP id D60EE81732F; Tue, 18 Apr 2023 15:31:39 +0000 (UTC) From: nick.hawkins@hpe.com To: verdun@hpe.com, nick.hawkins@hpe.com, linus.walleij@linaro.org, brgl@bgdev.pl, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jdelvare@suse.com, linux@roeck-us.net, linux@armlinux.org.uk, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 8/9] ARM: multi_v7_defconfig: Add PSU, GPIO, and I2C Date: Tue, 18 Apr 2023 10:28:23 -0500 Message-Id: <20230418152824.110823-9-nick.hawkins@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230418152824.110823-1-nick.hawkins@hpe.com> References: <20230418152824.110823-1-nick.hawkins@hpe.com> X-Proofpoint-ORIG-GUID: apShHr2eoYeqIH1XWn91XRpVUs_5Pinm X-Proofpoint-GUID: apShHr2eoYeqIH1XWn91XRpVUs_5Pinm X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-18_11,2023-04-18_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 priorityscore=1501 clxscore=1015 suspectscore=0 mlxlogscore=830 phishscore=0 bulkscore=0 malwarescore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304180132 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,UPPERCASE_50_75, URIBL_BLOCKED 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763528746590034343?= X-GMAIL-MSGID: =?utf-8?q?1763528746590034343?= |
Series |
ARM: Add GPIO and PSU Support
|
|
Commit Message
Hawkins, Nick
April 18, 2023, 3:28 p.m. UTC
From: Nick Hawkins <nick.hawkins@hpe.com> Add the CONFIG_I2C_GXP, CONFIG_GPIO_GXP, and CONFIG_SENSORS_GXP_PSU symbols. Make CONFIG_SENSORS_GXP_FAN_CTRL=y Signed-off-by: Nick Hawkins <nick.hawkins@hpe.com> --- arch/arm/configs/multi_v7_defconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Comments
On 18/04/2023 17:28, nick.hawkins@hpe.com wrote: > From: Nick Hawkins <nick.hawkins@hpe.com> > > Add the CONFIG_I2C_GXP, CONFIG_GPIO_GXP, and CONFIG_SENSORS_GXP_PSU Why? > symbols. Make CONFIG_SENSORS_GXP_FAN_CTRL=y Why? Please briefly provide rationale in the commit msg. > > Signed-off-by: Nick Hawkins <nick.hawkins@hpe.com> > --- > arch/arm/configs/multi_v7_defconfig | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig > index 084cc612ea23..fcfbcd233fb8 100644 > --- a/arch/arm/configs/multi_v7_defconfig > +++ b/arch/arm/configs/multi_v7_defconfig > @@ -405,6 +405,7 @@ CONFIG_I2C_DAVINCI=y > CONFIG_I2C_DESIGNWARE_PLATFORM=y > CONFIG_I2C_DIGICOLOR=m > CONFIG_I2C_EMEV2=m > +CONFIG_I2C_GXP=m > CONFIG_I2C_IMX=y > CONFIG_I2C_MESON=y > CONFIG_I2C_MV64XXX=y > @@ -478,6 +479,7 @@ CONFIG_GPIO_ASPEED_SGPIO=y > CONFIG_GPIO_DAVINCI=y > CONFIG_GPIO_DWAPB=y > CONFIG_GPIO_EM=y > +CONFIG_GPIO_GXP=y > CONFIG_GPIO_MPC8XXX=y > CONFIG_GPIO_MXC=y > CONFIG_GPIO_RCAR=y > @@ -527,7 +529,8 @@ CONFIG_SENSORS_NTC_THERMISTOR=m > CONFIG_SENSORS_PWM_FAN=m > CONFIG_SENSORS_RASPBERRYPI_HWMON=m > CONFIG_SENSORS_INA2XX=m > -CONFIG_SENSORS_GXP_FAN_CTRL=m > +CONFIG_SENSORS_GXP_FAN_CTRL=y No, we want it to be module. > +CONFIG_SENSORS_GXP_PSU=y Same here. > CONFIG_CPU_THERMAL=y > CONFIG_DEVFREQ_THERMAL=y > CONFIG_IMX_THERMAL=y Best regards, Krzysztof
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 084cc612ea23..fcfbcd233fb8 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -405,6 +405,7 @@ CONFIG_I2C_DAVINCI=y CONFIG_I2C_DESIGNWARE_PLATFORM=y CONFIG_I2C_DIGICOLOR=m CONFIG_I2C_EMEV2=m +CONFIG_I2C_GXP=m CONFIG_I2C_IMX=y CONFIG_I2C_MESON=y CONFIG_I2C_MV64XXX=y @@ -478,6 +479,7 @@ CONFIG_GPIO_ASPEED_SGPIO=y CONFIG_GPIO_DAVINCI=y CONFIG_GPIO_DWAPB=y CONFIG_GPIO_EM=y +CONFIG_GPIO_GXP=y CONFIG_GPIO_MPC8XXX=y CONFIG_GPIO_MXC=y CONFIG_GPIO_RCAR=y @@ -527,7 +529,8 @@ CONFIG_SENSORS_NTC_THERMISTOR=m CONFIG_SENSORS_PWM_FAN=m CONFIG_SENSORS_RASPBERRYPI_HWMON=m CONFIG_SENSORS_INA2XX=m -CONFIG_SENSORS_GXP_FAN_CTRL=m +CONFIG_SENSORS_GXP_FAN_CTRL=y +CONFIG_SENSORS_GXP_PSU=y CONFIG_CPU_THERMAL=y CONFIG_DEVFREQ_THERMAL=y CONFIG_IMX_THERMAL=y