From patchwork Fri Jan 13 16:06:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hawkins, Nick" X-Patchwork-Id: 43412 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp362278wrt; Fri, 13 Jan 2023 08:27:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXshUKFG8DEXqSUPQWzy+yUcr+uGViyQM6O++GaOEtRoWaTClxwdaW5TqTvkBe8TpvcKnSeG X-Received: by 2002:a17:903:1305:b0:193:389d:ecc5 with SMTP id iy5-20020a170903130500b00193389decc5mr17603373plb.47.1673627225141; Fri, 13 Jan 2023 08:27:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673627225; cv=none; d=google.com; s=arc-20160816; b=ah1MaA1dlSxg+9JR7Cz86H7dcmqt/Te3BUwNb3rrgHRd+Zq6kA6+Whq0648UAl4oTE w8VzyzIobzQQGcCH5QMjbgjMWhIypxaAEX6obRPH1z9flzr7TNWhANEDFrPvmQ6gbjPM 915Y2Fyf15hazXsoRjkiCYaqygjgAHNWFLM7WMae0lEqYgzfy4vX+giJuiIywJd94dtV BBds3tE0hR+v6Mu0EPQ6DMUypiPaB/J6BnWqzwCQPFcJyaAmM7+AqQi4H/SogibP6Klg C7KqjXDEQ9mux+H9WrHOcYOuUL4sKuEK9OlYKXJhK2f3F6JmcVKcZZ9X2wYOMUAVX+Wa J40Q== 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 :cc:to:from:dkim-signature; bh=BT46m0GFyZvdPoAAhfhdMehIokzv4T5w1f0EE/g4HzU=; b=BNr36hAN1hpMP1NpWjsINCG5iZOgR8CJT68VULSmBSQFlw/PiODHwJjKPFqLGMwOkL +WMutsApe+Vc12h3iDFP94kilEtg71UrnYreo8PlKpdqUhDcrYJOw/lny4jvtNODD/RY ydtbCk48+JKf8x40s9UJRME9RGy3bfWBm3y4rr6BSZZVrFn+mIdnS8kdKn26qWSFT9WK +OMMScrgYq35kHY3GKipXO4KKEDn71afQIMhQrcr0PEuze7Pn3CA6adPb0qO24BRJGb2 kYuk70LWCVB0Yczo9xe/vtpt2ZHCPPWKo6bnRB6OuHQfAdhN4irHljKQaB2GcFXGbuno s1KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=gAjfH527; 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 n1-20020a170902e54100b0019288231112si20982717plf.608.2023.01.13.08.26.53; Fri, 13 Jan 2023 08:27:05 -0800 (PST) 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=gAjfH527; 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 S230104AbjAMQP6 (ORCPT + 99 others); Fri, 13 Jan 2023 11:15:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbjAMQPc (ORCPT ); Fri, 13 Jan 2023 11:15:32 -0500 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8423D876D8; Fri, 13 Jan 2023 08:09:29 -0800 (PST) Received: from pps.filterd (m0134424.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30DFSbQm030643; Fri, 13 Jan 2023 16:08:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=pps0720; bh=BT46m0GFyZvdPoAAhfhdMehIokzv4T5w1f0EE/g4HzU=; b=gAjfH527j4tsrLKuxDul2aWmBDD+LSIfY0Nll6tAjRYFMKTGH5kLld0Gmg4MzMdS7AWK EKAkvulsjwVu3p3KCPXgM/QE7aSIDMDZk1tUtHsrCeybGxAmRx633guKmlJsC9jNjj/z l+gzuIsjyKTTjXIRPxzh7jWwgnKL4RHcoJy21VzMKUBUIHSzcaY8RxdDAXWXFt4DlGxH YWr7e5ttonupcAXJHTx5DROdQxbTo7fpr1MrSWWMWPTQa6RSZhHZ7Nn34G2WkYPqcHKv 322F5crnhFam8axXd5ZyLiID/KWLGUtvK8HkWDSUijmeaATJEl7g6ofMQgHgRDAl2rmR NA== Received: from p1lg14878.it.hpe.com (p1lg14878.it.hpe.com [16.230.97.204]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3n39th0da2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Jan 2023 16:08:55 +0000 Received: from p1lg14885.dc01.its.hpecorp.net (unknown [10.119.18.236]) (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 p1lg14878.it.hpe.com (Postfix) with ESMTPS id 834013D7B0; Fri, 13 Jan 2023 16:08:54 +0000 (UTC) Received: from hpe.com (unknown [16.231.227.36]) by p1lg14885.dc01.its.hpecorp.net (Postfix) with ESMTP id E61E180CCF0; Fri, 13 Jan 2023 16:08:53 +0000 (UTC) From: nick.hawkins@hpe.com To: soc@kernel.org Cc: arnd@arndb.de, linux@roeck-us.net, verdun@hpe.com, nick.hawkins@hpe.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux@armlinux.org.uk, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 2/2] ARM: multi_v7_defconfig: Add GXP Fan and SPI support Date: Fri, 13 Jan 2023 10:06:51 -0600 Message-Id: <20230113160651.51201-3-nick.hawkins@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230113160651.51201-1-nick.hawkins@hpe.com> References: <20230113160651.51201-1-nick.hawkins@hpe.com> X-Proofpoint-ORIG-GUID: oCfOTr_2_J9GLRPoGZV69o8y8_Dj6aIv X-Proofpoint-GUID: oCfOTr_2_J9GLRPoGZV69o8y8_Dj6aIv X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-13_07,2023-01-13_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 mlxscore=0 phishscore=0 clxscore=1015 impostorscore=0 spamscore=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 mlxlogscore=851 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301130108 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 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754925341258170713?= X-GMAIL-MSGID: =?utf-8?q?1754925341258170713?= From: Nick Hawkins In order for HPE platforms to be supported by linux on GXP it is necessary for there to be fan and spi driver support. There fan driver can support up to 16 fans that are driven by pwm through the CPLD. The SPI driver supports access to the core flash and bios part. The SPI driver spi-gxp was added previously to linux. Signed-off-by: Nick Hawkins Acked-by: Guenter Roeck --- v5: *No change v4: *No change v3: *No change v2: *No change --- arch/arm/configs/multi_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index b61b2e3d116b..192c89bfd02a 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -441,6 +441,7 @@ CONFIG_SPI_CADENCE=y CONFIG_SPI_DAVINCI=y CONFIG_SPI_FSL_QUADSPI=m CONFIG_SPI_GPIO=m +CONFIG_SPI_GXP=m CONFIG_SPI_FSL_DSPI=m CONFIG_SPI_OMAP24XX=y CONFIG_SPI_ORION=y @@ -530,6 +531,7 @@ 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_CPU_THERMAL=y CONFIG_DEVFREQ_THERMAL=y CONFIG_IMX_THERMAL=y