From patchwork Wed Jun 14 19:08:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maximilian Weigand X-Patchwork-Id: 13280386 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 2BF5EEB64DC for ; Wed, 14 Jun 2023 19:09:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235920AbjFNTJc (ORCPT ); Wed, 14 Jun 2023 15:09:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234921AbjFNTJH (ORCPT ); Wed, 14 Jun 2023 15:09:07 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D42C82110; Wed, 14 Jun 2023 12:09:03 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-3f8d0e814dfso9354035e9.3; Wed, 14 Jun 2023 12:09:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686769742; x=1689361742; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=JT6Z31XAHARj6r8X3TIPRAVf58b/OWvZZzUE5BznjHg=; b=gTzZep0N8oZ10jqQuBazaO0RxgQ4fGM9RR2h9Phld70KcT2mFR2cnLbdgMqScg8sBL 3jMYkb8566phWczTsYRfnzfNxUT2R6VjXkjin4M4pLmU0AVNRQRM/vtTmvQa8cR3B1vY 3qegnkVWljI7Ltunbik/Ch/48zAdVkDn8AWiYWbMH836isLN44BOgxbHVdiZAQ6SkqAu bCIRyIKEn/K/n8l89Myt5fgbn5I9b8NkNczJZ1D2q5ZZzAf82ZbKmfnApqSQpFv0o/Nk eDrdy/kUVixCC20dwLJeKRqsp35Hch2aeSMOHro9Kou/5UtdS7TSkhf4zqfNVOolH/Ha 3ZoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686769742; x=1689361742; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JT6Z31XAHARj6r8X3TIPRAVf58b/OWvZZzUE5BznjHg=; b=cQcCUy8p8MnN827QfmUl+JA+VIlbXrcamfQXbKILs5P/v3vqsEiJe2JmjVcl/CdxAx vGSVxOibLWYl2H7wwHhjwIeSRnCuVgfXoKB8fYVS049POrDmeVy/7737wTFNDJkFXhLL Q5P/y2Wiz1ROd3a7hsD/Da9+qX4rVlQVB1HMFVcPDcFev1aAC/m69nNeFDqxyBbihBRp 7mGnDi6SO/HZ4Z57eRyZjG9gyPbRjKfyOyjtAHUVwkZWfdKUapVdQPEH8F7ILNCjbgSZ FmZle5T3dXcYcRtj7Xog8P7bWEFghn2DmF+pcvr2jZa3fkadj6+LN83T8JDJAdGXtCea Cc2A== X-Gm-Message-State: AC+VfDwo++Dsix7dFTK8bL/GD4s9PH07Z/dwsVxwpDA9IoaS96GHXAXr FzkUBhSUynx52+uXJb8bbs8= X-Google-Smtp-Source: ACHHUZ4FHa3Ekp7twbhYSZ1B+qSHxIRwzxrV2Oa4FpAIjwYwusJWuhQOVC7BOmRWCf2/QwABBhnpCw== X-Received: by 2002:a05:600c:218:b0:3f7:f584:5793 with SMTP id 24-20020a05600c021800b003f7f5845793mr10767493wmi.1.1686769742314; Wed, 14 Jun 2023 12:09:02 -0700 (PDT) Received: from [127.0.1.1] (2001-4dd6-393b-ff-f59e-4402-63f8-7ff5.ipv6dyn.netcologne.de. [2001:4dd6:393b:ff:f59e:4402:63f8:7ff5]) by smtp.gmail.com with ESMTPSA id e6-20020a5d5306000000b003110ab70a4fsm2341094wrv.83.2023.06.14.12.09.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 12:09:01 -0700 (PDT) From: Maximilian Weigand Date: Wed, 14 Jun 2023 21:08:53 +0200 Subject: [PATCH 2/3] dt-bindings: backlight: lm3630a: add entries to control boost frequency MIME-Version: 1.0 Message-Id: <20230602-lm3630a_boost_frequency-v1-2-076472036d1a@mweigand.net> References: <20230602-lm3630a_boost_frequency-v1-0-076472036d1a@mweigand.net> In-Reply-To: <20230602-lm3630a_boost_frequency-v1-0-076472036d1a@mweigand.net> To: 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 X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1686769738; l=1362; i=mweigand@mweigand.net; s=20230601; h=from:subject:message-id; bh=vFi9JmX30p4FXzLB94ZKuKFYw2IqIvaq5iK+mmgK7cc=; b=tZelMqP5s9rTtVj5AIX03Sswiymmj2/HSNVLOJ2ccIO1XsQuYVsGFigH8Y/GaLBYubBTsAXMq 9sYwPTIhVH6DSu/5SpeGl25ralV0tuvaapXJhddWIR3appAYaVkjXHW X-Developer-Key: i=mweigand@mweigand.net; a=ed25519; pk=Tjuj6PXmCCxzGTRw+9suZuZ41q/etgDHrIbPdkAaTpM= Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org 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: + description: | + 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. + type: boolean + required: - compatible - reg