From nobody Sun Jun 28 02:50:44 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9C03C433F5 for ; Tue, 15 Feb 2022 18:18:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243003AbiBOSSQ (ORCPT ); Tue, 15 Feb 2022 13:18:16 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237532AbiBOSSE (ORCPT ); Tue, 15 Feb 2022 13:18:04 -0500 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 166F111987F; Tue, 15 Feb 2022 10:17:54 -0800 (PST) Received: from pps.filterd (m0134422.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21FBOdZP005191; Tue, 15 Feb 2022 18:17:33 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 : mime-version; s=pps0720; bh=RCkzmuESPRr4IslVHQvPvdBg55wuFVjTn9z8RMSyDR4=; b=Ews5Rs0BxWZ1Qrp2HP5T4/NmZzcug5qg29f5MpGDrL0PO9cSgEmK1znOBhRlUWJ5kcQf jS02mtPt2u+W69hDnTzGvuP1zfMF8i9eZKHT3tjlx3uHWdub/ToE17DtXRI4wDHniZm9 w/4CDm4AuzAKFSh83MQD/N7bf0mGlNlartLDKQb1ZTJCxJj9Tyh9FpCuN1sk3Xr7kU63 WjOfpb5pCL6TszNyrM802VLu1kYB5NesLYwKnIf2atjeIaKLogxZS7eoHo5hmhDLYvnt Jgsm2t7WZgRu08bmaKE7Z9EY9GHj8xW0ngKIdPrIk//qriNu3rMX9SQtD4wrzwfKWlb6 6g== Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3e8b92ugyv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 15 Feb 2022 18:17:32 +0000 Received: from hpe.com (unknown [15.115.65.69]) by g4t3426.houston.hpe.com (Postfix) with ESMTP id D7D6D54; Tue, 15 Feb 2022 18:17:31 +0000 (UTC) From: nick.hawkins@hpe.com To: nick.hawkins@hpe.com, verdun@hpe.com Cc: Daniel Lezcano , Thomas Gleixner , Rob Herring , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH] [v1] dt-bindings: timer: Add HPE GXP Timer binding Date: Tue, 15 Feb 2022 12:19:35 -0600 Message-Id: <20220215181936.41551-1-nick.hawkins@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-Proofpoint-GUID: i-Dgm6jTiXXXdOm-5Xv1gUJkP2Zf4Di3 X-Proofpoint-ORIG-GUID: i-Dgm6jTiXXXdOm-5Xv1gUJkP2Zf4Di3 X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-15_05,2022-02-14_04,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 clxscore=1015 priorityscore=1501 adultscore=0 mlxlogscore=999 bulkscore=0 spamscore=0 mlxscore=0 impostorscore=0 phishscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202150106 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Nick Hawkins Description: Creating binding for the GXP timer to be used in device tree. GXP is the name of the HPE SoC. This SoC is used to implement BMC features of HPE servers (all ProLiant, Synergy, and many Apollo, and Superdome machines) It does support many features including: ARMv7 architecture, and it is based on a Cortex A9 core Use an AXI bus to which a memory controller is attached, as well as multiple SPI interfaces to connect boot flash, and ROM flash, a 10/100/1000 Mac engine which supports SGMII (2 ports) and RMII Multiple I2C engines to drive connectivity with a host infrastructure A video engine which support VGA and DP, as well as an hardware video encoder Multiple PCIe ports A PECI interface, and LPC eSPI Multiple UART for debug purpose, and Virtual UART for host connectivity A GPIO engine. Signed-off-by: Nick Hawkins --- .../bindings/timer/hpe,gxp-timer.yaml | 45 +++++++++++++++++++ MAINTAINERS | 6 +++ 2 files changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/hpe,gxp-timer.y= aml diff --git a/Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml b/D= ocumentation/devicetree/bindings/timer/hpe,gxp-timer.yaml new file mode 100644 index 000000000000..1f4e345c5fb8 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/hpe,gxp-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HPE GXP TIMER + +maintainers: + - Nick Hawkins + - Jean-Marie Verdun + +properties: + compatible: + const: hpe,gxp-timer + + reg: + items: + - description: T0CNT register + - description: T0CS register + - description: TIMELO register + + interrupts: + maxItems: 1 + + clock-frequency: + description: The frequency of the clock that drives the counter, in Hz. + +required: + - compatible + - reg + - interrupts + - clock-frequency + +additionalProperties: false + +examples: + - | + timer@10003000 { + compatible =3D "hpe,gxp-timer"; + reg =3D <0xc0000080 0x1>, <0xc0000094 0x01>, <0xc0000088 0x08>; + interrupts =3D <0>; + interrupt-parent =3D <&vic0>; + clock-frequency =3D <400000000>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index f41088418aae..8c2c1e8e0934 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8385,6 +8385,12 @@ L: linux-efi@vger.kernel.org S: Maintained F: block/partitions/efi.* =20 +GXP TIMER +M: Nick Hawkins +M: Jean-Marie Verdun +S: Maintained +F: Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml + H8/300 ARCHITECTURE M: Yoshinori Sato L: uclinux-h8-devel@lists.sourceforge.jp (moderated for non-subscribers) --=20 2.17.1