Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp575561pxb; Fri, 22 Apr 2022 07:11:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwh0tuRN1IqHtBVJ7waSMitlG1As4w1siFo+YjzAOr3T878fjE4Onw427tosChbs0pXeD6L X-Received: by 2002:a17:906:99c4:b0:6ef:5d47:33f4 with SMTP id s4-20020a17090699c400b006ef5d4733f4mr4262781ejn.627.1650636662223; Fri, 22 Apr 2022 07:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650636662; cv=none; d=google.com; s=arc-20160816; b=V6xlBIbuiJjQOS4dGmi+/BFueYVDVTt7Y4x9SS8nx3UDFgF/WYFSJgs/nTWwYl3pm/ dgwlELjq79GLzDFxpd0n/pNDU/xj7auaJqR7/Kzwncg4qUXHmrFnas03CefGBmf77L3k OZNm6jfFpthdLBt3iRqiq55zGnQuZtqhabfDorH63Xqpr1/CaJ2WS3JGqJCWubEBwulQ 3tG+o2XLNBWCREWLRphKL5m36IeK2OxUbGtYx2OPr+vTqKwzxAqml4E157lnUnbNJB1d dNqIm3HjDGS3mAySqKns8EDMj3Ew/xVjxNsiAtpJqyN8g9sLJdLhxG7nP13N405SNHhs hR7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=msT4fx92heKKu7PyNL86RKQPmPaXpa3LwoY/Duy4hGI=; b=dJZVBtxEWorK3FSbP33DboPkB+OznVpjsbcNxO7heVIKByMdPsSCeOF0VQTo1Qgj8i 3RMtQnuI6BZ5Fth1GPiShvuSV9HJk0Yqmp+aZhGvgNlQoEelYm4MZ20Ssz15emdI8IDn FOO8tKeRKQUXmYs7VN5Gq1uUxcTEVjShlnoM/tqEAEu9t7X8Skl7rUiXPDkuxQrbDk6n xyMiTdFe71qdZMfYVHubQ0Srz4V7PgDmc3lsORQyFPyNyFQhWwa8Qvnm4vfI3IdofWys 9LnbOXc/jH7gbqcH08LBcvtON3GpQ9Yotk4nS0L97icHtTKghw6FDQNUB2dg4yhGhPVU zSMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=YbSSDZLH; 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 j14-20020a508a8e000000b00423f2d8e1a3si5927360edj.436.2022.04.22.07.10.38; Fri, 22 Apr 2022 07:11:02 -0700 (PDT) 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=YbSSDZLH; 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 S1379901AbiDTPDL (ORCPT + 99 others); Wed, 20 Apr 2022 11:03:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379914AbiDTPCs (ORCPT ); Wed, 20 Apr 2022 11:02:48 -0400 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71112B87A; Wed, 20 Apr 2022 08:00:02 -0700 (PDT) Received: from pps.filterd (m0150245.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 23K9W4DR002564; Wed, 20 Apr 2022 14:59:53 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=msT4fx92heKKu7PyNL86RKQPmPaXpa3LwoY/Duy4hGI=; b=YbSSDZLHS0MY0Z1+36qah9I15KO83A3sYMxVHgsUSVfsJlMe/Xm6dT45vD/SbMmXRwkY h3nLNvIRHLHbQrMh1LwO/ghCD60j4hk5qUs3/XTIyTnSCsLhkXPAzAwx+/WquWJwQmOE D4igbQUPgJ9ia7FHcJl5kYU/6gIJ8wC+0+eC1Fm5yoW+coJrNpmXvxbbWEG8h1t4FdL5 x81uhJuz1tlptMDXXygei5srgH5VIAKfjURWHmdmmmJ8y9vFAPS6gJg3n/UP55HE1Sdb qFTIUiKtwv8vHRQZyrIrlLZ3T+6kIh2zzT0rschBOlkVc2vDP8vWZDugwxQ+UcpMZDIi Mw== Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3fjbhjd7fj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Apr 2022 14:59:53 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id E790291; Wed, 20 Apr 2022 14:59:52 +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 A4D1C37; Wed, 20 Apr 2022 14:59:52 +0000 (UTC) From: nick.hawkins@hpe.com To: verdun@hpe.com, nick@hpe.com, joel@jms.id.au, arnd@arndb.de Cc: Nick Hawkins , Daniel Lezcano , Thomas Gleixner , Rob Herring , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v4 05/11] dt-bindings: timer: Add HPE GXP Timer Binding Date: Wed, 20 Apr 2022 10:01:49 -0500 Message-Id: <20220420150156.47405-5-nick.hawkins@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220420150156.47405-1-nick.hawkins@hpe.com> References: <20220420150156.47405-1-nick.hawkins@hpe.com> X-Proofpoint-GUID: HAYseODy9u-jf1-ji7qBJkVaBRS1txIs X-Proofpoint-ORIG-GUID: HAYseODy9u-jf1-ji7qBJkVaBRS1txIs 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.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-20_04,2022-04-20_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=486 suspectscore=0 bulkscore=0 lowpriorityscore=0 phishscore=0 malwarescore=0 clxscore=1015 impostorscore=0 adultscore=0 spamscore=0 priorityscore=1501 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204200089 X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 Creating binding for gxp timer in device tree hpe,gxp-timer Although there are multiple times on the SoC we are only enabling one at this time. Signed-off-by: Nick Hawkins --- v3: *Made watchdog a child of timer *Added reference clock v2: *Removed maintainer change from patch *Verified there was no compilation errors *Added reference code in separate patch of patchset --- .../bindings/timer/hpe,gxp-timer.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml diff --git a/Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml b/Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml new file mode 100644 index 000000000000..a4572be8d89a --- /dev/null +++ b/Documentation/devicetree/bindings/timer/hpe,gxp-timer.yaml @@ -0,0 +1,49 @@ +# 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: + items: + - const: hpe,gxp-timer + - const: simple-mfd + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: iopclk + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: true + +examples: + - | + timer0: timer@c0000000 { + compatible = "hpe,gxp-timer","simple-mfd"; + reg = <0x80 0x16>; + interrupts = <0>; + interrupt-parent = <&vic0>; + clocks = <&iopclk>; + clock-names = "iopclk"; + }; -- 2.17.1