Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1338219pxb; Fri, 13 Nov 2020 10:02:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/QZEE30BV+r2WE/io8vwVQNZhdOi/ppkwzjhbJ/wgxMwu8+PUgv74GNu00+lKdoekVcGZ X-Received: by 2002:a17:906:c288:: with SMTP id r8mr3064336ejz.35.1605290576462; Fri, 13 Nov 2020 10:02:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605290576; cv=none; d=google.com; s=arc-20160816; b=kqeEj83CTk+n71c/WWo3OUJlRky0QGLtNoRoE4mvSMYDftaA2WnATSPGEfpgwOdwvz 9nt0yjkJhU4hW39BpR/IKMs1QW18gyr6jk3mkiiMjKeCtlKr1UwJMDJ4wK+9/Z00mVO4 pVnU9mqJbH/gtPCQJfxvzwk8iheMaClXomHfO6vb41wC1QiOsJSUI6pIKTCqm3TK1Stm cAPd5wlkR6udEr9eGSh4A5qoqc7XOIPcwmnWeEEdnOmNGk1j6AOUvMyLTJQyA1LzC1mJ D4h30uJ5I4LSU9jsIpHNoWNjOTIAyaQm3JMrYXbFmZBr5LP9CcBtF9N1ks3Ie/FaCzcy eK8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=42UXRzy/C9RZjC8Og2rUii8dUnL5+xSL6pZzUkEEoOw=; b=IFw+Pod6iLgOWUClQtBfk3szDxZef+Q0Zuh6O4QxFhpknE07A7BZ+NhcXOetW4Hc7b fL1IAwpQ5Hadwk3mbC6DXK+CiYvwRujZSa8P9Xbl/iaB4OrCFs/4pWs3KwlugzGlAeHe Z7FZTYe4O4OIZ2T3q3MV+yGQoqV0dNqIZgXXk2BhjU1WkNxgkasOEz96xuo6smBv0xvN 7ptE9/fIy6OOJHSz6zo1X6IIGitVMU/s2cpsS5kfiB+kw0ZMaZWmULr40VFQq42Wnmfr oceYaafZfljHdlAXoW4o+1QHb4xLGqRz41kFb+X7lryIz4C15HqpCQ3JiUGd2OcdLGG9 fRuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="YtbLs//L"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a4si6240910ejf.460.2020.11.13.10.02.33; Fri, 13 Nov 2020 10:02:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="YtbLs//L"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726520AbgKMSAN (ORCPT + 99 others); Fri, 13 Nov 2020 13:00:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726353AbgKMR77 (ORCPT ); Fri, 13 Nov 2020 12:59:59 -0500 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 173F9C0613D1; Fri, 13 Nov 2020 09:59:59 -0800 (PST) Received: by mail-lj1-x243.google.com with SMTP id y16so11795292ljh.0; Fri, 13 Nov 2020 09:59:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=42UXRzy/C9RZjC8Og2rUii8dUnL5+xSL6pZzUkEEoOw=; b=YtbLs//L1aHBB2SM5iGUbssetwbD50aGxXS97WZDzQJFZsdwn/RgTgjx0uE1aaCf+M 6qt074vIiCVjKkM0snn15LOpWFr/YheHs+sRuSzeITdTX4gtv9zsH3wGDmyBztIiXaQD beqz04HWka+jwZDhDwpEGQdbbc/K2SKeiI4NtThov11bhG1CLtHIAmWFX6waMCjeUpcX Fu00SznPY/mKdaRKuwk6TjuvttOzzfwAIDNouTOD6Gy1KxrBIsrE3T9dK9W1LJrpZXTJ BbatEc8mq4yCwXRAn8Jaho8h584YsuMv6ToKihxB+UUy3LqJimp4HqpQXj0FEmGcB77o mSdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=42UXRzy/C9RZjC8Og2rUii8dUnL5+xSL6pZzUkEEoOw=; b=NG28yTXE8GCM8hkFl+DPba4+JMD6+6Jw7wnua038PYALhRbBu4HwDT6/F73E5ZrlhE snLnQsMs8GFv5f14R7PqeJwh6ujgTPMswqw9SKU/zjK5R5HaVC5995oLdyPWKr7hiGfj CHsDKNSLlVHeE8tQkHjMmJRKNCcheRscAxPRW6sj0IJnL1uUv7oEU21zawR2hsxyYQud +6hhC7C6jwFg/zikRfdDhD5CbNFkNh3yiIQ6jyyN+34LBRbYMkkAwltaFzU64PlRlUVA HMsNG4kTPtL8vgjNSC6cmx846CXht7GxmNITdjn6I+xFtnH/fcKK741TgwU5KMqgsMmV VbAQ== X-Gm-Message-State: AOAM5329Jxjklp0y5F+pAz9vNYROoyAdX+ApC8AeHzncJCYB6BQA4lEj s2mrpCDK4IsBCTyqd9vWzZg= X-Received: by 2002:a2e:b0f6:: with SMTP id h22mr278466ljl.212.1605290395652; Fri, 13 Nov 2020 09:59:55 -0800 (PST) Received: from localhost.localdomain ([2a01:540:2326:b00:1d75:252:b367:4629]) by smtp.gmail.com with ESMTPSA id c1sm1629363lfj.222.2020.11.13.09.59.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 09:59:55 -0800 (PST) From: nikitos.tr@gmail.com To: agross@kernel.org, bjorn.andersson@linaro.org Cc: robh+dt@kernel.org, stephan@gerhold.net, Michael.Srba@seznam.cz, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Nikita Travkin Subject: [PATCH 5/6] arm64: dts: qcom: msm8916-longcheer-l8150: Add notification LED Date: Fri, 13 Nov 2020 22:59:16 +0500 Message-Id: <20201113175917.189123-5-nikitos.tr@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113175917.189123-1-nikitos.tr@gmail.com> References: <20201113175917.189123-1-nikitos.tr@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nikita Travkin L8150 uses aw2013 LED contriller for notification LED on the front of the device. Add it to the device tree Signed-off-by: Nikita Travkin --- .../boot/dts/qcom/msm8916-longcheer-l8150.dts | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts b/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts index 2b8670dd4b71..1e893c0b6fbc 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts @@ -83,6 +83,40 @@ flash_led: led { }; }; +&blsp_i2c1 { + status = "okay"; + + led-controller@45 { + compatible = "awinic,aw2013"; + reg = <0x45>; + #address-cells = <1>; + #size-cells = <0>; + + vcc-supply = <&pm8916_l17>; + + led@0 { + reg = <0>; + led-max-microamp = <5000>; + function = LED_FUNCTION_INDICATOR; + color = ; + }; + + led@1 { + reg = <1>; + led-max-microamp = <5000>; + function = LED_FUNCTION_INDICATOR; + color = ; + }; + + led@2 { + reg = <2>; + led-max-microamp = <5000>; + function = LED_FUNCTION_INDICATOR; + color = ; + }; + }; +}; + &blsp_i2c2 { status = "okay"; -- 2.25.1