From patchwork Wed Sep 30 22:35:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 313909 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:1081:0:0:0:0 with SMTP id r1csp20854ilj; Wed, 30 Sep 2020 15:40:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvCEz8YZpA33caGhAQXgjycBvtikWwoFIqG9juWeC1Vcmtxj2hhz+zqw7MHQ7JLFUgsH94 X-Received: by 2002:a17:906:2714:: with SMTP id z20mr4951135ejc.409.1601505633552; Wed, 30 Sep 2020 15:40:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601505633; cv=none; d=google.com; s=arc-20160816; b=AtRGqkFs2vBlO2pWcEYpMfVzMCoXXU89c7f55xqWBRBFCylbCegUNgLcY5A7dDoRu2 WNQAXpsJzIxKKmlRP7HODgtEc0ad9sQ8xtTmcY8pxJXv3yYbJOPxaImQOZZW4u1dTdUS juGQ3pS1FoSd4eLn/Hkvx61CagFA2BDqO9KhOt4Pdv8jfXhGCYqfh5VJlQOHt5GhZ+sv boN3/jQ/awYPhYhfT/Pg11/Oh1awMXj3ptCUZWmMKrUjFWNfp+XPx8UevDxU39mnByYt sJuIOTKomL3qjEu3lQ3p66RkvNLWz0gtfUBCbDCp/xK6RgSWcYkp6AAvLKWgLIyUZj71 hGiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=y1w+MKbf5xKkMTSCbjMZtxGQzOFrk3MRoVomMxqemDQ=; b=Tc7XDjxB/mpmdfnS9m/OMXd56cvZCCYe6Ak2vupwf7gMXcTOKW6iYQsWGJwZU/C6E2 J4PSX9nA4efTT+GQXQLXAvPM8Y4N0ORjS+jENWXsscoM6mX+AcyBhM6916p53VLxi0dp GLPyzRF7/vlakW17ZgzjqwYtFs9m0uasup7eBPYtiC5Z0b3CxbNh711Dum7PaPwpkoJ8 FYSLNgBx5XzCWeeeNdb/HWZxYtx6SVx8MCPzbxmPrtNYr6pisqmvNCpLQ9e96IqlES6Z J2xvL7tKqoXltmvlNZJK1pBbibViiF9VTFCsLkSn9fzdQvIT6sIAGGFc0w1eRLUpq5Mp 6Sbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mfhnP7rY; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d25si2405005edn.340.2020.09.30.15.40.33; Wed, 30 Sep 2020 15:40:33 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mfhnP7rY; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731694AbgI3WkS (ORCPT + 6 others); Wed, 30 Sep 2020 18:40:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731690AbgI3WkS (ORCPT ); Wed, 30 Sep 2020 18:40:18 -0400 Received: from mail-ot1-x341.google.com (mail-ot1-x341.google.com [IPv6:2607:f8b0:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 979C1C0613D2 for ; Wed, 30 Sep 2020 15:40:16 -0700 (PDT) Received: by mail-ot1-x341.google.com with SMTP id m12so3520986otr.0 for ; Wed, 30 Sep 2020 15:40:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=y1w+MKbf5xKkMTSCbjMZtxGQzOFrk3MRoVomMxqemDQ=; b=mfhnP7rY3Cqvb7FdLurV8Judix8H0TrQ+qLke0CGeNDvGpSr9Nm8xNpXD5DKy5NfVG wprQt/8sLiORDd0XUza4IKkwlJqsQwZBkHdLQ3YSzUKlUc8y4F17BKmiKeP/FAI6/OvE 0JTt7vMqSRXIrBxPAD55IEK+zERvqnFySEBS/+jyK91el91dtx263kzJAonx+IfB/UKN ZPvmfZgxbvxpNCZLJjX9QlNiEvrjdZEQChxAiGr2xEKcNj6u+tQlgXHzuR870U3mb/Wf Lt7sQ60cAohM6aZEN37x7zlKFC1EBI+dImg2hF7XXznxC5iR8x+RkzjGeyzUkb7ORPf1 9QYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=y1w+MKbf5xKkMTSCbjMZtxGQzOFrk3MRoVomMxqemDQ=; b=ELPakRM3z0HoB0d9QF1MIExXX3WQYWrrDH1gbDZbl4DhfrThihG5duFsiRFEwfQ0Hp A3GEIfYdo+Khj8oPsdtfz0dgkGJyuSLQctrtZX4kXf7+1bGS+IS+0Ks64dLJm/CQ1ELI doS2MkjrhPGAj2KEYb80id/yJG3tIfspoe/W2n743KlaXKAd0N/z5y1T2rilX2BZWduB zXRl8Vw/3PnD2bYEG3qX2m/zhlIo10B20mJG1Hzo7jyyg0hCzzZgmZ0kBsA87j8kH515 W/thRW+uhw5KXr4JsYhwRi9YlvArSmre/mzVGXosp7x9AFv+igo+ZrIxhR8sK5uMGhuu /13Q== X-Gm-Message-State: AOAM531kizNKKrvyriDjaRV8OEUBntQvVVusVkydjZ4MCg7n/VUF40JS 5oAEAescPShhFgRWmyY0xv6jvg== X-Received: by 2002:a05:6830:1e39:: with SMTP id t25mr2967510otr.8.1601505615931; Wed, 30 Sep 2020 15:40:15 -0700 (PDT) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id p8sm781364oot.29.2020.09.30.15.40.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 15:40:15 -0700 (PDT) From: Bjorn Andersson To: David Airlie , Daniel Vetter , Rob Herring , Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Douglas Anderson Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: drm/bridge: ti-sn65dsi86: Replace #pwm-cells Date: Wed, 30 Sep 2020 17:35:31 -0500 Message-Id: <20200930223532.77755-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200930223532.77755-1-bjorn.andersson@linaro.org> References: <20200930223532.77755-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org While the signal on GPIO4 to drive the backlight controller indeed is pulse width modulated its purpose is specifically to control the brightness of a backlight. Drop the #pwm-cells and instead expose a new property to configure the granularity of the backlight PWM signal. Signed-off-by: Bjorn Andersson --- .../devicetree/bindings/display/bridge/ti,sn65dsi86.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- 2.28.0 Tested-By: Steev Klimaszewski diff --git a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml index f8622bd0f61e..e380218b4646 100644 --- a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml +++ b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.yaml @@ -66,9 +66,12 @@ properties: 1-based to match the datasheet. See ../../gpio/gpio.txt for more information. - '#pwm-cells': - const: 1 - description: See ../../pwm/pwm.yaml for description of the cell formats. + ti,backlight-scale: + description: + The granularity of brightness for the PWM signal provided on GPIO4, if + this property is specified. + minimum: 0 + maximum: 65535 ports: type: object