From patchwork Mon May 1 06:47:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathew McBride X-Patchwork-Id: 678241 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 13C2EC77B73 for ; Mon, 1 May 2023 06:48:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230114AbjEAGsc (ORCPT ); Mon, 1 May 2023 02:48:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229737AbjEAGsb (ORCPT ); Mon, 1 May 2023 02:48:31 -0400 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D6C810E2 for ; Sun, 30 Apr 2023 23:48:29 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 8AC4A320092A; Mon, 1 May 2023 02:48:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 01 May 2023 02:48:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=traverse.com.au; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1682923708; x= 1683010108; bh=cM7c+KK5/4OqDNWkM+kbeKmq++YIRo6YbzdI7eqZb8E=; b=P zXgjNuPvis1d8bUU5ea0zucX2ngEG4KoAvQovvU+RysmaegeBfY9hMYgDwygWeXp ZeaQKVJdAUzLz6RKqVud0qbypYQ0wLKQRGWKvIBrra/Yoa0Vx/jgIxm8/ktX2qC0 PnWvIfLMnqKwj7WwvTLG0PrdNwdI83QPx8UdWcacV8HGl4o2ZNDSnyxmOdfexTXl mE7l0qtqs2t2iy+SEedAhlJl3R2JnxjnR6TTyFpvryAb0chlmtRcEfWLRMziPSbx EzEJh16i1TD0Ks/Yc5T1DvS4olgprS7kUrJfMkiNWxngCZBmzCkns/V40Mt6uN1Z TVX+1j1X9idHDcUp41exQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1682923708; x= 1683010108; bh=cM7c+KK5/4OqDNWkM+kbeKmq++YIRo6YbzdI7eqZb8E=; b=V IGBIKwBOZc5ozPF1ljwCObczRVq4RYHSkZNj+ErZNvdwgKzw9UlL8N41mKCtMwgs CReRMgAXwXo9SuXpI24J6f4B1iMnb20nycH0dKyu+IX/QvGj7yerQkyvyMHzs16L gWcyjcxJi+v/0RAfh53QAavYBwDfIdh+dn0AhpRplJsw94UwVasGqqZ9j1e1kciC JQnQ/ifc7ar0zCVfOkn6uSQ8s0Hm9vvMwIfNPa1OWAERgKuwe9UtvWNc/ETLdn1M N82txG9c0g+RBgp/9RgWyDorFSCIPn+BTUIC/+UI5icn/VuVUOArHunaqMKbPaqe +Iaspw1/xigoJUWBmqS3A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedvfedgudduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeforght hhgvficuofgtuehrihguvgcuoehmrghtthesthhrrghvvghrshgvrdgtohhmrdgruheqne cuggftrfgrthhtvghrnhephfffueehtedukeevjedvieevffehjeeiteehhfefkeehgeff leefleejudekgfevnecuffhomhgrihhnpehtrhgrvhgvrhhsvgdrtghomhdrrghunecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrthhtseht rhgrvhgvrhhsvgdrtghomhdrrghu X-ME-Proxy: Feedback-ID: i426947f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 1 May 2023 02:48:25 -0400 (EDT) From: Mathew McBride To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Li Yang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Mathew McBride Subject: [PATCH 1/4] dt-bindings: trivial-devices: add traverse,ten64-controller Date: Mon, 1 May 2023 06:47:24 +0000 Message-Id: <20230501064727.8921-2-matt@traverse.com.au> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20230501064727.8921-1-matt@traverse.com.au> References: <20230501064727.8921-1-matt@traverse.com.au> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the Ten64 family board controller[1] to the trivial devices list. Signed-off-by: Mathew McBride [1] - https://ten64doc.traverse.com.au/hardware/microcontroller/ --- Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 246863a9bc7e..638e16fc9f71 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -397,6 +397,8 @@ properties: - ti,tps544b25 - ti,tps544c20 - ti,tps544c25 + # Board controller for Ten64 family mainboards + - traverse,ten64-controller # Winbond/Nuvoton H/W Monitor - winbond,w83793 # Vicor Corporation Digital Supervisor From patchwork Mon May 1 06:47:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathew McBride X-Patchwork-Id: 678240 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 5B467C77B61 for ; Mon, 1 May 2023 06:48:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229663AbjEAGsf (ORCPT ); Mon, 1 May 2023 02:48:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230127AbjEAGse (ORCPT ); Mon, 1 May 2023 02:48:34 -0400 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 864978E for ; Sun, 30 Apr 2023 23:48:33 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 893AF3200937; Mon, 1 May 2023 02:48:32 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 01 May 2023 02:48:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=traverse.com.au; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1682923712; x= 1683010112; bh=1Pjn431pqFvikUzGLI0eOuV8B3wq7sspZFEF/V182Vw=; b=L rtLx+ZlHRurlJ4B5vYI3D+TK5Jz3CHo2CptQH6lSHoIj6dP7SigStG57fsCLwUuz /sa7Vn2UCrJTVVhrHBipZ9I2nKX9SzMcUiHGqXuqypKnu1hxT6JouF69WaXgSkkA xQLR4/RKY77HxPxty8U1CJPmyvowJ/bUxVG51fqokNmBgHMnMhius6zZCsDt0RCH QXMiKJ4C7dDjRZicFUCslNTIfnV6Mb2B268fIak3v39cDrjb6lv4fgoF1b65FYl7 dlJ+dC66W0Nq2x2ujAvXipTDFlEd2kLSiGcpo1OpGsiWWCeyglkiAZKRKo8lEuRh AYILZIPR+kiy7pkAGma8w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1682923712; x= 1683010112; bh=1Pjn431pqFvikUzGLI0eOuV8B3wq7sspZFEF/V182Vw=; b=D Th0dzCTx4o6eOaulq1mJmB7f2XhGXtqDJc079Q1KwV4MhfoUfiye0l/wlaGD1MPb 8KtA0Nme4sH6DFYSUDl9DMwQQW2TPgnFFyRtDQyXZuCHuXDq8FCP4Oh/XW09KsBm zey/8N7F3SuO0E/gFeo/9FbO2d+IM9y21h/9zybcez+TrSMm8rHuX7ldAnrqGzsJ YzqjDVk3+RG189Rw1NpZYLmFyi4UVCIujk0fTYqjpXpVwwPYs39t26HDjG0E0SJ6 wOTlmSZgcPMg4DomD2m/aGV4dXDEABQTihIyN2j3iFNkG9gayuGZEt46Fp1UyVXM 8fGRlARxekYF1Yy38hKNA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedvfedgudduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeforght hhgvficuofgtuehrihguvgcuoehmrghtthesthhrrghvvghrshgvrdgtohhmrdgruheqne cuggftrfgrthhtvghrnhephfffueehtedukeevjedvieevffehjeeiteehhfefkeehgeff leefleejudekgfevnecuffhomhgrihhnpehtrhgrvhgvrhhsvgdrtghomhdrrghunecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrthhtseht rhgrvhgvrhhsvgdrtghomhdrrghu X-ME-Proxy: Feedback-ID: i426947f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 1 May 2023 02:48:29 -0400 (EDT) From: Mathew McBride To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Li Yang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Mathew McBride Subject: [PATCH 2/4] arm64: dts: freescale: ten64: add board microcontroller binding Date: Mon, 1 May 2023 06:47:25 +0000 Message-Id: <20230501064727.8921-3-matt@traverse.com.au> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20230501064727.8921-1-matt@traverse.com.au> References: <20230501064727.8921-1-matt@traverse.com.au> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This binding is only consumed by U-Boot. There is no Linux kernel driver, however a userspace utility does exist. The board microcontroller[1] on the Ten64 is responsible for certain management functions such as storing the board MAC address, 10G retimer and boot source selection. Signed-off-by: Mathew McBride [1] - https://ten64doc.traverse.com.au/hardware/microcontroller/ --- arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts index d4867d6cf47c..c4259d3a5712 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-ten64.dts @@ -231,6 +231,11 @@ at97sc: tpm@29 { compatible = "atmel,at97sc3204t"; reg = <0x29>; }; + + uc: board-controller@7e { + compatible = "traverse,ten64-controller"; + reg = <0x7e>; + }; }; &i2c2 {