Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3811335imu; Fri, 30 Nov 2018 06:26:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vh8HS2DjukfWimxC7hwKOd251yWYE7fyBBTu3ZtPeJqhAiAXeqaodIzvc2He2oBrBINUVC X-Received: by 2002:a17:902:12b:: with SMTP id 40mr5776934plb.72.1543588002541; Fri, 30 Nov 2018 06:26:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543588002; cv=none; d=google.com; s=arc-20160816; b=NarjHZJsELgNKmFReRyxGYXnOAsuQO6xRKzfXjs6qGMbU0iGQNsZTR5YRQJHTwI8vV +Dzh4asTz2GPCX5mw6tgYmiPlYBTiNRrdPueMQVz/kHPPRoWVkFgUbuQuSAApXCOD80x 6a03WrcM5o64eNR7fhG2FrFRZuQHDGiN77OFUS50uThtHPLlwFS0JONMB7uqs1rvv0QR xnzrvuHBIiDrt2IIfH52EsJ6iK/uV/lVgkg9D/JRNaOD+RAY5vebyk8gjkDbvWazqZtg OsoKvCfTBUgaZTcx34bBQ+vrNAxuTiWSMbjS7a96gw8OGJBxz9HbpKBydugS4GO1cDq+ Rh3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=VRrzP9ORHY9Oyjxk68fRlexqCqLMCn4GuPSABHazzoA=; b=iZXJvZPVmzNJAQUdRDn7FZXpRrIWLSbN0EWeczh9xH9NlQcwRR+z6diADiZ8lAwLhe v/glTYnV+sVqvsl7rUraK5L93TJ+J9mJwz+QctLosVMHNtox67qfzhuXT725+AYB3Fn7 Qe4PTrB6pU3Znmz/6zmmijj4ZXaizQCXJpQCAqFH/CRfiNtGdWsAduuRH3SD5HhzKOQi gAdNP9CwW62jM90d/PgrueR25Oka++CaRzU75gM5pOOI3+Yomfjm+AYSJRYEpllqmsKK RZ7H7kvEMLwdDiO6tX39Ic0KoxwR+p+fbNAN2AvjyIYYo3Pc89TkJAv2JjJMPKo+CFW5 DEBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@onstation.org header.s=default header.b=v18Hj2yu; 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 d185-v6si5257683pfc.256.2018.11.30.06.26.25; Fri, 30 Nov 2018 06:26:42 -0800 (PST) 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=fail (test mode) header.i=@onstation.org header.s=default header.b=v18Hj2yu; 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 S1726679AbeLABfL (ORCPT + 99 others); Fri, 30 Nov 2018 20:35:11 -0500 Received: from onstation.org ([52.200.56.107]:36454 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbeLABfL (ORCPT ); Fri, 30 Nov 2018 20:35:11 -0500 Received: from localhost (c-98-239-145-235.hsd1.wv.comcast.net [98.239.145.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id B68E317A; Fri, 30 Nov 2018 14:25:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=onstation.org; s=default; t=1543587941; bh=ziVPNqT7ytE7nyFK3HEdr0V5ujEnS/km76ToNwyRvGo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=v18Hj2yu3RdGA/mpsyYv0/RHibyxr3Bvkx2F9W0GikrJgBCqpTYiovzD2h0owQYIy IDK1UTrVkjnc9VbtPkmALps5rvlLedEz0VYaDzmP4gj3uNMqU1mazOyDP6ThO7kgLJ 6ujYkpSG7pBdEUDKqV4UrvS1JC6TQBHog2ayIMNg= Date: Fri, 30 Nov 2018 09:25:40 -0500 From: Brian Masney To: Rob Herring Cc: Daniel Thompson , Lee Jones , Jingoo Han , Mark Rutland , Bartlomiej Zolnierkiewicz , dri-devel , linux-fbdev@vger.kernel.org, devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , Jonathan Marek , Craig Tatlor , Dan Murphy Subject: Re: [PATCH 1/2] dt-bindings: trivial: add ti,lm3630a binding Message-ID: <20181130142540.GB27500@basecamp> References: <20181124141703.29232-1-masneyb@onstation.org> <20181127105642.uu56phxjfl7bjl2p@holly.lan> <20181130135927.GA27500@basecamp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 30, 2018 at 08:13:04AM -0600, Rob Herring wrote: > > > It's quite unusual for a backlight device to have a trivial binding. > > > > > > The driver supports fairly extensive parametrization via struct > > > lm3530a_platform_data. It is really the case that none of these > > > properties should ever be set via DT? > > > > Hi Daniel, > > > > I initially assumed that we would let user space configure these values > > once the system has booted, but you are right that these should be > > available in device tree. > > > > The driver has two different LED banks that can be configured > > independently. > > That is usually represented with child nodes which makes this anything > but trivial. Plus, given that we have bindings for LEDs/backlights, no > LED/backlight controller is a trivial device. Hi Rob, I agree and I'm not going to use a trivial binding for v2. See below for some questions that I have from my last email. > > How do you feel about having a single property in > > device tree populate the initial values for both banks? I propose that > > we could use the property default-brightness-level for leda_init_brt > > and ledb_init_brt in struct lm3630a_platform_data. The max-brightness > > property can populate leda_max_brt and ledb_max_brt. > > > > I need to look at other bindings this weekend to see if there are any > > standard properties that I can use for leda_ctrl/ledb_ctrl, pwm_ctrl, > > and pwm_period. > > > > Brian > >