Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2897079rwb; Wed, 30 Nov 2022 12:24:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf4d1A2/ArKDVdj3OKcvPb+7dv4oIAey4kuSQv3lA08bXSuAQgw4LhZoQ1aBT8XEHnoB1s5T X-Received: by 2002:a17:906:4756:b0:7b8:6a66:4b7c with SMTP id j22-20020a170906475600b007b86a664b7cmr35685007ejs.663.1669839895812; Wed, 30 Nov 2022 12:24:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669839895; cv=none; d=google.com; s=arc-20160816; b=j4QP0Qrr/Fh5VtEFsDZPrLsqdyL0kA7Iuh/t52WEu2qjtOREt90OZwgaCpCmchCKIc 3pza2ad28zXYw8DVJuEZrRXHuXiij/bnwA0rhoIduhO2jUnq2ouECo2Pj/mv1wD3wFpn vIh9I93FXtceiCCHgwobgCaRnIdT/OuwS/DOZmgKCzhZtkJ4jeBmpL1f1NWder5y9hJ4 0nthA9zxE9I9TihTYBxXnYmK9ae89O0wpfl456c2tVSLSZv/tPRu3xaRT6HbgbvDR9zK mGXpNFM1zBuiWiN0scpeSzG7R35rnuE7TNziAGtbbzzM9/y38s96U2bYCBKl2hpcf+VL kX1w== 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=q8xheHNsoK5qHZafhLn8bb0knZj8XrdpcHwJz1s80Sc=; b=I64p/2Z664jBZgB7cUTGsoj/YPfrucSnYoE/V99BVu7JoyPSxabDy+BjSC9cD1KBO3 q1EsHa/CohD2vbed8UJkOhgHHeNNS6/I7pLuFtjfG5W23qWcxcD2/Sapl6g8SMA3WQR8 y8D+qRCc+xDyKXetnxDWO/Lj6ZHFSX+QeHvkj+UgJI+rLi43dPvMhYzg8yUdSftFNCry Sn/CH7Xs1MvJdPXTmMZdkGCDq8QjM9W/eY0r830aERBsW7NvjkIglJ79pSp8zlOED+b4 snzKZ0DdmQJkrdTm63mga3iRkmspTIYKJcq/2QJp/MysMp5KUeCNvqfIhKvCIx213m5r Qn5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=Ypc2zoQe; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hw9-20020a170907a0c900b0078d288ddfc9si2352786ejc.143.2022.11.30.12.24.35; Wed, 30 Nov 2022 12:24:55 -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=Ypc2zoQe; 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 S229627AbiK3UNi (ORCPT + 83 others); Wed, 30 Nov 2022 15:13:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229930AbiK3UNF (ORCPT ); Wed, 30 Nov 2022 15:13:05 -0500 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D4AC8E584; Wed, 30 Nov 2022 12:10:58 -0800 (PST) Received: from pps.filterd (m0150242.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2AUH1tKH016472; Wed, 30 Nov 2022 20:10:20 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=q8xheHNsoK5qHZafhLn8bb0knZj8XrdpcHwJz1s80Sc=; b=Ypc2zoQe6W7V0XxVY92e1Cj2XJ/iIujiIfkL247QZNenY45fsMpX6/NB37J2BYo00lz9 19KzJ5MtdkEY7Z+CpCS1tbf2C3Xuelc1skBKiB05gGCi9SIh2OFj400N0yu16ZTVNNqJ kC++gpaplwtet2pqJTRUShJb6hsc/r6KiCQlJrR3mRZjdJFoq14AsndDSUtwIHmdvMOo lup72KSPqFgfH7BS3gBu9F0rpKlceK/X5zJeWRmwhCP1oq1BMn+rMeCMVet38s2zxhAP TECe1zhRFTHORSYaejmJxGHQLG3xyD3Y6y1O/8kCCex+e/Xz4ySQJEefRWjragmhxL0b /w== Received: from p1lg14880.it.hpe.com (p1lg14880.it.hpe.com [16.230.97.201]) by mx0a-002e3701.pphosted.com (PPS) with ESMTPS id 3m6axy1h13-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 30 Nov 2022 20:10:20 +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 p1lg14880.it.hpe.com (Postfix) with ESMTPS id CF3D78066F1; Wed, 30 Nov 2022 20:10:19 +0000 (UTC) Received: from hpe.com (unknown [16.231.227.36]) by p1lg14885.dc01.its.hpecorp.net (Postfix) with ESMTP id 3D3E18091E1; Wed, 30 Nov 2022 20:10:19 +0000 (UTC) From: nick.hawkins@hpe.com To: jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, verdun@hpe.com, nick.hawkins@hpe.com, corbet@lwn.net, linux@armlinux.org.uk, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 5/6] ARM: multi_v7_defconfig: Add GXP Fan and SPI support Date: Wed, 30 Nov 2022 14:08:45 -0600 Message-Id: <20221130200846.4226-6-nick.hawkins@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221130200846.4226-1-nick.hawkins@hpe.com> References: <20221130200846.4226-1-nick.hawkins@hpe.com> X-Proofpoint-GUID: Jckg9ki-yZebHdhUosaXyIS0Xm4MVN3U X-Proofpoint-ORIG-GUID: Jckg9ki-yZebHdhUosaXyIS0Xm4MVN3U X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-30_04,2022-11-30_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 suspectscore=0 adultscore=0 spamscore=0 phishscore=0 malwarescore=0 mlxscore=0 mlxlogscore=989 bulkscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211300142 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 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 --- 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 -- 2.17.1