From patchwork Fri May 5 13:10:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wadim Egorov X-Patchwork-Id: 13232708 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 D55FFC7EE22 for ; Fri, 5 May 2023 14:16:30 +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:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ni8tr5w+yQkFgU/7Cu0EfWyeoDzt6TZNZdFcakkkEyc=; b=cA/nSRIzKPVsZR AHBd8pSLl8iDKAM/HiEck7+9hd1CrInDrSQUgliYeH3o1FUqtsK3oy3ZWk0PCOfG0J5WqWuMTD2Cj pmaEk1RaFt+beELdWoPA0xhKvGAp0H3wt3qaX2mymj1ifgqOrnQ5OXn0fJjFDR4qp6CoBR7l7hEDr YUAjmKxc9nNmtOOW+KJC6NdwpMvT+kWBcvtl8WCvxBtHnA78F6oZ8GvUrU7AQRQb7RuphZamjaazl WAlwrL5ZfOhHZpLdsMyn4NjMoWOiFpNhU56e+2btxhIeaD65sVolSWh3bpv91Mir02vLROC/bfa/o LsDPAs5V4n2VNkf1HazA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1puwDy-00B4Pu-2d; Fri, 05 May 2023 14:15:54 +0000 Received: from mickerik.phytec.de ([91.26.50.163]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1puvCh-00AxPs-0j for linux-arm-kernel@lists.infradead.org; Fri, 05 May 2023 13:10:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1683292226; x=1685884226; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=x6IoQdSk68OagkSqYCelek7WK0R9jkKB7LPMBihpytA=; b=L+hSQgF8Gd+Bzu9Ub0dNrOHtJlznWy88g7KOQJ9DCwABmNMiEPIAgbjw27XzV71v 8S+BT5HHUgPjWxorZU8fOeJQEE4R9ru+KItStcvYBKen0s18X98NLSaczUvPLR0e PWWHKF5lXwSax36nuuWVIReXpDrJW6lTkwx71lshOIs=; X-AuditID: ac14000a-923ff70000007ecb-44-645500427ee3 Received: from berlix.phytec.de (Unknown_Domain [172.25.0.12]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 12.C8.32459.24005546; Fri, 5 May 2023 15:10:26 +0200 (CEST) Received: from augenblix2.phytec.de (172.25.0.11) by Berlix.phytec.de (172.25.0.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.18; Fri, 5 May 2023 15:10:42 +0200 From: Wadim Egorov To: , , CC: , , , , , Subject: [PATCH] arm64: dts: ti: Add LED controller to phyBOARD-Electra Date: Fri, 5 May 2023 15:10:12 +0200 Message-ID: <20230505131012.2027309-1-w.egorov@phytec.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Florix.phytec.de (172.25.0.13) To Berlix.phytec.de (172.25.0.12) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJLMWRmVeSWpSXmKPExsWyRpKBR9eJITTFYOc+Y4v5R86xWiz/PJvd ou/FQ2aLTY+vsVpc3jWHzeLNj7NMFq17j7BbdL9Tt/h/9gO7A6fHplWdbB53ru1h89i8pN6j v7uF1eP4je1MHp83yQWwRXHZpKTmZJalFunbJXBltN56w1TwmKvi5urJrA2MXzi6GDk5JARM JNYtbWPvYuTiEBJYwiRx/c1fVgjnMaNEz9oGZpAqNgF1iTsbvrGC2CICWRLvm+eCFTELTGKU OHW9lx0kISzgLnF9RzMTiM0ioCLR2dPPBmLzClhKXJ01nwlinbzEzEvf2SHighInZz5hAbGZ geLNW2czQ9gSEgdfvACzhYDiLy4tZ4HpnXbuNTOEHSpxZNNqpgmMArOQjJqFZNQsJKMWMDKv YhTKzUzOTi3KzNYryKgsSU3WS0ndxAgKfhEGrh2MfXM8DjEycTAeYpTgYFYS4f1Q6JcixJuS WFmVWpQfX1Sak1p8iFGag0VJnPd+D1OikEB6YklqdmpqQWoRTJaJg1OqgbH/6Tqhl7drK4Jd D8nPkFZgXqcU25GUGaTivUNr2a9LxzW9PynZbPR9bed9oXqSffL1V2nfxTfdFf1WzX3ucd6f mJ12P4qcVZoWCfuaPd99ZVGh/3ad5oVzz2vHV1Sk9M7j41ITnsBsqma8rPb83cMZASr7X+Ye MWuVKbqkzONx6G738v2TE5VYijMSDbWYi4oTAUlhN71sAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230505_061031_432848_2F96494D X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. 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 With commit 9f6ffd0da650 ("dt-bindings: leds: Convert PCA9532 to dtschema"), we can now add the LED controller without introducing new dtbs_check warnings. Add missing I2C LED controller. Signed-off-by: Wadim Egorov --- .../dts/ti/k3-am642-phyboard-electra-rdk.dts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts index 8d3114d14a8b..8199ac06c09a 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include "k3-am642.dtsi" @@ -210,6 +211,26 @@ eeprom@51 { pagesize = <16>; reg = <0x51>; }; + + led-controller@62 { + compatible = "nxp,pca9533"; + reg = <0x62>; + + led-3 { + label = "red:user"; + type = ; + }; + + led-4 { + label = "green:user"; + type = ; + }; + + led-5 { + label = "blue:user"; + type = ; + }; + }; }; &main_mcan0 {