Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3684528iog; Tue, 21 Jun 2022 03:59:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sbkMjruFA70hT4bpp/0Vngp3VTuI7h6aoioqtfVrxSW3zKjazt4c8XWjHGyD0ezq+HwXjl X-Received: by 2002:aa7:cb95:0:b0:434:ef34:664f with SMTP id r21-20020aa7cb95000000b00434ef34664fmr33782484edt.236.1655809148243; Tue, 21 Jun 2022 03:59:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655809148; cv=none; d=google.com; s=arc-20160816; b=0k5mIWCU4UwbMMcF2BN1lIBMvhJ1sah4+0VO4wo1EJguPgILzd9p4S2IdRTKcVTAzh RjXiGOtqbafRlE8AGO4xHBuP6Bqtv+uD411noYsX6F7I5Olc6FySKHHzSpwAidJ26uLp vfqSHLM+ha4V5+oqoHm7/XwCU8vNFCu6cZkauoQ57RRzvw1oaEAGvtlyhWCfRBssywKB Xq3SfjWWzpJ7nNzfYWH91qb4OBukHjqSxT4cozV9HOo882R/ADtFGJ6WqgcSoRteQ35w tjJmqXpmWm2UucdtqGJPuxGnMJH2yF3iv9dT2hEXH+uhwkmXz4jQRg4ccbDWERWM+tbT az1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=D/Eqnjqmnl12dSFxUrRjFlGQ54ZKMERMuKCuM1+6plU=; b=VOzybEfurgpriY/vKq/gbntZXw+GKGuWwNMCZWW+zROswwSqWHl6+64oAtQEpgibKy ZnRTABShQdEqfb59nj7XXPhtiufGAPklIwZ75uTDsjjojESFmkumy6Rj5MGtS5/W7eyB 1MpzAJtFc2taQDUkGQsXng7mxV5+DmNh9JoOE8i8q7TaLoZBrQpaNP1d1iY/oT6kG6wQ 8ZSEWWfpid5zPAieum5c0sJaeWoCuhgTk36fDsg8MbLj+U8Ct6jXrg3PS6DJZFj8YV+O TLiuVnPC//+vtFLsjV0/HLKPuMyWUJfQK/6Ad6P2ylq49+QwkoyCbKwox+XN7n/u2y3Q SgOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=esJE5Cs8; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f14-20020a0564021e8e00b0042dd094e19esi19140706edf.234.2022.06.21.03.58.41; Tue, 21 Jun 2022 03:59:08 -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=@gmail.com header.s=20210112 header.b=esJE5Cs8; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348260AbiFUKg5 (ORCPT + 99 others); Tue, 21 Jun 2022 06:36:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348138AbiFUKgm (ORCPT ); Tue, 21 Jun 2022 06:36:42 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2874028E14; Tue, 21 Jun 2022 03:36:41 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id h34-20020a17090a29a500b001eb01527d9eso12086127pjd.3; Tue, 21 Jun 2022 03:36:41 -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; bh=D/Eqnjqmnl12dSFxUrRjFlGQ54ZKMERMuKCuM1+6plU=; b=esJE5Cs8hxQTCMjqmhUfTurNyYXyH5qffkShag2sqyUzZJpiCQbbmxf917Iufe65XX eCth9pwsuHVyTXhutbGdZXeTMKZFqBSZ8xn4E3ooMLF4A0a5fPy6u82/xeA+QS/LWFEs L2Vva8Iqn66NoGTPpO7/ytEhQK68ckVHF0JEl7pFnq2rJ3te4zxMirS3/juuvhv6To9E j/fpGbpYiozPDEpgaVk3PTBeXZTR54ufr2SwY1n8o7ygPxwW5j17rb9qlZIpNg4Rk4+X b9tY/MK6YVgfKV05db5WwKLNmQBE9MgOB0QmGI4F8FfNfIz7gEQFdTvz7C/rpVbJpY7/ g0qQ== 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; bh=D/Eqnjqmnl12dSFxUrRjFlGQ54ZKMERMuKCuM1+6plU=; b=m0z1G7qnj5sgy1IeBQQfVs0NqYMyzL9iF3ShfQNKoWx4P2bxMYdPzMmvJmcRgwJ7zd hNPHfkHRb/hD5g2+f+g8dR/Ou0oNam40xXdFHvCLMPM7W1xMitJ4bAXMFXsP3eoqnSSx hulz3ggnttfKtXLrWiQGGApljMblLFb/ueCUyWGl4r3/36yMxkNmNq64k43C/KadXkAh 6Wib10MuoH/5UPy3JQzHa1vI5Mzr29CeWy5o5wLVuihjRbttHze+hZOqymxHbwM8vdAL QEIb1vPCES2oL/fxu9kycokv2G4rVLM9mWa0ErHQIqeH6d1hIBS46Ge4dTeHbMQm4J4x g7HQ== X-Gm-Message-State: AJIora99OiO80Lgc9GshKf13WKfjUKI/JZIOxG0ByHA4Em1NEpUr9m7j l7e9hdILAOcMVGPc6WVPssc= X-Received: by 2002:a17:903:2308:b0:16a:666:8ec2 with SMTP id d8-20020a170903230800b0016a06668ec2mr21368451plh.20.1655807800571; Tue, 21 Jun 2022 03:36:40 -0700 (PDT) Received: from localhost.localdomain ([2402:7500:569:c428:5499:b787:9:3bde]) by smtp.gmail.com with ESMTPSA id o188-20020a625ac5000000b0050dc762819bsm36295pfb.117.2022.06.21.03.36.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jun 2022 03:36:40 -0700 (PDT) From: cy_huang To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com Cc: pavel@ucw.cz, deller@gmx.de, cy_huang@richtek.com, lucas_tsai@richtek.com, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/2] dt-bindings: backlight: rt4831: Add the new ocp level property Date: Tue, 21 Jun 2022 18:36:27 +0800 Message-Id: <1655807788-24511-2-git-send-email-u0084500@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1655807788-24511-1-git-send-email-u0084500@gmail.com> References: <1655807788-24511-1-git-send-email-u0084500@gmail.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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 From: ChiYuan Huang Add 'richtek,bled-ocp-microamp' property to make it chooseable. The wrong backlight ocp level may affect the backlight channel output current smaller than configured. Signed-off-by: ChiYuan Huang Reviewed-by: Daniel Thompson Reviewed-by: Krzysztof Kozlowski --- Since v3: - Refine the description for backlight ocp property. - Use the enum to list the supported value. Since v2: - Change the property name from 'richtek,bled-ocp-sel' to 'richtek,bled-ocp-microamp'. --- .../devicetree/bindings/leds/backlight/richtek,rt4831-backlight.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/backlight/richtek,rt4831-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/richtek,rt4831-backlight.yaml index e0ac686..99e9e13 100644 --- a/Documentation/devicetree/bindings/leds/backlight/richtek,rt4831-backlight.yaml +++ b/Documentation/devicetree/bindings/leds/backlight/richtek,rt4831-backlight.yaml @@ -47,6 +47,11 @@ properties: minimum: 0 maximum: 3 + richtek,bled-ocp-microamp: + description: | + Backlight over current protection level. + enum: [900000, 1200000, 1500000, 1800000] + richtek,channel-use: description: | Backlight LED channel to be used. -- 2.7.4