Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1226937rwd; Thu, 15 Jun 2023 07:55:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6s7ZdUUcGcQhyxMvyP7XZew2KoaSVMO3nnzZKSGHwYqCw2XxWX2ubq+wibSjLikGsqevuf X-Received: by 2002:ac2:4643:0:b0:4f8:4719:1f4a with SMTP id s3-20020ac24643000000b004f847191f4amr893308lfo.7.1686840938295; Thu, 15 Jun 2023 07:55:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686840938; cv=none; d=google.com; s=arc-20160816; b=q5DtNa86WW6d7W9rJXvexpSfjNrswfp3ZhxBCX6pPFTXncvv4DjmyhTj0DLlihqUA0 fP68MFDfXAaGzuBzSf3ERHYUEvM+ZQM/Os2nmQTkk4SHG4E1K247mQ44aqsHRjlabagb bqwe1EqJTrj1OmTcFBX6gA8dUjKI5L21Ic2NjI1uu536gupHRceqYy3ExRxHzioS6gwC 5CIrn1w3RXodlYBar4lYr/42KZwmGwWWeQW8EUpBBWEGHpHIWO0YDLEGi4byJ3T0z0Il UzQCFnj/VM67Ve+fCG3ZaNDFspCxhA7EI1Zko8gIaxKwy6gY+P/JCwpx6tSJ2Wq9XYfn YPuA== 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=hra2dRUOZrGxyUicuKqJmgBkjuBC+iY6UrsB/yPAQFA=; b=wwgku0XDjLpTGYfrmO/wm1hhRwSsVF1kOhlCoSWAJIftSNrhdXjsh9ok/7S1MhHnhl LY8TnC+2d/AihxRvw9MIfiYHZmwQLX1eWQnyt+gBeYNF0dceApYPEk5CF+eja5J5tsf0 vG8q5yZc288xfz23zpISrOPHtUasopT4SCda64QFBQ4sdV2+hqSoJZQAu8c1MIStMcYG lBpM5N/XCk4KescQplaXr+hGeICYb9kI6pyc9IBoMiPDW/iz5UVwmOhOST7zXr6ah9+P kMt4yx2NRZn4jNIZ6iCm0jyUlZ+FdFIor5Xi2M9p1kC3xwTbX30iQpCW3/cnYqPz22kg qhww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=L0ROVDzF; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r21-20020a1709064d1500b00977d602118bsi9855998eju.202.2023.06.15.07.55.13; Thu, 15 Jun 2023 07:55:38 -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=@quicinc.com header.s=qcppdkim1 header.b=L0ROVDzF; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345065AbjFOO2k (ORCPT + 99 others); Thu, 15 Jun 2023 10:28:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239243AbjFOO2h (ORCPT ); Thu, 15 Jun 2023 10:28:37 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF176270E; Thu, 15 Jun 2023 07:28:36 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35FCsu97028074; Thu, 15 Jun 2023 14:28:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=hra2dRUOZrGxyUicuKqJmgBkjuBC+iY6UrsB/yPAQFA=; b=L0ROVDzFA1OVXJW7DubZjaRPrNwDNm+JUhgOU6IJOzUrP0St5fzTUIROi6U0pMo9aPL0 +rhP7vh8jDlBcOmD1YyZ5UUiyCURCyD7eq8tKvmNWoEybjM56MX1f3WgYyDGtDF/xZ/i PTFb0s2CG70BpiIbtHSi9RtK1iI3+LNvCDC8KOhTN38A3i84hthJ05F1uynuV45ZrJr0 KVHP+ZWrmBoZLi1xFRT+AZbVphJuVmeuRo4m+8BnbFUn10UGFwwj4RU+UyHeHiUZ5khA Xfsp3x+5nEeVM8GlEpJhdplVxe6EvwF5q+rA96P/pG4suNg6r1lyUT+ICapslxY5o9YD 1w== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r7p4q9sfx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Jun 2023 14:28:34 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35FESWLX001993 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Jun 2023 14:28:33 GMT Received: from sridsn-linux.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Thu, 15 Jun 2023 07:28:29 -0700 From: Sridharan S N To: , , , , , , , , CC: Sridharan S N Subject: [PATCH 2/2] arm64: dts: qcom: ipq9574: enable GPIO based LEDs Date: Thu, 15 Jun 2023 19:58:03 +0530 Message-ID: <20230615142803.26975-3-quic_sridsn@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230615142803.26975-1-quic_sridsn@quicinc.com> References: <20230615142803.26975-1-quic_sridsn@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: zBLaknA0ShInmVfMylsqwJIyQY1yaptL X-Proofpoint-ORIG-GUID: zBLaknA0ShInmVfMylsqwJIyQY1yaptL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-15_10,2023-06-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 adultscore=0 lowpriorityscore=0 impostorscore=0 bulkscore=0 suspectscore=0 malwarescore=0 mlxlogscore=913 phishscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306150126 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Add support for wlan-2g LED on GPIO 64. Signed-off-by: Sridharan S N --- Changes in V3: - added leds and gpio-keys nodes in rdp-common.dtsi Changes in V2: - No changes .../boot/dts/qcom/ipq9574-rdp-common.dtsi | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi index fd5326dc1773..25424cecd834 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi @@ -34,6 +34,18 @@ debounce-interval = <60>; }; }; + + leds { + compatible = "gpio-leds"; + pinctrl-0 = <&gpio_leds_default>; + pinctrl-names = "default"; + + led-0 { + gpios = <&tlmm 64 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy0tx"; + default-state = "off"; + }; + }; }; &blsp1_spi0 { @@ -137,6 +149,14 @@ drive-strength = <8>; bias-pull-up; }; + + gpio_leds_default: gpio-leds-default-state { + pins = "gpio64"; + function = "gpio"; + drive-strength = <8>; + bias-pull-up; + }; + }; &xo_board_clk { -- 2.17.1