From patchwork Tue Oct 11 18:55:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hawkins, Nick" X-Patchwork-Id: 13004262 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 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 6E3FAC433F5 for ; Tue, 11 Oct 2022 18:57:40 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=iup+maQ+Ezc+DXl8iRC/GSgzB4UMZMAJtqEHEuJp4Jw=; b=IOnK6PWvnGA1ne rN2dF2beotpsPD7ZRukbE0HX3vJ8XuxY9cEXttPHu1kI2zvkSjLFaYBC1OBRD9OYuiiT6ZX3Am19F rdoJW+Q7ZodPs+gZjQiKFULg5BW3JgOWXNBUe7MO/l+T5QorUr4N7P0hgU1wod3ec5uX3470LrPbh eGDlg9f7icYg6IEknGb8mSo9UPUlEI9pcvwTO9JYMjxwJ/TGwFhDnQ11epNnZRLI+AWRpqexCyQe2 meNS/QxtGbtD3HOWa69Y18z47yb3dAOcLnemyMBEtEQdAU6kSvSyOX8/K6Au3VV9/3fvdRkAc7jWT m6V9OMnj9TVpC46dEWww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiKQd-005X8q-SA; Tue, 11 Oct 2022 18:56:35 +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 1oiKQR-005X5M-JF for linux-arm-kernel@lists.infradead.org; Tue, 11 Oct 2022 18:56:25 +0000 Received: from pps.filterd (m0150242.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29BHIMlM006125; Tue, 11 Oct 2022 18:56:02 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 : mime-version; s=pps0720; bh=CUchXV7WWbk3gox4sACw8f9HOZCDAJjWULs+tFEeSLg=; b=QouyL17v7Qg5x6X8nYrjJGsr7qkztDwgJZh0t+EhwiMuo/Be8pClmytwrHKamGYQMLWS seYTjXUv2jP9fxjRFaao1vhhcCaK3XS6OgGyVHcLyh8GibaMx/A5pqXxtY41ZvdfIFEr btx3AzgyL15xadnE7P5SiFdgkjA9TYwB357xhnQInqyqAXtCjAuDusQPjdH/bWk63XhG NK+y0bOTaqko0mBvLUKunAisCaKtkOZRCYzmEaUUSmIiKk6Yg3RVzffUgTo9SoyMNCn+ vyItd6wL80Hb/Ly3QJW5dVipmj3QBm4tJUgcA6LJoqUKeRo7YT1+f44NSQRaLOv6fvX8 KA== Received: from p1lg14879.it.hpe.com (p1lg14879.it.hpe.com [16.230.97.200]) by mx0a-002e3701.pphosted.com (PPS) with ESMTPS id 3k5crx8s40-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Oct 2022 18:56:02 +0000 Received: from p1lg14886.dc01.its.hpecorp.net (unknown [10.119.18.237]) (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 p1lg14879.it.hpe.com (Postfix) with ESMTPS id 6C9F0B2; Tue, 11 Oct 2022 18:56:01 +0000 (UTC) Received: from hpe.com (unknown [16.231.227.36]) by p1lg14886.dc01.its.hpecorp.net (Postfix) with ESMTP id 0FF8180873C; Tue, 11 Oct 2022 18:56:01 +0000 (UTC) From: nick.hawkins@hpe.com To: verdun@hpe.com, nick.hawkins@hpe.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux@armlinux.org.uk, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 2/5] dt-bindings: soc: hpe: Add hpe,gxp-plreg Date: Tue, 11 Oct 2022 13:55:22 -0500 Message-Id: <20221011185525.94210-3-nick.hawkins@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221011185525.94210-1-nick.hawkins@hpe.com> References: <20221011185525.94210-1-nick.hawkins@hpe.com> X-Proofpoint-ORIG-GUID: ZIzra3gGAt9qsJSEAgExtx7ttGVVC_Ge X-Proofpoint-GUID: ZIzra3gGAt9qsJSEAgExtx7ttGVVC_Ge 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.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-11_08,2022-10-11_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 clxscore=1015 suspectscore=0 malwarescore=0 spamscore=0 phishscore=0 mlxlogscore=999 priorityscore=1501 mlxscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210110110 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221011_115623_753567_94137DD2 X-CRM114-Status: GOOD ( 16.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Nick Hawkins The hpe,gxp-plreg binding provides access to the board i/o through the Programmable logic interface. The binding provides information to enable use of the same driver across the HPE portfolio. Signed-off-by: Nick Hawkins --- .../bindings/soc/hpe/hpe,gxp-plreg.yaml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/hpe/hpe,gxp-plreg.yaml diff --git a/Documentation/devicetree/bindings/soc/hpe/hpe,gxp-plreg.yaml b/Documentation/devicetree/bindings/soc/hpe/hpe,gxp-plreg.yaml new file mode 100644 index 000000000000..cdc54e66d9a9 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/hpe/hpe,gxp-plreg.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/soc/hpe/hpe,gxp-plreg.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: HPE GXP Programmable Logic Registers Controller + +maintainers: + - Nick Hawkins + +properties: + compatible: + items: + - const: hpe,gxp-plreg + - const: simple-mfd + - const: syscon + reg: + maxItems: 1 + +required: + - compatible + +additionalProperties: true + +examples: + - | + cpld@1e789000 { + compatible = "hpe,gxp-plreg", "simple-mfd", "syscon"; + reg = <0x1e789000 0x1000>; + fan1 { + bit = <0x01>; + inst = <0x27>; + id = <0x2B>; + }; + iopled1 { + on = <0x04 0x01>; + }; + pwrbtn { + latch = <0xFF 0xFF 0x04>; + }; + }; +