Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp929629pxb; Fri, 22 Apr 2022 14:36:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLKrG7/pt5KWVW+hPNVhqPEFyUNuT/07ZRG8Ri8U5+aYGLV2Luv/uNQr+SDfBhlXPLnL49 X-Received: by 2002:a17:902:bb90:b0:158:a031:2ff2 with SMTP id m16-20020a170902bb9000b00158a0312ff2mr6609350pls.117.1650663368157; Fri, 22 Apr 2022 14:36:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650663368; cv=none; d=google.com; s=arc-20160816; b=awEUq/9N5yp3FJ0JCLN9Bz5aOep2y4S5K00uQ/707d2lYijyM0v0RPIZhtsT4fxh+p bif0ToWUn2fFJzZnpJQSc8NqNd/lpGE8HUMZKey6kJX3K2cSDmWEHNVJbyLUQo7FbKA9 z+z38CaPEyIBEb/+b0FD3O63L5MsZeyK31Nwsbxb1EySmgGcZfH4HaTAYoccSd7N+LTa rAuYyo3CYCwUUCWNCnzQ4cLD0v2SztEDb1XpvA4je2hBkZ0OMiPNqxtV36UU/I2f3INT YppWleJIdW2vkqNkGNnA2YOMYiNusLh2neT8QjGaJUz0UOFwBECbg2QFMBVwoPHTvS2e OeZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:to:from:dkim-signature; bh=QgBoamMiZEICwB0eYmyKiR9XUsMuhTjNYHT2xlss6Sc=; b=rE59zKif9wrH/+QIijDU8X2LgdUHedFGSQA3miU6M5QtRnfL0CEQRCHA78ryX4+O2w XU32SMVndQBA6CfQyvo3Ntisz6dZZrPcZmWizq1+5szSATqDakpRLXXS7eI501eOukTd kaIK8jpGoNOE5q13j+FO58a91I2vnxsSyqkmfyunibIkAFypxydkhtHuYHz5laAchJY2 KMKi6nrAIw4hhDEUIvr5yEZ7eH+vkjKaSjflWhBehB/EuIBGF06q4/Haj6w9CJkOzOAU kWjWRMFQrtBNFn6QFCTI7niJLlUP6Vbra8tN4VQKEGobwxR044JkiZLboEx/71iCvQ3D dCHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=T56p7236; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s6-20020a17090302c600b00153b2d165a7si9644259plk.431.2022.04.22.14.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 14:36:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=T56p7236; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 53E092FEF9A; Fri, 22 Apr 2022 12:43:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1391859AbiDUTXU (ORCPT + 99 others); Thu, 21 Apr 2022 15:23:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1389394AbiDUTWn (ORCPT ); Thu, 21 Apr 2022 15:22:43 -0400 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE8BD24E; Thu, 21 Apr 2022 12:19:51 -0700 (PDT) Received: from pps.filterd (m0150242.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 23LExwPW027532; Thu, 21 Apr 2022 19:18:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : subject : date : message-id; s=pps0720; bh=QgBoamMiZEICwB0eYmyKiR9XUsMuhTjNYHT2xlss6Sc=; b=T56p7236YxcGSJ6qtK+XTwx5TAfqCSsloLnoruXEhL5h1oQT6eOaGuCfpzuAnZwvZmfg MjG/MmEJ1V95SPOHRDuLnoHXPrwgz4jieUJjplsYM6xOqt8K++h60+bOe78DZ/t3/Dsy JAC6jm0+fQkUdG724yUdEzRBcJdN2dJytgllZIltmRcCzxBp+mU312GxW/lwFwBQ6k93 j/fodB9PlNpQjQwkr3Na6zWBPfI3mcpBEyK8ddP+pDh490n2Tk/w4t85+1mnb7rrsC2w EsGoacuGr5s+25QoaF6YDnJLoJkTjtJBxtsGEavkEoT+DicsEPOi8SR5yOxZNGSQRlQ6 bQ== Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by mx0a-002e3701.pphosted.com (PPS) with ESMTPS id 3fk9h1j42p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Apr 2022 19:18:42 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g9t5008.houston.hpe.com (Postfix) with ESMTP id CA30B64; Thu, 21 Apr 2022 19:18:40 +0000 (UTC) Received: from hpe.com (cigateway-dev.us.rdlabs.hpecorp.net [10.14.73.30]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 4B5864A; Thu, 21 Apr 2022 19:18:38 +0000 (UTC) From: nick.hawkins@hpe.com To: verdun@hpe.com, nick.hawkins@hpe.com, robh+dt@kernel.org, daniel.lezcano@linaro.org, tglx@linutronix.de, gregkh@linuxfoundation.org, wim@linux-watchdog.org, linux@roeck-us.net, linux@armlinux.org.uk, arnd@arndb.de, olof@lixom.net, joel@jms.id.au, soc@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org, openbmc@lists.ozlabs.org Subject: [PATCH v5 00/11] Introduce HPE GXP Architecture Date: Thu, 21 Apr 2022 14:20:23 -0500 Message-Id: <20220421192023.109903-1-nick.hawkins@hpe.com> X-Mailer: git-send-email 2.17.1 X-Proofpoint-ORIG-GUID: 4ZJK1Kxp7--H_yyUgkL8iP4CyE-fbXWb X-Proofpoint-GUID: 4ZJK1Kxp7--H_yyUgkL8iP4CyE-fbXWb 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-04-21_04,2022-04-21_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 adultscore=0 priorityscore=1501 mlxlogscore=999 phishscore=0 bulkscore=0 impostorscore=0 clxscore=1011 suspectscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204210102 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 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 Generation 10 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 (11): archh: arm: mach-hpe: Introduce the HPE GXP architecture arch: arm: configs: multi_v7_defconfig drivers: wdt: Introduce HPE GXP SoC Watchdog clocksource/drivers: Add HPE GXP timer dt-bindings: timer: Add HPE GXP Timer Binding dt-bindings: watchdog: Add HPE GXP Watchdog timer binding dt-bindings: arm: Add HPE GXP Binding dt-bindings: usb: generic-ehci: Add HPE GXP ehci binding dt-bindings: usb: generic-ohci: Add HPE GXP ohci binding arch: arm: boot: dts: Introduce HPE GXP Device tree maintainers: Introduce HPE GXP Architecture .../devicetree/bindings/arm/hpe,gxp.yaml | 22 +++ .../bindings/timer/hpe,gxp-timer.yaml | 49 +++++ .../devicetree/bindings/usb/generic-ehci.yaml | 1 + .../devicetree/bindings/usb/generic-ohci.yaml | 1 + .../bindings/watchdog/hpe,gxp-wdt.yaml | 30 +++ MAINTAINERS | 13 ++ arch/arm/Kconfig | 2 + arch/arm/Makefile | 1 + arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/hpe-bmc-dl360gen10.dts | 13 ++ arch/arm/boot/dts/hpe-gxp.dtsi | 128 ++++++++++++ arch/arm/configs/multi_v7_defconfig | 3 + arch/arm/mach-hpe/Kconfig | 17 ++ 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 | 182 ++++++++++++++++++ drivers/watchdog/Kconfig | 11 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/gxp-wdt.c | 166 ++++++++++++++++ 21 files changed, 668 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 Documentation/devicetree/bindings/watchdog/hpe,gxp-wdt.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 -- 2.17.1