From patchwork Sun Dec 4 06:15:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 630877 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A92D0C6370E for ; Sun, 4 Dec 2022 06:16:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229691AbiLDGQF (ORCPT ); Sun, 4 Dec 2022 01:16:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229861AbiLDGQC (ORCPT ); Sun, 4 Dec 2022 01:16:02 -0500 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80C241ADB7 for ; Sat, 3 Dec 2022 22:16:01 -0800 (PST) Received: by mail-lj1-x232.google.com with SMTP id r8so9969841ljn.8 for ; Sat, 03 Dec 2022 22:16:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=RfNchStOodffna+QEO7r4Jld3Hr/B9qNIR7JQlyzfxQ=; b=xy+rewDal477F1HElTX6RYKvnSvGR1XzXBGIIGyFrdNzv2XrtLcSAui1ufmK/WUWuj hzh2y6U41yFoUxO4sKfzMI8cU0F1LlcKTZpPSg95u21NIvtWQ4r9QiXwuXhZypTqInqO JiuJaoWSVxdhJJL6Beu9ukx2BBLgTVvukWS9O+RNqo/ZjUMiddmiRQHtteXFle7sedzC H3Ty4dud0vejSW1mWnUk6gNpPkWiNywZUo2rAU1XQ/7uMo+SnUgF89zypSgSI1uAIYIe /d8cZxi6I2GS0BdgiecYuDW1fKf6vgPVZ6FuN+p2HsIKpx3ChVeUy2shBG/ZQA8HE9fL 3v0Q== 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=RfNchStOodffna+QEO7r4Jld3Hr/B9qNIR7JQlyzfxQ=; b=sGh+tKsUMqjEEItlDCPvvwhE5rOJec/KWYHZGGQ7ffpH9L4om4IJK1wtvIldByv5/B obNY0ieuY0xl/09sfdN5s0QRBGP59Yy18Pkx8SyAF7UWZ13b5B6cPYmZ+AVp/iG5JClX 3iluxl2XttiQyzYtjFhrBDHEGFtKFjTVSHyPcHW5rAGaGPsH0P0EE3PhviQNEKBHCJix CpQtKCwVu4hYqiRbxeK+WTVqExPMtidAmVjTgHHAZ3ew2iWPxraoPUS/zQ1dXd3fhwFc XynJJ1ble4sF/peINVcmWM95owTLQOmupllr/fgxMKIXwqDQbbmi5m+Qh6cE9sWdFnL1 FmlA== X-Gm-Message-State: ANoB5plRBlwXMZBFXAi9MUIjjBM/tqlf1c5NW3BLxzOkLc4ljbOqW2D0 ANNukxMaEQGl8Lr3ZBBCh66eOA== X-Google-Smtp-Source: AA0mqf73i1pupn8/hJ6UnDdEtGCXADyuWG1T8UDd6XR4irFQ2WqRE+Y4htTyLREwK1oZK2rgyj+ykw== X-Received: by 2002:a2e:a5c6:0:b0:277:22c3:afbb with SMTP id n6-20020a2ea5c6000000b0027722c3afbbmr19126253ljp.204.1670134559876; Sat, 03 Dec 2022 22:15:59 -0800 (PST) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id l12-20020a056512110c00b0047f7722b73csm1650725lfg.142.2022.12.03.22.15.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Dec 2022 22:15:59 -0800 (PST) From: Dmitry Baryshkov To: devicetree@vger.kernel.org, Lee Jones , Rob Herring , Krzysztof Kozlowski Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , linux-iio@vger.kernel.org, Dmitry Torokhov , linux-input@vger.kernel.org, Pavel Machek , linux-leds@vger.kernel.org Subject: [PATCH v2 4/4] dt-bindings: leds: Add 'cm3605' to 'linux,default-trigger' Date: Sun, 4 Dec 2022 08:15:55 +0200 Message-Id: <20221204061555.1355453-5-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221204061555.1355453-1-dmitry.baryshkov@linaro.org> References: <20221204061555.1355453-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add 'cm3605' to possible values for 'linux,default-trigger'. This allows one to specify Capella CM3605 proximity sensor as the LED trigger. Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/leds/common.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml index f5c57a580078..4ffb1cdf6845 100644 --- a/Documentation/devicetree/bindings/leds/common.yaml +++ b/Documentation/devicetree/bindings/leds/common.yaml @@ -101,6 +101,7 @@ properties: # LED is triggered by SD/MMC activity - pattern: "^mmc[0-9]+$" - pattern: "^cpu[0-9]*$" + - const: cm3605 led-pattern: description: |