Received: by 10.213.65.68 with SMTP id h4csp447635imn; Tue, 20 Mar 2018 07:09:05 -0700 (PDT) X-Google-Smtp-Source: AG47ELsP+gSec0J50p8uADlWoR2yiErO/07JvnmZBdT1ISceaerGXnwfM4Lv3tK6haF2b/O+jNpN X-Received: by 2002:a17:902:33c2:: with SMTP id b60-v6mr16958919plc.222.1521554945259; Tue, 20 Mar 2018 07:09:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521554945; cv=none; d=google.com; s=arc-20160816; b=kZdAKnvxGxvO4CELG4eHnerr81QVQfYQDwRMYWm9gdiXWOPjxLgA0S4gl+RW9ntVUW tfj/wfRqSoIzG5JRtENxaES94ZCj1bgLwI2rZJl3jRPIqcd5sI7hC7f9hMPnNXW1Moy8 djGRgb7yJFhbbrCAo5NOGTgnBNULyFqKNtHwyutVTI23Xqd1wnwle5NaHKMZYl5osz1d iQPb4f0ghME1ilLJv+8XsT7q91MsK7zNMoVCOeJ2FonyS1p59ZK1naEtBJTX7deG80Zm URQch6A8r7Nx/1rAGKkE/SgCM+zJfsmdA8f55m89LXEoPql8uV5RxfJVrJHw3Sf3p5VP L9HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=h3XH6KoC7r3d/dJDgFM+TXjnXyPrgRTA7b/h/zbJRy4=; b=oT9/bhMf0FCz1hgjrs2E0VsUKesuMs/GpdIPP6/s/bYm8zI5Al4UV6t2NgktRsP7j7 B/+KOv9obVq63NLUWzpr4py0ddycXUEka0hpfYxa0nEZdvwjfGnB3Svws84F3p2GbFDh jXAHDT+qk6W1DZs5T0O0VG1ZDE2xrUwOZ1inH6v6xkFB/LWTTeS7xQa7l1wXtyvMLqNl ZstZdStXwvEBgTnIkVi7iLQBV/vr3K7Lh+txApo2eO0vRrYkS1U2DbvSoeYvtT/VabAh qYxscpLDBfamjs2I0YXCP3wI/518p1LQIRgy1k8Ne4W/BN6svgTQB5bhJmOVnNq5YKp5 NASg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=BQyJmb1s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c26si1361891pfi.160.2018.03.20.07.08.48; Tue, 20 Mar 2018 07:09:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=BQyJmb1s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753722AbeCTOGv (ORCPT + 99 others); Tue, 20 Mar 2018 10:06:51 -0400 Received: from galahad.ideasonboard.com ([185.26.127.97]:34131 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753351AbeCTOGp (ORCPT ); Tue, 20 Mar 2018 10:06:45 -0400 Received: from avalon.localnet (unknown [IPv6:2a02:2788:664:35f:7f37:41ef:e87f:aea9]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 20854202DC; Tue, 20 Mar 2018 15:04:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1521554663; bh=BXmkVhXXHTRqHcnON3HVx32IXTstB+EhvjfITfhYMo4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BQyJmb1sJUCz5CronlcDwFwfWPUdlyzUda7yASg6rgriCKF6f9YsgCJ9b+7wC2XAh IjeFvna0oG6kpRC9f77yHiERYYSL1XZXpmXBFEvaM1KN2e6Y9/Pu5ZcWEehJvSeeYu ob/w6EdjCkjtBEh6ppwK6pjOU4oJ4d1N6G5i328g= From: Laurent Pinchart To: Rob Herring Cc: Archit Taneja , Alexandru M Stan , David Airlie , Mark Rutland , Andrzej Hajda , Sean Paul , devicetree@vger.kernel.org, Enric Balletbo i Serra , Heiko Stuebner , briannorris@chromium.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, dianders@chromium.org, linux-rockchip@lists.infradead.org, marcheu@chromium.org, hoegsberg@chromium.org, Thierry Escande , Jeffy Chen Subject: Re: [PATCH 1/2] dt-bindings: analogix-dp: Add backlight-pwm-passthru Date: Tue, 20 Mar 2018 16:07:50 +0200 Message-ID: <15529527.TZOXJSfS0B@avalon> Organization: Ideas on Board Oy In-Reply-To: <20180318125245.ndnplplmtsy3hmu7@rob-hp-laptop> References: <20180316025659.217423-1-amstan@chromium.org> <124034c6-a0af-0142-0d04-7d8bbc19bb82@codeaurora.org> <20180318125245.ndnplplmtsy3hmu7@rob-hp-laptop> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Sunday, 18 March 2018 14:52:45 EET Rob Herring wrote: > On Fri, Mar 16, 2018 at 02:56:09PM +0530, Archit Taneja wrote: > > On Friday 16 March 2018 08:26 AM, Alexandru M Stan wrote: > > > Documentation for the optional backlight-pwm-passthru property. > > > Tells the EDP panel to folow the input pwm frequency instead > > > > s/folow/follow > > > > It would be nice if we could add the details you mentioned in > > patch #0 in either this or the next patch. > > > > > of generating its own. > > > > This is one of those bindings which is more a knob than a HW property, > > but I can't think of any easy way to figure this out in SW. So, I guess > > it's okay to have. > > > > One thing I was wondering about was whether this prop should belong to > > the eDP controller or the eDP panel. I don't have any strong opinion > > about it, though. > > Seems to me, it should be the panel. It's a setting in the panel, right? As this aims at fixing an issue with the panel, I agree it should be a panel property. Stupid question (I'm not too familiar with eDP panels), couldn't we set EDP_BACKLIGHT_FREQ_PWM_PIN_PASSTHRU unconditionally ? > Is this generic to DP panels or something specific to a certain panel? > The naming (vendor prefix or not) and doc location should match > whatever the answer to that is. > > > Reviewed-by: Archit Taneja > > > > Thanks, > > Archit > > > > > Signed-off-by: Alexandru M Stan > > > --- > > > > > > Documentation/devicetree/bindings/display/bridge/analogix_dp.txt | 4 > > > ++++ > > > 1 file changed, 4 insertions(+) > > > > > > diff --git > > > a/Documentation/devicetree/bindings/display/bridge/analogix_dp.txt > > > b/Documentation/devicetree/bindings/display/bridge/analogix_dp.txt > > > index 0c7473dd0e51..3c15242f6ce3 100644 > > > --- a/Documentation/devicetree/bindings/display/bridge/analogix_dp.txt > > > +++ b/Documentation/devicetree/bindings/display/bridge/analogix_dp.txt > > > > > > @@ -23,6 +23,10 @@ Required properties for dp-controller: > > > from general PHY binding: Should be "dp". > > > > > > Optional properties for dp-controller: > > > + -backlight-pwm-passthru: > > > + Directly pass the PWM frequency applied to the BL_PWM_DIM > > > + pin to the backlight current source. Done via > > > + EDP_BACKLIGHT_MODE_SET_REGISTER on DPCD. > > > > > > -force-hpd: > > > Indicate driver need force hpd when hpd detect failed, this > > > is used for some eDP screen which don't have hpd signal. -- Regards, Laurent Pinchart