From mboxrd@z Thu Jan 1 00:00:00 1970 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 B58FECCA489 for ; Fri, 22 Jul 2022 10:25:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235292AbiGVKZB (ORCPT ); Fri, 22 Jul 2022 06:25:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235156AbiGVKYt (ORCPT ); Fri, 22 Jul 2022 06:24:49 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 745B69D53E; Fri, 22 Jul 2022 03:24:47 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id bk6-20020a17090b080600b001f2138a2a7bso6140453pjb.1; Fri, 22 Jul 2022 03:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SxGKLw/sS7fdJZuE8bLGBTMKV4RyLr0/hVQFdtvG6hY=; b=qIjXERqyCxulsL7qrxC5ZZDDBbrioHFknIfqWTpItY9DnBOYdTrKjjHxJHVKgCGl/b qI1Bo3uVYHhVsETc34PIx5Bt5sRoC2tiuGaxCHy/jAJM0eDPTQXZeSPQFinIe+I8aq3k b4sxp+LsavCZEhpdo/xTXeoek2UqXswoT83RvGn19svgCZFMQWpoDvYyiXUknkV3mWGc j0uEqKCYVhxP+mKB9jyzIsWR4TAUOava99C6Tc8tfKqlztes7s1/XY6RtnvubtGfeZpn xjRuSRo549Wuo6S2lnKGNBn8iJB+KM+O2KEuPv2JYYPohP2Sw8x4qlz0WakW9LdwI4/U Et7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SxGKLw/sS7fdJZuE8bLGBTMKV4RyLr0/hVQFdtvG6hY=; b=jVoxC8Q9V8WVj9Lgszus3p8gLZFfWvfW7SGFGttvWMljH+ObO6SpYi0kAXxZ9rFJ2N MrhsTIYqCBOhgFK4iR04e6IfF6znQenDydbCvL2HlNxolnTlL0rW/doVyoDBtRUrYRmG v2tIW1sPgbZdJF3YABAMWTTn843bPMQsI7h+m04MDArkb7+1g2AQqPO0rSbxOfOYA/bM 2GrIDh7YRRvfVWZI3JljPLi06sgI0Ys+c9llutGpZuzXZk7srep+2GPNHMkw/mfGaLas Yz2P2ZipWowxQ25y5tiokhlEn+FFNikZnUpPbcLaX7bZRuv/BkFt62z+e69iDQ4C+Aby qICA== X-Gm-Message-State: AJIora8xwBpqzUXS2njcvtwOVkI7Q6y9Qm1wXSY5LwZqoAew7Jy3sNDt ORkFjJqWpFFpMWl4KeqTDc0= X-Google-Smtp-Source: AGRyM1suCduVs2OcapdKOFquLFxR9PV6851tgTGd/xvEl5/lz4vxWAHevo2+JXiFLf4k/XyyV+aWjQ== X-Received: by 2002:a17:90b:3c49:b0:1f1:9213:e747 with SMTP id pm9-20020a17090b3c4900b001f19213e747mr3386233pjb.15.1658485486574; Fri, 22 Jul 2022 03:24:46 -0700 (PDT) Received: from RD-3580-24288.rt.l (42-73-82-239.emome-ip.hinet.net. [42.73.82.239]) by smtp.gmail.com with ESMTPSA id h189-20020a6283c6000000b00528d620eb58sm3614551pfe.17.2022.07.22.03.24.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 03:24:46 -0700 (PDT) From: ChiaEn Wu To: lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, pavel@ucw.cz, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, sre@kernel.org, chunfeng.yun@mediatek.com, gregkh@linuxfoundation.org, jic23@kernel.org, lars@metafoo.de, lgirdwood@gmail.com, broonie@kernel.org, linux@roeck-us.net, heikki.krogerus@linux.intel.com, deller@gmx.de, andy.shevchenko@gmail.com Cc: chiaen_wu@richtek.com, alice_chen@richtek.com, cy_huang@richtek.com, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, linux-iio@vger.kernel.org, linux-fbdev@vger.kernel.org, szunichen@gmail.com, Krzysztof Kozlowski Subject: [PATCH v6 04/13] dt-bindings: leds: Add MediaTek MT6370 flashlight Date: Fri, 22 Jul 2022 18:23:58 +0800 Message-Id: <20220722102407.2205-5-peterwu.pub@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220722102407.2205-1-peterwu.pub@gmail.com> References: <20220722102407.2205-1-peterwu.pub@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org From: Alice Chen Add MediaTek MT6370 flashlight binding documentation. Signed-off-by: Alice Chen Reviewed-by: Krzysztof Kozlowski --- .../bindings/leds/mediatek,mt6370-flashlight.yaml | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml diff --git a/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml b/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml new file mode 100644 index 0000000..e9d02ed --- /dev/null +++ b/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/mediatek,mt6370-flashlight.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Flash LED driver for MT6370 PMIC from MediaTek Integrated. + +maintainers: + - Alice Chen + +description: | + This module is part of the MT6370 MFD device. + Add MT6370 flash LED driver include 2-channel flash LED support Torch/Strobe Mode. + +properties: + compatible: + const: mediatek,mt6370-flashlight + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^led@[0-1]$": + type: object + $ref: common.yaml# + unevaluatedProperties: false + + properties: + reg: + enum: [0, 1] + +required: + - compatible + - "#address-cells" + - "#size-cells" + +additionalProperties: false -- 2.7.4 From mboxrd@z Thu Jan 1 00:00:00 1970 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 B785AC433EF for ; Fri, 22 Jul 2022 10:24:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D870E9338E; Fri, 22 Jul 2022 10:24:47 +0000 (UTC) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by gabe.freedesktop.org (Postfix) with ESMTPS id 305569338C for ; Fri, 22 Jul 2022 10:24:47 +0000 (UTC) Received: by mail-pj1-x1035.google.com with SMTP id gq7so4020214pjb.1 for ; Fri, 22 Jul 2022 03:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SxGKLw/sS7fdJZuE8bLGBTMKV4RyLr0/hVQFdtvG6hY=; b=qIjXERqyCxulsL7qrxC5ZZDDBbrioHFknIfqWTpItY9DnBOYdTrKjjHxJHVKgCGl/b qI1Bo3uVYHhVsETc34PIx5Bt5sRoC2tiuGaxCHy/jAJM0eDPTQXZeSPQFinIe+I8aq3k b4sxp+LsavCZEhpdo/xTXeoek2UqXswoT83RvGn19svgCZFMQWpoDvYyiXUknkV3mWGc j0uEqKCYVhxP+mKB9jyzIsWR4TAUOava99C6Tc8tfKqlztes7s1/XY6RtnvubtGfeZpn xjRuSRo549Wuo6S2lnKGNBn8iJB+KM+O2KEuPv2JYYPohP2Sw8x4qlz0WakW9LdwI4/U Et7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SxGKLw/sS7fdJZuE8bLGBTMKV4RyLr0/hVQFdtvG6hY=; b=DbpGsLZZSEX8QqJ1v40KKmJ25uZYjPdQmmAQW9J9tIZ1RxcM+cAY/RLARQmI6cQ4Bc VoetF4oqI8PXveYtyGpislMJrhGKhzYb9Sb16oP2pvwkt5d+0DbqnvZiHov8sx+bW5l6 X8O5YLXjPb/nSmckLNncx9QG+ssYI9tj8KyH5yJe0/NwPnM4chDP6+EinyVn9/8+03GC URDaed9FB2qgCRTjS+EqNJRSPGhXzCGde7PWMmeIsVb4j2PrhDxwDGEu5fxBHCc2Eyi+ IMa+J2oP4yy0CItZ1rsLRWoTPNok/i5IO1t9JW0LS4bVDn8QKzx+UoK4Pt0zygBnMEB8 NEig== X-Gm-Message-State: AJIora+CtmFsJg0gBaTq2T0Vsb+6UED4uRsf4/E7hFhBcDXU6xlh9x6n k9l+g1PEIe4LXnW5mQCPqK0= X-Google-Smtp-Source: AGRyM1suCduVs2OcapdKOFquLFxR9PV6851tgTGd/xvEl5/lz4vxWAHevo2+JXiFLf4k/XyyV+aWjQ== X-Received: by 2002:a17:90b:3c49:b0:1f1:9213:e747 with SMTP id pm9-20020a17090b3c4900b001f19213e747mr3386233pjb.15.1658485486574; Fri, 22 Jul 2022 03:24:46 -0700 (PDT) Received: from RD-3580-24288.rt.l (42-73-82-239.emome-ip.hinet.net. [42.73.82.239]) by smtp.gmail.com with ESMTPSA id h189-20020a6283c6000000b00528d620eb58sm3614551pfe.17.2022.07.22.03.24.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 03:24:46 -0700 (PDT) From: ChiaEn Wu To: lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, pavel@ucw.cz, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, sre@kernel.org, chunfeng.yun@mediatek.com, gregkh@linuxfoundation.org, jic23@kernel.org, lars@metafoo.de, lgirdwood@gmail.com, broonie@kernel.org, linux@roeck-us.net, heikki.krogerus@linux.intel.com, deller@gmx.de, andy.shevchenko@gmail.com Subject: [PATCH v6 04/13] dt-bindings: leds: Add MediaTek MT6370 flashlight Date: Fri, 22 Jul 2022 18:23:58 +0800 Message-Id: <20220722102407.2205-5-peterwu.pub@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220722102407.2205-1-peterwu.pub@gmail.com> References: <20220722102407.2205-1-peterwu.pub@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org, szunichen@gmail.com, alice_chen@richtek.com, linux-pm@vger.kernel.org, linux-iio@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, cy_huang@richtek.com, Krzysztof Kozlowski , chiaen_wu@richtek.com, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-leds@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Alice Chen Add MediaTek MT6370 flashlight binding documentation. Signed-off-by: Alice Chen Reviewed-by: Krzysztof Kozlowski --- .../bindings/leds/mediatek,mt6370-flashlight.yaml | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml diff --git a/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml b/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml new file mode 100644 index 0000000..e9d02ed --- /dev/null +++ b/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/mediatek,mt6370-flashlight.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Flash LED driver for MT6370 PMIC from MediaTek Integrated. + +maintainers: + - Alice Chen + +description: | + This module is part of the MT6370 MFD device. + Add MT6370 flash LED driver include 2-channel flash LED support Torch/Strobe Mode. + +properties: + compatible: + const: mediatek,mt6370-flashlight + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^led@[0-1]$": + type: object + $ref: common.yaml# + unevaluatedProperties: false + + properties: + reg: + enum: [0, 1] + +required: + - compatible + - "#address-cells" + - "#size-cells" + +additionalProperties: false -- 2.7.4 From mboxrd@z Thu Jan 1 00:00:00 1970 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 037A9C433EF for ; Fri, 22 Jul 2022 10:27:36 +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=SNrwhkN5ihw8xeCJbRFJJG/OY4vPQ8tZ40APw3yQA6M=; b=dSpkWauIebfR1A BGYwfnpxdBOelnEgyrmjxo/r5vk2rOW+lZ5uQgrjbjvcct66CRpW0yGNpt5IKEnNdrCkm37EyR4ab 40687swZGopr3MK65lsj7F0xJ0JLC/kR4+min/OfDjES8A4tJM1F4vVtCglYMJHnBC9wZrJ4MqagK g1+Sy+vmqZYlx6Q+DXfZgP///ENnLdUPe/6F3tc8DrAGNlM31z6sXjhRPyBcAuSGI86GURhb9fOPO MxNdooqJK69h0tX2mpfLVyXHBBeyEgLIBWbPBzDo2sIDX9AeKI6eGyjSfOYzu2R0nNSRg6iN4phZI xldTEvG+iMBgIqEHAWfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEprf-002eqi-JQ; Fri, 22 Jul 2022 10:26:36 +0000 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEppx-002dNU-F2; Fri, 22 Jul 2022 10:24:50 +0000 Received: by mail-pj1-x102d.google.com with SMTP id ku18so4013912pjb.2; Fri, 22 Jul 2022 03:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SxGKLw/sS7fdJZuE8bLGBTMKV4RyLr0/hVQFdtvG6hY=; b=qIjXERqyCxulsL7qrxC5ZZDDBbrioHFknIfqWTpItY9DnBOYdTrKjjHxJHVKgCGl/b qI1Bo3uVYHhVsETc34PIx5Bt5sRoC2tiuGaxCHy/jAJM0eDPTQXZeSPQFinIe+I8aq3k b4sxp+LsavCZEhpdo/xTXeoek2UqXswoT83RvGn19svgCZFMQWpoDvYyiXUknkV3mWGc j0uEqKCYVhxP+mKB9jyzIsWR4TAUOava99C6Tc8tfKqlztes7s1/XY6RtnvubtGfeZpn xjRuSRo549Wuo6S2lnKGNBn8iJB+KM+O2KEuPv2JYYPohP2Sw8x4qlz0WakW9LdwI4/U Et7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SxGKLw/sS7fdJZuE8bLGBTMKV4RyLr0/hVQFdtvG6hY=; b=U785S+y0z4cIWgTBSYbFimC8DWB0fjXNHaZyVfIDmOT3rdO16tzAqneM80xinUkymO DwxoS3t6gA0BYg5VrbWVHEb5AuWiwyK5G3pCKrUQ8xmnhAvGceQo5pbxjgdkSZt0boWp 8ug7PRndxDhFgLTSDE0XT8T9vEcWkqZ0YNjLy58Fn9+XbLC+pNcu15RvosDf7bpi57vk jbnJqr8qOIALlU1lW+32Gl4CIJzVwf0YLtJy20toZW6RWvS3WIlxWerjCtNSviWUZc07 Bt0S+/uV9Ik+qMf3HaOOwqxO3zC4+UBRyvSM2VxuKcClvnQpsjbcyv/5yNhaPoR2Ns25 GMNA== X-Gm-Message-State: AJIora+1c2mgFJiOQDS2a0UO4s5yA1rVWirVlru5WtVLV/zVSFV4WOoX XHQjJeE0v9DaMl4vDwtcDw0= X-Google-Smtp-Source: AGRyM1suCduVs2OcapdKOFquLFxR9PV6851tgTGd/xvEl5/lz4vxWAHevo2+JXiFLf4k/XyyV+aWjQ== X-Received: by 2002:a17:90b:3c49:b0:1f1:9213:e747 with SMTP id pm9-20020a17090b3c4900b001f19213e747mr3386233pjb.15.1658485486574; Fri, 22 Jul 2022 03:24:46 -0700 (PDT) Received: from RD-3580-24288.rt.l (42-73-82-239.emome-ip.hinet.net. [42.73.82.239]) by smtp.gmail.com with ESMTPSA id h189-20020a6283c6000000b00528d620eb58sm3614551pfe.17.2022.07.22.03.24.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 03:24:46 -0700 (PDT) From: ChiaEn Wu To: lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, pavel@ucw.cz, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, sre@kernel.org, chunfeng.yun@mediatek.com, gregkh@linuxfoundation.org, jic23@kernel.org, lars@metafoo.de, lgirdwood@gmail.com, broonie@kernel.org, linux@roeck-us.net, heikki.krogerus@linux.intel.com, deller@gmx.de, andy.shevchenko@gmail.com Cc: chiaen_wu@richtek.com, alice_chen@richtek.com, cy_huang@richtek.com, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-usb@vger.kernel.org, linux-iio@vger.kernel.org, linux-fbdev@vger.kernel.org, szunichen@gmail.com, Krzysztof Kozlowski Subject: [PATCH v6 04/13] dt-bindings: leds: Add MediaTek MT6370 flashlight Date: Fri, 22 Jul 2022 18:23:58 +0800 Message-Id: <20220722102407.2205-5-peterwu.pub@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220722102407.2205-1-peterwu.pub@gmail.com> References: <20220722102407.2205-1-peterwu.pub@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220722_032449_525413_1A4A253C X-CRM114-Status: GOOD ( 11.18 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Alice Chen Add MediaTek MT6370 flashlight binding documentation. Signed-off-by: Alice Chen Reviewed-by: Krzysztof Kozlowski --- .../bindings/leds/mediatek,mt6370-flashlight.yaml | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml diff --git a/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml b/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml new file mode 100644 index 0000000..e9d02ed --- /dev/null +++ b/Documentation/devicetree/bindings/leds/mediatek,mt6370-flashlight.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/mediatek,mt6370-flashlight.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Flash LED driver for MT6370 PMIC from MediaTek Integrated. + +maintainers: + - Alice Chen + +description: | + This module is part of the MT6370 MFD device. + Add MT6370 flash LED driver include 2-channel flash LED support Torch/Strobe Mode. + +properties: + compatible: + const: mediatek,mt6370-flashlight + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^led@[0-1]$": + type: object + $ref: common.yaml# + unevaluatedProperties: false + + properties: + reg: + enum: [0, 1] + +required: + - compatible + - "#address-cells" + - "#size-cells" + +additionalProperties: false -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel