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 E803CEB64DA for ; Sat, 17 Jun 2023 10:12:48 +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:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XeIvj/kERBEz4xjiqfDJ9x0nGc8wLD9o/S55cGl7Uq4=; b=wTn/yXFGdWvsdZ RNUoIheQuXmbfXlXR4e6QusZozbldSFcoNl4brPi1ncURZuvR5A+96SxfBzhvtYkTVrl2ttTP8VTy 5kUmKC7zfTciZIRKTP0aiGdp/xewwSyzGefGsQIp3Z0Keb4/Mp7uPDXUTvhbZV6I1zMeC/p+YsWkC y0wYf2DOBW1JbiMEFmxWhnmof3qXmj2N9h4vmT1Ten/Wj+596lvntOqaMJi5rBkxDp1+vqNQGGVsB kJKDoqkOvODtXgItmo2EYtgKtzYcl1pkeyvhP1LEAY+RdKpuwIHT57X/nk7lH7DOB7tOMxOYlaQR6 XruTuOjLc44XuqTbi/XQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qASuv-003EmX-2q; Sat, 17 Jun 2023 10:12:25 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qASut-003ElY-08 for linux-arm-kernel@lists.infradead.org; Sat, 17 Jun 2023 10:12:24 +0000 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-9881b9d8cbdso12672466b.1 for ; Sat, 17 Jun 2023 03:12:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686996740; x=1689588740; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TgP7Xo0/BI+q/hHqVMJMUYkrnaQIXgCa1ZtLOmCe39I=; b=WY/Al9fg2u/uL7+ehIIXuN3VmIYDiGimoYGFQeZU7j8AvPZCB+bcbRw/+WqHtBruYr ETErEbysbq115pvxQot3y8VruE74oD1UwQMYIRagJLyOxXLehg4EwLAlNRfH0kRRSkDz wSLNCUUueHDn9G0f2kA7bNDD86wzffQKqbq5sO3Ow2jlbhRsG0hn646D5aEmZre6NfVe s4SOKzNa4tdpcPXF8+sMQGyOQSUfUytKGY9n8FPEaGDgKgEeSfm5ddwC9IlXMquMhlL1 84g4IDdebc+bMhNpNSMw1kE0850ioi+5VEaN9QcNCz4LhNBPQ2QCw83m1zPCHLrb82xI JWJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686996740; x=1689588740; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TgP7Xo0/BI+q/hHqVMJMUYkrnaQIXgCa1ZtLOmCe39I=; b=Krd5bdSUsRtfRYsce4jmx35ENCKYOTtSFvOjcEzCktYv62EFzIO4GE1SvovPhs+bkb HOxKWDVMwPsHx6AbDUSs6INh1x+7mr0QYc0Oun+Dr1HX9/9zlZC2PtjnM1ic2z/7De1X JVsjpPeUhefmR7GCiMwm5u/BOg7UIArkL8qBhB1ThYVow4PbVNTetwZsnrU6eOsFeTHE ornc1seQyTZ4m9ubVyo0LaB/PN0epNfaOqSAuhItNtSUrYSj2Y/+uf1BWeI6CL2xOm2J Ml5XHgaiqxztRB8dP8e7Kaij6X9FRT2FmbP7DSWU1xUXJXaUEYIsc9aKt/r+nP5K0c3s 4sKA== X-Gm-Message-State: AC+VfDykrIWYk0xEzlLbAsufjQHSegCZQvLAGIgXs9tcGSscTlXfl1Zf WJfw4dDklXz3Rsj50MyV2UlWNw== X-Google-Smtp-Source: ACHHUZ6Yrsd8H0C60FMXwj8vhCdlHIXessbhg49bscbUVgRS9oFYMYBeaKA0rC+pw4cm1EFHhY8Ygg== X-Received: by 2002:a17:907:d26:b0:977:d468:827 with SMTP id gn38-20020a1709070d2600b00977d4680827mr4767373ejc.17.1686996739862; Sat, 17 Jun 2023 03:12:19 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id i24-20020a170906115800b0098642e99c26sm1980189eja.174.2023.06.17.03.12.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 17 Jun 2023 03:12:19 -0700 (PDT) Message-ID: <17576d81-a342-0b77-367a-eb9f2b97b734@linaro.org> Date: Sat, 17 Jun 2023 12:12:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 2/3] dt-bindings: backlight: lm3630a: add entries to control boost frequency Content-Language: en-US To: Maximilian Weigand , Lee Jones , Daniel Thompson , Jingoo Han , Helge Deller , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Maximilian Weigand References: <20230602-lm3630a_boost_frequency-v1-0-076472036d1a@mweigand.net> <20230602-lm3630a_boost_frequency-v1-2-076472036d1a@mweigand.net> From: Krzysztof Kozlowski In-Reply-To: <20230602-lm3630a_boost_frequency-v1-2-076472036d1a@mweigand.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230617_031223_105060_500A7CEF X-CRM114-Status: GOOD ( 16.63 ) 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 On 14/06/2023 21:08, Maximilian Weigand wrote: > From: Maximilian Weigand > > Add 'ti,boost_use_1mhz' to switch between 500 kHz and 1 MHz boost > converter switching frequency, and add 'ti,boost_frequency_shift' to > activate a frequency shift to 560 kHz or 1.12 MHz, respectively. > > Signed-off-by: Maximilian Weigand > --- > .../bindings/leds/backlight/lm3630a-backlight.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml > index 3c9b4054ed9a..ef7ea0ad2d25 100644 > --- a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml > +++ b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml > @@ -33,6 +33,18 @@ properties: > description: GPIO to use to enable/disable the backlight (HWEN pin). > maxItems: 1 > > + ti,boost_use_1mhz: No underscores in property names. > + description: | Do not need '|' unless you need to preserve formatting. > + If present, change the boost converter switching frequency from the > + default 500 kHz to 1 MHz. Refer to data sheet for hardware requirements. > + type: boolean > + > + ti,boost_frequency_shift: > + description: | > + If present, change boost converter switching frequency from 500 kHz to > + 560 kHz or from 1 Mhz to 1.12 Mhz, respectively. So just make it a property choosing the frequency, not bools, with proper unit suffix. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel