From patchwork Tue Feb 28 14:45:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13154972 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 D9E40C64ED6 for ; Tue, 28 Feb 2023 14:46:22 +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=/Pu/BAEDKgqwJAoSaFlcSz4FBsEV7lNBF2k2F0xK3TY=; b=PUY244ptPVwlBT Rnr7YKf8HVGvHPVlV+zMWIMm2PL6LaJBMg1d8QBSgWflntoLb7qh8nuh5iWlhs18hmsjB22FbzpP9 5KSsuUHTSzAIQMfUxLuYu3WR0ZcxDmLmSlAzZbx0lZYM0NsIq+MuvHCS3OQYjF/YMx1g4JcHjbGNu FOwsWdzx+DImTjpxZOaf98V1Oa58XNOHg16tSTcmsZZ4hY4frVdxE5b+ktnQOTYG65JZYYF3/lkTg SHaIjyLL31r/2wY8wGsXVi5bLU3hWxzkhxW/LVg2f+3dPbdazW87oTd2LAwh9JREGtdBqpU9nmeNi nvifT9ntloJ3GSbxL6iw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pX1EN-00DWWu-SO; Tue, 28 Feb 2023 14:45:28 +0000 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pX1EK-00DWUy-Nl for linux-arm-kernel@lists.infradead.org; Tue, 28 Feb 2023 14:45:26 +0000 Received: by mail-lf1-x130.google.com with SMTP id m7so13511406lfj.8 for ; Tue, 28 Feb 2023 06:45:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=AS4WvwLyb5IvtXzJGUQWxLiWhdnxdLa0eY1ifwUebww=; b=ivDcz8dm3b4iYjQeg0pKEqGjwQm2CpDDg7DzCdz7fBeOtnwOZf/ihYmKePSQOhi2z1 vse+/jcpwwD6IghpSahkEhujRqP3NgtaFzeEIQpaGCsDky0FRi5ktU4wCt3OwOE3NPAB 4+zy57UBHo2Ng714kkU2PNmBicm+eKGowasL5yCYGQpOaY5Bv+aj+YFFIdgFAnP+cxJ0 O4NioNcPc0cu2Y2MFgl0reiCaRzfN73XoD6zieSGid4DBE8vTWj77OhXEbxLOhaFuDau cI3b1SAqobW/aryqqqGkiist6XI05/SHJ+UAtsDr8PS/OVzucQRA9Bc6mIHUxjTOtWj3 VQoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AS4WvwLyb5IvtXzJGUQWxLiWhdnxdLa0eY1ifwUebww=; b=mMCR8eKoYBeCSXw+t81plTeMhsnY41XbrfzxeM/Uf7tNhnEjlXYUPRoYre2xQF7jhf GhMv+4QICDfIzsvVwz5toOYMDiO1dMF8g/uew4LErIb3hRqfhRJM1+Idekm5f4UtdsPv Sk9V9ucQn3D23EJjPbATzMYQpQwK1/cLTGBEel0l/ZW1zSggKYuk5QOatd9Fz9Mo1BVW MIOz/yC3PWC5o8/P3Rg28cW2TI7078VTmJsfNEZIMhm1PR27x5WZCkFspRORk4y/HTua 5iugKZ1wjTTVWokw4GZAWED0EYdYkrIFrjB9Ut0JnI/sbRCIU+2nPMtDbR2tCWRLbKId l5gQ== X-Gm-Message-State: AO0yUKXUVk4rvcGnuyfZjH5r2YN0HaWXUPC1XnEngM/8FT5AixbGk3zR qjs/Vm1Mt6EX5qeOQCiji7s= X-Google-Smtp-Source: AK7set+cmhPgCsFWPjuLwq/QWwizug5xjH4UId9xs7OY/Nvxyu+YMCoBZQHo0j8bgdf7pg4xOEdDow== X-Received: by 2002:ac2:5690:0:b0:4e2:337d:65d3 with SMTP id 16-20020ac25690000000b004e2337d65d3mr710686lfr.40.1677595523404; Tue, 28 Feb 2023 06:45:23 -0800 (PST) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id z23-20020ac24197000000b004ddef915fe4sm1360514lfh.274.2023.02.28.06.45.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 06:45:22 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli Cc: Rob Herring , Krzysztof Kozlowski , William Zhang , Anand Gore , Kursad Oney , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 1/3] arm64: dts: broadcom: bcmbca: bcm4908: add on-SoC USB ports Date: Tue, 28 Feb 2023 15:45:18 +0100 Message-Id: <20230228144520.21816-1-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230228_064524_799676_54CB03B5 X-CRM114-Status: GOOD ( 11.77 ) 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: Rafał Miłecki BCM4908 has 3 USB controllers each with 2 USB ports. Home routers often have LEDs indicating state of selected USB ports. Describe those SoC USB ports to allow using them as LED trigger sources. Signed-off-by: Rafał Miłecki --- .../boot/dts/broadcom/bcmbca/bcm4908.dtsi | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi index f4cf0f835db7..457805efb385 100644 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi @@ -148,6 +148,19 @@ ehci: usb@c300 { interrupts = ; phys = <&usb_phy PHY_TYPE_USB2>; status = "disabled"; + + #address-cells = <1>; + #size-cells = <0>; + + ehci_port1: port@1 { + reg = <1>; + #trigger-source-cells = <0>; + }; + + ehci_port2: port@2 { + reg = <2>; + #trigger-source-cells = <0>; + }; }; ohci: usb@c400 { @@ -156,6 +169,19 @@ ohci: usb@c400 { interrupts = ; phys = <&usb_phy PHY_TYPE_USB2>; status = "disabled"; + + #address-cells = <1>; + #size-cells = <0>; + + ohci_port1: port@1 { + reg = <1>; + #trigger-source-cells = <0>; + }; + + ohci_port2: port@2 { + reg = <2>; + #trigger-source-cells = <0>; + }; }; xhci: usb@d000 { @@ -164,6 +190,19 @@ xhci: usb@d000 { interrupts = ; phys = <&usb_phy PHY_TYPE_USB3>; status = "disabled"; + + #address-cells = <1>; + #size-cells = <0>; + + xhci_port1: port@1 { + reg = <1>; + #trigger-source-cells = <0>; + }; + + xhci_port2: port@2 { + reg = <2>; + #trigger-source-cells = <0>; + }; }; bus@80000 { From patchwork Tue Feb 28 14:45:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13154973 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 5DD1FC64EC7 for ; Tue, 28 Feb 2023 14:46:39 +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:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UeJv04mf5zvkDHnZsBPk1jKvR76TOyI7kUTapux7Yq4=; b=bLqJtwz2MM/w00 0o6CotSecoG+Chyp/D3VBcJNYuZhAtPO/vLrOkkqGwVPDl/ohpIMqeK+SS2F5tbxDReHkK9tc5YV/ TnZlnWkda6LBCZklF0GVW6YrW+5J4B+0dRjgi8q/ycJGxaK6fcDyEvQDJaLh5OeNPUXBykyjbEQKH 0sPvJP0VoQFrfE136KPONC56wWLKAVkLOkTLF6mdQTPwW73rhAIpLnx6xLTyN1PJd6tuWrxJ2AlHC Xvj9hbaGEFh226jPwbYUsuSHkMQyAkM5M1ep/J5TWfs7zxtUTZWZikMLwapyMvMB3+OomrRhDsfVi ibGamo6apvjR7EbfgzUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pX1Ec-00DWdG-KK; Tue, 28 Feb 2023 14:45:42 +0000 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pX1EP-00DWVu-C4 for linux-arm-kernel@lists.infradead.org; Tue, 28 Feb 2023 14:45:30 +0000 Received: by mail-lf1-x12a.google.com with SMTP id s20so13483437lfb.11 for ; Tue, 28 Feb 2023 06:45:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=j/YjeKurA278JscginyGCXaDA9SlVP0u9hae3pg88+I=; b=ZXKwlBSkkVo4Rq6MxvWXA5ksqK38eOsof1t7417TJu/O8a8fuuEMOxahqzXA/G4zMJ 0q9MxgMQJu4lsSXxwkPO5LGpk2U2LMCHvGd2F7fHZw7a+vYjZH5hGnWOWh5+SUyEcMqt jP9qDiRbK3NdA6ARH6YYiESqLikMbGjabgHlc8BdhOfEGYIQH+ytN/3lzmuukbPt8+IC UzMsnSaurRTegYL2t0wB8D58ORargatUvPBEeyRFPTHRb1YiJsYNw346+P5lpCW/uuiA jPURzJuP3TqdBKQXtSWUdhZTKuInDoYzloF5XjEXs1LrczrlnqBeJhCvp8KDez0c+RzW PwGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j/YjeKurA278JscginyGCXaDA9SlVP0u9hae3pg88+I=; b=V8u5fHireM/vk38z81G9VavPy+r7T8uAV1SC63SYJ55NIZXzXlVNqxZexZ7BZi911V FQOPS9EYbdrzaUjlJHXn49/QJvRE/6o1G7fxzHT3/oxYuZNmbnqBH9lr2P4yaRK7L0H+ UKxQytI4BSyJkLAYtTpb7KMMb6tM/kj/5viQt9xDMts6q+e85uxyP9a5NNDr1vbDQTCE KobDJYWVI6u5Z2x+jlTeZ/EuvxqVEW/d9LCj21H34GxF+unbUfyXUeeujTcbAAUTsaCL 3S8PCdcIvr/9hRNrKpi3NaZOchZjI9ViwZjDxibMsT8PVdWglocwIJ6PCJPXH+A1ozdQ xldw== X-Gm-Message-State: AO0yUKXPD/ya+X3JdTbHAaeCSt/bBUC6nyL++TfnsI1z129MZi21RTPM Vqe2flBRAMkIor9Ei0jBVC0= X-Google-Smtp-Source: AK7set/AVuNxrHFJ7mLwwmc2vChFwRn7yCmoZZxsBv73Tctrjj84PxJabGHy2eXYB87L+wdPu2wByQ== X-Received: by 2002:ac2:53a7:0:b0:4dd:9139:6371 with SMTP id j7-20020ac253a7000000b004dd91396371mr752214lfh.5.1677595525213; Tue, 28 Feb 2023 06:45:25 -0800 (PST) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id z23-20020ac24197000000b004ddef915fe4sm1360514lfh.274.2023.02.28.06.45.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 06:45:24 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli Cc: Rob Herring , Krzysztof Kozlowski , William Zhang , Anand Gore , Kursad Oney , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 2/3] arm64: dts: broadcom: bcmbca: bcm4908: add Netgear R8000P USB LED triggers Date: Tue, 28 Feb 2023 15:45:19 +0100 Message-Id: <20230228144520.21816-2-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230228144520.21816-1-zajec5@gmail.com> References: <20230228144520.21816-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230228_064529_449811_A6B814A2 X-CRM114-Status: GOOD ( 11.73 ) 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: Rafał Miłecki This device has 2 USB LEDs meant to be triggered by devices in relevant USB ports. Signed-off-by: Rafał Miłecki --- .../arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts index d8b60575eb4f..78204d71ecd2 100644 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-netgear-r8000p.dts @@ -58,12 +58,16 @@ led-usb2 { function = "usb2"; color = ; gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; + trigger-sources = <&ohci_port1>, <&ehci_port1>; + linux,default-trigger = "usbport"; }; led-usb3 { function = "usb3"; color = ; gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; + trigger-sources = <&ohci_port2>, <&ehci_port2>, <&xhci_port2>; + linux,default-trigger = "usbport"; }; led-wifi { From patchwork Tue Feb 28 14:45:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13154974 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 CD603C64ED6 for ; Tue, 28 Feb 2023 14:46:49 +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:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Bmbsi0A/fR14HTW6QAZGhi+rrCB9NfUBO7hbW/XEwvQ=; b=Gt1IUb3Dkg+dxW rZyp1xT+B76OSR76O3/7U7mBcTnTwsW4bSiu2y+Bv5Qg8mJMyI0pdYp7s1IPdDwuMTmiK51+KMhaW RDLjZt3ztPptmqJmxfs1+VXnE/2Mtmmnzy6K5f4030DAcHNg09yw0NheUSOGXbMJka8bCrU4nfRRQ ra5O+28eXHxgXGrIwzVgpX37PJxvRrdzkvxboSzWvgLOfOh5y3UB45zpB9YPoI3gc8F99vUPxnrzs ovG48sd+oZcmuTj2dWayWrAvARezn7lP3H59i3jP5gPxzrR784qkBbPLuwQ4I7/yyJQWM3DkzT4WE lF/ZlYhL9lJT/xT/22sA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pX1Eo-00DWhq-1S; Tue, 28 Feb 2023 14:45:54 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pX1EQ-00DWXZ-UN for linux-arm-kernel@lists.infradead.org; Tue, 28 Feb 2023 14:45:32 +0000 Received: by mail-lf1-x132.google.com with SMTP id k14so13501632lfj.7 for ; Tue, 28 Feb 2023 06:45:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1qX3hwcRokdU3hinWHR32cKszj+OQJlUP6xOgQsDKuU=; b=G0PIV4YbsGCm2FmJtHapjEd8xztJVYNtQraB+KxSCyiHVSKEeGVIS2+jFuV9cmZVOU mWxYs/30HPC80vmUPwGtvBOD/tWNzYLfI8Y6NUfiienmQm5qb7iRG2SxqDJyrwaCJsyD 7AIns8d87QMAO7z20Re3cM22SROtfw/uXL/YXuGkGDNIzYP/EbJMF2fl5LQIMmofHXVW MVR0khXnuZMi1BkqIh0euwBWdfk4eIaoPdIqTkwF2rmZm7C51/1yltFQTkrJoIr5qTLN y+iZNdWjelQB3VuFtEjbKsIMFUaUbM83Thjk5ETJehT1E3j5ejmNf7DiYXrmYp1XlyY+ pFHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1qX3hwcRokdU3hinWHR32cKszj+OQJlUP6xOgQsDKuU=; b=EB4FYROebeg4iS4q5AgEkFq//Lve3tcvrZWeu6QJx28IT9e3do0pFu3RDfdkYMkd9t 9167xJpQF1Xp4GDtA1dHrDHKipbfkR9Q6oezxs5jNSDWr2DsQdG8wCXH8LBIwKL+ml1C f/PxUlLsCqNYDF9NHxaGhlydfVqRVF24mBeNnaDcYZ23UiPnM9gZFU/w2CwexkKITCOO VA2WtEgQx4mHrhqKO2IHz9TkFkFXSRm8sxXmCYaDpkWNHtFlWlTFRlnjRNXHrMp6bXmE 8lIhRokfHQedezdno5vzACbdGer0G5CcBezC8YOHwNvkkXA4mw5RNdtCAjUjYAP3VJMK Pwfw== X-Gm-Message-State: AO0yUKUNV6xku+efbKKz1mcYwUG3sbkvICraUWThRu6Uo6ZFLRjBwwR0 Wi+5qPFDuz9tapTxWLv3O0UVhbVkB94= X-Google-Smtp-Source: AK7set8fzBGACnGwldAdO66hDd5EWX06yExwxCYFvTBCLPG86ardOvWhoF+IMM7YSyYqCpriujSylg== X-Received: by 2002:a19:7417:0:b0:4d8:5e8e:b138 with SMTP id v23-20020a197417000000b004d85e8eb138mr712480lfe.14.1677595527918; Tue, 28 Feb 2023 06:45:27 -0800 (PST) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id z23-20020ac24197000000b004ddef915fe4sm1360514lfh.274.2023.02.28.06.45.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 06:45:27 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli Cc: Rob Herring , Krzysztof Kozlowski , William Zhang , Anand Gore , Kursad Oney , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 3/3] arm64: dts: broadcom: bcmbca: bcm4908: add TP-Link C2300 USB LED triggers Date: Tue, 28 Feb 2023 15:45:20 +0100 Message-Id: <20230228144520.21816-3-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230228144520.21816-1-zajec5@gmail.com> References: <20230228144520.21816-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230228_064531_008693_837ADE91 X-CRM114-Status: GOOD ( 12.90 ) 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: Rafał Miłecki This device has 2 USB LEDs meant to be triggered by devices in relevant USB ports. While at it fix typo in USB LED name. Signed-off-by: Rafał Miłecki --- .../dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts index 296393d4aaab..fcf092c81b59 100644 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906-tplink-archer-c2300-v1.dts @@ -64,12 +64,16 @@ led-usb2 { function = "usb2"; color = ; gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; + trigger-sources = <&ohci_port1>, <&ehci_port1>; + linux,default-trigger = "usbport"; }; led-usb3 { - function = "usbd3"; + function = "usb3"; color = ; gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; + trigger-sources = <&ohci_port2>, <&ehci_port2>, <&xhci_port2>; + linux,default-trigger = "usbport"; }; led-brightness {