Message ID | 20220506191237.78505-1-nick.hawkins@hpe.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 03EF2C433F5 for <linux-arm-kernel@archiver.kernel.org>; Fri, 6 May 2022 19:12:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:To: From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=XOngeQg0MnnNoSxkPQndnmrSJgtYrhV/3DvNYN3PstM=; b=EDWJ8TSxQY3Oao Y3i4b8dd7E/mnB4Z6j/XffFTSA6YfTaGzA02sEDlyxL2+7VYtLy25+DN/elF60yTVlVtyZ53SD2U8 bm4mdM4ofDiSP34puVM1xP4xct+/VVrjfl71W9IXV2cqYjMRxVjHDsblsVFrvWc7XcHp3ILXG94uh V7jlHw/bLDN47NfjR7RU0raF5hOCKm09N8tLTB1Alston0j9+VUKL2f/BU/4Xd0vYhWx6XkM70r2p bzjUi0zNOOSQm/f7c8kqJZMQxPaS3RdZl7A+ngg/BIpdh2ap/UMPWShwV44SBwgdbOp0EWyQq89NF cbdtDJtOPH5cyg9duk3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nn3MS-004ncw-5f; Fri, 06 May 2022 19:11:32 +0000 Received: from mx0a-002e3701.pphosted.com ([148.163.147.86]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nn3MP-004ncR-EH for linux-arm-kernel@lists.infradead.org; Fri, 06 May 2022 19:11:31 +0000 Received: from pps.filterd (m0134421.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 246E54OT004916; Fri, 6 May 2022 19:10:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : subject : date : message-id; s=pps0720; bh=eqXxh2kPrPjPsvaPFZudWRBnOeC4I73oVHl6ieQGeRA=; b=g+h9+LhBRO6pXntv4Wzxg3Bt+niaTaKoBTR0Ed2prNL+lIhT4+fZaGUJqSdGRpmpShBE CKzjH6hS7y5uqrHT138mQkkKlkJDyRQ90x/OuXmFXygY2515hnbFcBLcY+XmVC8Q+0WT 47Rl/BbkMUzf0oh+YqYEz+Syfsxoc3PDotkcn7qWstJpoqxBfBnZTRt4XGQ/5cQCGbmQ T4INu9KLQM5uhukpJiOUvlgEC7ELHXuoYvQvq2OSM3fBbrRjf5VNSUtWZ0r75Jw0flki sptDAP9uyWFUVS5odSKoSkXpqYHQQtgUQG90xZRnDOuyGWIE3rBPgQyLQQtZEejvpD81 vw== Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3fw54b2acg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 06 May 2022 19:10:51 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id 92AFE9D; Fri, 6 May 2022 19:10:49 +0000 (UTC) Received: from hpe.com (cigateway-dev.us.rdlabs.hpecorp.net [10.14.73.30]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id 35DEF36; Fri, 6 May 2022 19:10:48 +0000 (UTC) From: nick.hawkins@hpe.com To: verdun@hpe.com, nick.hawkins@hpe.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, daniel.lezcano@linaro.org, tglx@linutronix.de, linux@armlinux.org.uk, arnd@arndb.de, olof@lixom.net, soc@kernel.org, wim@linux-watchdog.org, linux@roeck-us.net, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-watchdog@vger.kernel.org, joel@jms.id.au Subject: [PATCH v7 0/8] Introduce HPE GXP Architecture Date: Fri, 6 May 2022 14:12:37 -0500 Message-Id: <20220506191237.78505-1-nick.hawkins@hpe.com> X-Mailer: git-send-email 2.17.1 X-Proofpoint-GUID: ZFDPgs3izooch1cRQGHaQRhwfKGBrsBL X-Proofpoint-ORIG-GUID: ZFDPgs3izooch1cRQGHaQRhwfKGBrsBL X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-06_07,2022-05-06_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 impostorscore=0 phishscore=0 adultscore=0 spamscore=0 mlxlogscore=999 clxscore=1011 suspectscore=0 mlxscore=0 priorityscore=1501 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2205060096 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220506_121129_626778_5CFA221C X-CRM114-Status: GOOD ( 22.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Introduce HPE GXP Architecture
|
expand
|
From: Nick Hawkins <nick.hawkins@hpe.com> Changes since v6: *Resubmitted the dt-bindings patches hpe,gxp and hpe,gxp-timer with Reviewed-by tags from previous patch in descriptions to keep patchset continuity for v7. *Fixed the subject on dt-binding patch: dt-bindings: timer: hpe,gxp-timer: Creation to dt-bindings: timer: hpe,gxp-timer: Add HPE GXP Timer and Watchdog *Changed the following in MAINTAINERS: arch/arm/boot/dts/hpe-bmc-dl360gen10.dts to arch/arm/boot/hpe-bmc* arch/arm/boot/dts/hpe-gxp.dtsi to arch/arm/boot/dts/hpe-gxp* arch/arm/mach-hpe/gxp.c to arch/arm/mach-hpe *Changed cache register area length from 0xFFC to 0x1000 in hpe-gxp.dtsi *Added space between "," in compatible list for the hpe-bmc-dl360gen10.dts *Added aliases, chosen, and memory to hpe-bmc-dl360gen10.dts *Removed memory from hpe-gxp.dtsi *Changed conditional statements around COMPILE_TEST and TIMER_OF if of for GXP in clocksource Kconfig *Changed commit description for watchdog driver where Adding became Add and compliment became complement. *Removed unused include files of_address.h and of_platform.h in gxp-wdt.c *Fixed the max timeout on watchdog to be 655350 in gxp-wdt.c *Changed time variable computations in gxp_wdt_set_timeout to be clear in gxp-wdt.c *Decreased reboot delay to 10ms from 100ms in gxp-wdt.c *Added comment to explain why it is necessary to pass the base address over a private interface from the timer driver in gxp-wdt.c Changes since v5: *Removed generic-ohci and generic-ehci from patchset as they were committed to linux-next *Removed watchdog node from device tree and dt-bindings documentation as it is not necessary since the timer creates it *Added cache controller to device tree *Fixed l2c initialization by making l2c_aux_map=~1 *Corrected Kconfig punctuation and wording in mach-hpe *Added oneOf to hpe,gxp.yaml *Set additionalProperties to false on hpe,gxp-timer *Added space after "," in compatible lists *Switched hpe,gxp-timer.yaml title to Timer from TIMER *Switched clockname from iopclk to iop *Added clock labels clock-0 and clock-1 to device tree *Added dma-ranges to ahb in device tree *Fixed static device issue in timer-gxp.c with platform_device_alloc *Fixed timer-gxp.c initialization to exit cleanly *Corrected all subjects and descriptions for every commit *Added information about bootloader to mach-hpe patch Changes since v4: *Fixed version mismatch with patchset across all patches *Fixed typos with ochi -> ohci echi -> ehci *Adjusted Watchdog Kconfig file *Adjusted various commit comments *Removed un-necessary include file *Updated outdated base revision to newer one to resolve merge conflicts as well as pickup vendor binding change for hpe. Changes since v3: *Completely redid the dtsi file to represent architecture *Reduced device tree size *Rewrote the timer driver to start the watchdog driver due to similar register region *Made adjustments to timer *Made adjustments to watchdog *Changed gxp.yaml to hpe,gxp.yaml with changes *Updated Maintainers to represent new file names *Added hpe bindings to generic-ehci and generic-ohci *Fixed clock architecture to be accurate Changes since v2: *Reduced size of changes, put them into patchset format *Changed from txt->yaml Changes since v1: *Fixed compiler warnings The GXP is the HPE BMC SoC that is used in the majority of HPE current generation servers. Traditionally the asic will last multiple generations of server before being replaced. Info about SoC: HPE GXP is the name of the HPE Soc. This SoC is used to implement many BMC features at HPE. It supports ARMv7 architecture based on the Cortex A9 core. It is capable of using an AXI bus to which a memory controller is attached. It has multiple SPI interfaces to connect boot flash and BIOS flash. It uses a 10/100/1000 MAC for network connectivity. It has multiple i2c engines to drive connectivity with a host infrastructure. The initial patches enable the watchdog and timer enabling the host to be able to boot. Nick Hawkins (8): ARM: hpe: Introduce the HPE GXP architecture ARM: configs: multi_v7_defconfig: Add HPE GXP ARCH watchdog: hpe-wdt: Introduce HPE GXP Watchdog clocksource/drivers/timer-gxp: Add HPE GXP Timer dt-bindings: timer: hpe,gxp-timer: Add HPE GXP Timer and Watchdog dt-bindings: arm: hpe: add GXP Support ARM: dts: Introduce HPE GXP Device tree MAINTAINERS: Introduce HPE GXP Architecture .../devicetree/bindings/arm/hpe,gxp.yaml | 27 +++ .../bindings/timer/hpe,gxp-timer.yaml | 47 ++++ MAINTAINERS | 12 + arch/arm/Kconfig | 2 + arch/arm/Makefile | 1 + arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/hpe-bmc-dl360gen10.dts | 26 +++ arch/arm/boot/dts/hpe-gxp.dtsi | 127 +++++++++++ arch/arm/configs/multi_v7_defconfig | 3 + arch/arm/mach-hpe/Kconfig | 23 ++ arch/arm/mach-hpe/Makefile | 1 + arch/arm/mach-hpe/gxp.c | 16 ++ drivers/clocksource/Kconfig | 8 + drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-gxp.c | 209 ++++++++++++++++++ drivers/watchdog/Kconfig | 11 + drivers/watchdog/Makefile | 1 + drivers/watchdog/gxp-wdt.c | 173 +++++++++++++++ 18 files changed, 690 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/hpe,gxp.yaml create mode 100644 Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml create mode 100644 arch/arm/boot/dts/hpe-bmc-dl360gen10.dts create mode 100644 arch/arm/boot/dts/hpe-gxp.dtsi create mode 100644 arch/arm/mach-hpe/Kconfig create mode 100644 arch/arm/mach-hpe/Makefile create mode 100644 arch/arm/mach-hpe/gxp.c create mode 100644 drivers/clocksource/timer-gxp.c create mode 100644 drivers/watchdog/gxp-wdt.c