From patchwork Fri Oct 30 01:07:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 319964 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp972797ilc; Thu, 29 Oct 2020 18:07:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTPrMv7vvk/xYb1yKXuRDmXZcAIPI6pnJZM4AzVnENi49LfyFjt0Vn5CWyu8MtrFq+9LZM X-Received: by 2002:a17:906:444:: with SMTP id e4mr87594eja.218.1604020047964; Thu, 29 Oct 2020 18:07:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604020047; cv=none; d=google.com; s=arc-20160816; b=cbM1LxvFlyTScfiiyuH+ogXvMZ5OPR0iyoaLLmq3Jv+9UUjStvIhoo9RUuVFeV9OKK TPKY61Lzo1EqnE6swAirz93D3Phb/TbMAubTCEwvQvVporZYWyEgeZbp6QNlyH5PkpXZ U45gRNaAMh5+DFBEpUAVz1lI3V+IRa88ziU/qmUND+P/ivVwl6gvL+kb4rl8ak77eNHo jTzoIMxcF+BM7Zrx7Oor0KUcw9x3tJfhlGYp0BSPS3Bopd5ekI3TSm19W8OMiVyFDk/D 2duJrQwxveOSMPc0jU5j52kYpMc3n+T6x7OHV8PpkaHEsRAg6tIxdVi5jX/bVHzSH1ls 4kAQ== 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=zzF+iD2bQtsVAEAnO2ufhYknySXRFrdpCxNsou50eyA=; b=ghGYd9/EN5HMo9JhIQ/gSmFp2lVJWTz/CE3+YbG0jVD6iqYM1ml5vNbIAdoGcuxWbE gJjqlY6uAoQ50eI5Cq+Fm0I2HvM0nKovHruPkidBoe+q50bw8VXTqZFHk+gix91OFECp H03ITkXqg4NniXInr7BhXvNzz58zhRmKkflFa3qvXKH14w8D24qGfGSX6zYb+oXnzTGH evRoNzWlZ3OB+7k+E6DThDe/384JUQn/ZGH45TsupP9kEgYVP7Gc8eiz9v4oA81QMShB 9RLlVCptmg/vz28CuNDeIPp0AN7EAVTaolzVMMGRZkApKOYFj0HDbd8rt/B5/VyeAG2j kGYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=je1ZvvYr; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k25si3596923ejk.65.2020.10.29.18.07.27 for ; Thu, 29 Oct 2020 18:07:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=@linaro.org header.s=google header.b=je1ZvvYr; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726046AbgJ3BHW (ORCPT ); Thu, 29 Oct 2020 21:07:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725771AbgJ3BHW (ORCPT ); Thu, 29 Oct 2020 21:07:22 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08AA7C0613D3 for ; Thu, 29 Oct 2020 18:07:22 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id x6so5170391ljd.3 for ; Thu, 29 Oct 2020 18:07:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zzF+iD2bQtsVAEAnO2ufhYknySXRFrdpCxNsou50eyA=; b=je1ZvvYry/NJgExvAEw0TUT67uPAXNEHkdvRgMqiDF3uVrrHeogsZaPoApMb68NJf9 0OFBiT/WqDdXCYscYN6HlZwzFVRbZklDMfkA/ZSG/9gOPavBVZlG7NcuwxZReGGS650G 0J13WH7ozOrQ62sSjGPOeNuZlF99yIcHA5IXJACPgOrQ7ijHnqeUmJ3Mh17/QAHgtMSk aobnEO/qWNmJfnKKmwU5jSQuMISh6J5HKJm7UTn6lpv+C3PqFx4wdvuy3k9WNYgNUngh l0A2LD/Shm/gH4Qyuc3yNnIK4HZ4o1BegAlGWQ06O7vqvVGSQtfegfZCicua2ss6d/Lh o9RQ== 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=zzF+iD2bQtsVAEAnO2ufhYknySXRFrdpCxNsou50eyA=; b=RFTpyBYZv+rKb3Pxr1IlLZihC+U+IX7/3gwxK+XZCMWBfN8NAbeQY5JDog825G8gfz GEPYjnKk0g25hKjEm9bouTPqpLMcVnezagGlwjUgbfycgmcs4j1yNNe2T0Q1trUeHwJ6 YQs3CL6T5V0ClV8TiqMheuFONAFKruLw6oYx42hH/85L9Xh71kKX8kgyivXTs0A6rpAw MBZdhOP2hTSidwVxOLCf/oaC9/FvxUOYIvt/ZFSWHINYiBiBv0BbNLbg5m/qefpShI/Z uXgish5Q4ggJ6/Q1jGkbnGlcbk5Ide02PqFOHZwJ7+xKLCqujA+rX06WXO8S9X16tAbF oTzg== X-Gm-Message-State: AOAM533ylNrdSTgI7t5wm7M1uCc4lutRqmbU7WLUi/I80UrseQdBCNh5 etKfzuRSAy4D+7CrbdWDAwKVZQ== X-Received: by 2002:a2e:b0e4:: with SMTP id h4mr2708905ljl.119.1604020040402; Thu, 29 Oct 2020 18:07:20 -0700 (PDT) Received: from eriador.lan ([188.162.64.219]) by smtp.gmail.com with ESMTPSA id c6sm447130lfm.226.2020.10.29.18.07.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 18:07:19 -0700 (PDT) From: Dmitry Baryshkov To: Bjorn Andersson , Pavel Machek , Dan Murphy Cc: linux-leds@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Rob Herring Subject: [PATCH v2 1/5] dt-bindings: leds: leds-qcom-lpg: add pm8150[bl] compatible strings Date: Fri, 30 Oct 2020 04:07:09 +0300 Message-Id: <20201030010713.247009-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201030010713.247009-1-dmitry.baryshkov@linaro.org> References: <20201030010713.247009-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Add two more compatible strings for Light Pulse Generator blocks as found on PM8150B and PM8150A/L chips. Signed-off-by: Dmitry Baryshkov Acked-by: Rob Herring --- Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml | 2 ++ 1 file changed, 2 insertions(+) -- 2.28.0 diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml index 5ccf0f3d8f1b..0474f1d998ff 100644 --- a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml +++ b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml @@ -17,6 +17,8 @@ description: > properties: compatible: enum: + - qcom,pm8150b-lpg + - qcom,pm8150l-lpg - qcom,pm8916-pwm - qcom,pm8941-lpg - qcom,pm8994-lpg From patchwork Fri Oct 30 01:07:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 315027 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DE86C55178 for ; Fri, 30 Oct 2020 01:07:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C2B8820729 for ; Fri, 30 Oct 2020 01:07:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aZyFNJB8" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726111AbgJ3BHZ (ORCPT ); Thu, 29 Oct 2020 21:07:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725771AbgJ3BHZ (ORCPT ); Thu, 29 Oct 2020 21:07:25 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9E51C0613D2 for ; Thu, 29 Oct 2020 18:07:24 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id y16so5191328ljk.1 for ; Thu, 29 Oct 2020 18:07:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BwMmGlmMLcmqzYJ99gKjkUq1Wudan5TSJn8Ws/0M4Fo=; b=aZyFNJB8da1k2pfCYzco1TTbsjCFiv8Gvrhvf+dokA9bi9ZwJSTXcZLrCzC1jZIE77 nN+51GLd/uTe+fqkk67784XDB+QxBJH6D7+wocH6K2C7aqgXB0EVmuR7g7wX9vOCVtVX rOlGABMtk3f7WWHw0+5MTgF9j1k5MXe4hoqvFBoMCLDYdoRi7xfY0fr0gUmZh39UdyKb AZ/nbj8M5DXsJpTtbtOXEw1Kgz8P9fHwra3oG+i7hHXK61MsBloD2mJ/ouQdIt/6b0Mv DFQjYjSteSUnUt1hYlKcul4jKEajEG0jTY/kdH/HogdcW66w5KPkcWtvtoxmHAdFqKUQ RHwA== 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=BwMmGlmMLcmqzYJ99gKjkUq1Wudan5TSJn8Ws/0M4Fo=; b=h6MrPmocdiQFd8xhvp8qFQW35BhqHWRqOYLR14wlv/++1050JPWGg4+NKxqJDpOeyJ 0/YHNxSJvTQR32ODAjwIslYxCskcZ4b92vPI44+aK4DyytLGwg9rpenJf5Eb3sE+3YBv Xfd0Adp9nQRHTYCPm5PnBiNO4ujaLcTsRpcp74lafMHaYZxBHxVs/f4rVf1vQ/2Mbo8G xxiVLwSgI7S3/iBCMH5dhs84QF/eKlRwHlA3H5Uqy5TIKXpbIHaVpzKocvnzek/DVgD1 sz7dG829cJFtenntSUqvkFK2Hd8WIbwpi1Y9SbttJbWhovE3VfH8kFhWquqfi15+gT6h o/2w== X-Gm-Message-State: AOAM531w/vukUZtxcTlvibk7UG3WwOs0g9NaNXKrWxBVQCP77y5W3byn R/4DJ6h8VYq5HZ20hGn59Ly3cw== X-Google-Smtp-Source: ABdhPJx4//2VJE2i01TQOxJzPGp6fxZJabT1/zncubmKp651pgiNQxMNSiEThV/1hG2iyvDpPWRCwA== X-Received: by 2002:a2e:8702:: with SMTP id m2mr2624598lji.21.1604020043137; Thu, 29 Oct 2020 18:07:23 -0700 (PDT) Received: from eriador.lan ([188.162.64.219]) by smtp.gmail.com with ESMTPSA id c6sm447130lfm.226.2020.10.29.18.07.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 18:07:22 -0700 (PDT) From: Dmitry Baryshkov To: Bjorn Andersson , Pavel Machek , Dan Murphy Cc: linux-leds@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 3/5] arm64: dts: pm8150b: add Light Pulse Generator device node Date: Fri, 30 Oct 2020 04:07:11 +0300 Message-Id: <20201030010713.247009-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201030010713.247009-1-dmitry.baryshkov@linaro.org> References: <20201030010713.247009-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Add device node defining LPG/PWM block on PM8150B PMIC chip. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm8150b.dtsi b/arch/arm64/boot/dts/qcom/pm8150b.dtsi index d6e075f92b1e..30e7a5f19e5f 100644 --- a/arch/arm64/boot/dts/qcom/pm8150b.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150b.dtsi @@ -133,5 +133,14 @@ pmic@3 { reg = <0x3 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; + + pm8150b_lpg: lpg { + compatible = "qcom,pm8150b-lpg"; + + #address-cells = <1>; + #size-cells = <0>; + + status = "disabled"; + }; }; }; From patchwork Fri Oct 30 01:07:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 315026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48AFFC55178 for ; Fri, 30 Oct 2020 01:07:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D790F20725 for ; Fri, 30 Oct 2020 01:07:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="EiSlkpd0" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726144AbgJ3BH0 (ORCPT ); Thu, 29 Oct 2020 21:07:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726122AbgJ3BH0 (ORCPT ); Thu, 29 Oct 2020 21:07:26 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E85BDC0613D4 for ; Thu, 29 Oct 2020 18:07:25 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id b1so5712709lfp.11 for ; Thu, 29 Oct 2020 18:07:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=y68c1c7Z13VLVISWQSjGtMfYfdgX0kCBgReV2FtuTdM=; b=EiSlkpd0XH2unr8aJvY/q6JTRASNiATl26sdbbRIjuwr/d5hZJP6EdRnKQYTegfrpm 0mKW9u4t9m8mXIbG8sycs74KNYqwfLoHQkQ3k5GJNkUiB7a8zxQfCqG1jyrS6/qBvaTK HGx0w+GlihSwPT08jKop1iZe4IsurKZXEZXMbGeRRsHfodMn1LxmUYq4sVwXH44OfzTO LY1Ct0OJZckvjhjK+FQpKViA1g44z2XVzpAPw2qZjb8/WraH89RxrWDrwL0H8CbH6Fnw P7WieOfF9Oe5Xd25P5PA/irE3DKZ2H8knSpkok3DdgIRYTvQPj0DOXHsRPUc1sBIJnaz ZUlw== 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=y68c1c7Z13VLVISWQSjGtMfYfdgX0kCBgReV2FtuTdM=; b=JQjMdIKVdI7KK+1vd00Z1qn6jrK0ul6lKg/a1KMmMPfI/GCD3i2DTDJxvTrFsNvFad fdhByr8XJbO5HTLVkaHhL4d0vw3cLU3own42j2vY2WBpaUUr8c+FbT4YCTBJQO44TBBP gRwmb5FuK+wh5ibgsl5RBznYiGJ6+t6odzIQYnSkdahBdQ5zkJz9KcnITDPLj5FWt6UH qjnVu1qOylgu8RJqEs8hapZEG0yAgq5DfMDBDSQfR1HiGI/X5giQkGv/4kQ27yoYVxAi 8qNv9upICup1jpsJvvTQiB3LZ+RV0ijBVCWFI7ifG7XdrJ2QFR1BTN03WLLOk0bJOkzk ss7w== X-Gm-Message-State: AOAM533pqeN68VrW6M4DEpJYD7aWaxeeZVTMjFDmNxyKflPdEF8B881G HiWnXXXdIm52ghICuIS6iCyjfg== X-Google-Smtp-Source: ABdhPJyyl9s5LApPFxXLIlRSqMYgSw7DuZRZYl7P1j6O1xPT1cHbru5qAA46BRXkKwMt9T4WVysPIQ== X-Received: by 2002:a05:6512:2154:: with SMTP id s20mr2819398lfr.467.1604020044443; Thu, 29 Oct 2020 18:07:24 -0700 (PDT) Received: from eriador.lan ([188.162.64.219]) by smtp.gmail.com with ESMTPSA id c6sm447130lfm.226.2020.10.29.18.07.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 18:07:23 -0700 (PDT) From: Dmitry Baryshkov To: Bjorn Andersson , Pavel Machek , Dan Murphy Cc: linux-leds@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 4/5] arm64: dts: pm8150l: add Light Pulse Generator device node Date: Fri, 30 Oct 2020 04:07:12 +0300 Message-Id: <20201030010713.247009-5-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201030010713.247009-1-dmitry.baryshkov@linaro.org> References: <20201030010713.247009-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Add device node defining LPG/PWM block on PM8150L PMIC chip. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/pm8150l.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm8150l.dtsi b/arch/arm64/boot/dts/qcom/pm8150l.dtsi index 9f214ceec2b7..e8926d6c32cb 100644 --- a/arch/arm64/boot/dts/qcom/pm8150l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150l.dtsi @@ -114,5 +114,15 @@ pmic@5 { reg = <0x5 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; + + pm8150l_lpg: lpg { + compatible = "qcom,pm8150l-lpg"; + + #address-cells = <1>; + #size-cells = <0>; + + status = "disabled"; + }; + }; }; From patchwork Fri Oct 30 01:07:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 319968 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp973746ilc; Thu, 29 Oct 2020 18:09:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxz/FPId+QIQ08E61AP3pEPG+mcZaDrk6XmCt/PHdBwxTDDwEiMmfcbmxzlr6sZCpCcBqaO X-Received: by 2002:aa7:c984:: with SMTP id c4mr6822596edt.42.1604020052910; Thu, 29 Oct 2020 18:07:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604020052; cv=none; d=google.com; s=arc-20160816; b=d8MZWAedG8+RcMEIE1cSnwroBHE2/nSmGEJVkN0pP7jPX6DKORMpya72izYGEuJuEK KG2ed12JZ0t3UH+S5stkOUWs2hkKbGMwm1BRqIftPbjIr71IcCijssV9SmtgM6F6UpMQ YKOH1p7LeIQYVQ9zFkfTrcreHJUE1n32ul8hvlIu1PdOOOX7YibdOgoP0tEbHR1bK+Oq +PniR7l0dJmZHHpFLsEKwxlfgGbKXsr+EBWF+SVdV5IIkgxy0JT3DT2LXDPlllfRVX0L mG+h22f5qBczqw/XwP4xs5vGE4tIsISgFU2IAerVfVXgQkeZXE6hKE9i40+BqwaAFh8N Cz9Q== 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=QViQgAeoKYf7Iu82LVxWPMaTDwhUZNQ6uzFRhsBC9QQ=; b=esO7ibE4gyl66LkF6JqBqBA76nk+u4ON3cZneeU01en0mESX3ahIOorjLe20VE55np +gBCZSElmHwE2ZveHzx0weM4JIpi3lIITt5TrLwItCITLbt7hhTGSvZ2DTUZwds1laze O2uLUAdOsax35tXWUZKROcVjFpcwAfuM8++ioaDOG6DwiKwdd/lypoCCCF1h4JkTlikF 2eI2bI3SflMhR17XJGsU0FHVMI0KoxSFh2Q+DRlkC+wMG74urlQNNBQuY98LCmshXhXo +uR5V5Qa6fTKHXsJvpL9eArDaS93r+u6ARtHR2aIt5WjWAPwRbpEb5DkoM2afGcGYxZs B/2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=orT0AVb6; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k25si3596923ejk.65.2020.10.29.18.07.32 for ; Thu, 29 Oct 2020 18:07:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=@linaro.org header.s=google header.b=orT0AVb6; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726117AbgJ3BH2 (ORCPT ); Thu, 29 Oct 2020 21:07:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726053AbgJ3BH1 (ORCPT ); Thu, 29 Oct 2020 21:07:27 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4130DC0613D3 for ; Thu, 29 Oct 2020 18:07:27 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 141so5754848lfn.5 for ; Thu, 29 Oct 2020 18:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QViQgAeoKYf7Iu82LVxWPMaTDwhUZNQ6uzFRhsBC9QQ=; b=orT0AVb6wpcbaB4cOcZktemGwXtEtIn/5F1pze6EHOAx0GlUohuWeJuHku2NIHldlC 7eOvKhbw/DSo7MFXJRJIT0H6fQ4SZINbpNEL6EMLjcMHxsWxnxZ/bLiTkFpgLgvCDNUM DgyLdFNuvtPpy0kuG8U/wOEBgkzF4rULDSecF3vhFqtARelgCh7Wmhd7y/y+S5DWcvZS dWbHR9XoK2Gjv50dr10G0zsSfMWz69EgkzOAT74h14EL0t98Jx+dLN30rL6SOyMUiNUJ k2bFyzmG2A2LCm/SdzuTckV0MpKDJ/yvxUobX9UiShs8FgtHQTCuN1ic87bbVcoYxTfM 8iaA== 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=QViQgAeoKYf7Iu82LVxWPMaTDwhUZNQ6uzFRhsBC9QQ=; b=k0AYqCnP7FFvtR/DPfq1rTT9rX73NLozc0sk8JURdLZ2vRmCdbSOb5XJwicXckRFa7 ZNuPM5DxIL3+i2QrbOyM3u4OaAlvYjWPedMg6AoRb1mbUkefUiMbM0Km6VTf6Y14CZTL C09Zh3axPQ+G0UVnUsKiyoymo2ZY8h/O5mzkSLznIBflrIcMGPDAqf4ksKLz/70urwBp 85lDhqeZKG+cQyo0jeq7F3coiW/m8M+ne5XJj6rpwcwqXLZz/OCg7w5cEPvrBQINvrbG eSoBCSCo2uz20NHD+EfciXqeHb3bo5fOJWur+KMIsIlTJVCNLHvZX4Vu/dX2V2DPMney ZKPA== X-Gm-Message-State: AOAM530sk8wESgGCtjTRHs3BMiZnrALGlPjWRQO29/RA6X/ovb8Mevpc PEt+IauRAWlxj0Lu2nWDBkPAefyGDdQkG1VJ X-Received: by 2002:a05:6512:3490:: with SMTP id v16mr2432620lfr.61.1604020045762; Thu, 29 Oct 2020 18:07:25 -0700 (PDT) Received: from eriador.lan ([188.162.64.219]) by smtp.gmail.com with ESMTPSA id c6sm447130lfm.226.2020.10.29.18.07.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 18:07:25 -0700 (PDT) From: Dmitry Baryshkov To: Bjorn Andersson , Pavel Machek , Dan Murphy Cc: linux-leds@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 5/5] arm64: dts: qrb5165-rb5: declare tri-led user leds Date: Fri, 30 Oct 2020 04:07:13 +0300 Message-Id: <20201030010713.247009-6-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201030010713.247009-1-dmitry.baryshkov@linaro.org> References: <20201030010713.247009-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Qualcomm RB5 platform uses Light Pulse Generator tri-led block to drive three green leds. Add device nodes defining those leds. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) -- 2.28.0 diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index df2d01f915c9..bf3d3f44016e 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -1017,6 +1017,29 @@ &pm8150_rtc { status = "okay"; }; +&pm8150l_lpg { + status = "okay"; + + led@1 { + reg = <1>; + label = "green:user0"; + + linux,default-trigger = "heartbeat"; + default-state = "on"; + }; + + led@2 { + reg = <2>; + label = "green:user1"; + default-state = "on"; + }; + + led@3 { + reg = <3>; + label = "green:user2"; + }; +}; + &qupv3_id_0 { status = "okay"; };