Received: by 10.223.185.116 with SMTP id b49csp8979662wrg; Fri, 2 Mar 2018 11:09:57 -0800 (PST) X-Google-Smtp-Source: AG47ELt05Mw5MMBlbrNGFJgxOrJgI6jQZIvYRY/TNyHi9Gdqrt9RYPZkk5CaQdu5oJc+t3sFXssy X-Received: by 10.101.81.8 with SMTP id f8mr5251479pgq.13.1520017797073; Fri, 02 Mar 2018 11:09:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520017797; cv=none; d=google.com; s=arc-20160816; b=fchVBTsoXcv8jV7IVTaoMxglEQ9ybHiw6ugaYB5LjsAORPtKXOGckfnWvf20cYm8RM RQpQVUMOvqkfmLaLwFy+0QMJCLLXtaWuVCfmS2HD/kxRiEqV2xeN2aO3wVAodlp6l0RY I5vwm1xVNfZPjDkyE18peptNEFA2wJBgtqXQrjwhY+BOkqmjT+UzLH2+OH7nr/5PWt2d enqsc+Kv6m/lIiWaB9CeFk2l9Eepe3Ijw6LLYVHYjaaJDuTrc7Fl/3TF0Albooqn9fUr 9cQn2evt3CPzMjLrhsUZ3HP9sWIkewaW7K5cm/DJ4cG/pKs9q/5HebAVf6wCq1prCZzZ w0aQ== 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:arc-authentication-results; bh=PVVX4u90w2lw8hi8LzcxI77u1bJdXbBAUueY8ggj0CQ=; b=m0Fue/i8mC3opFYfkcH+hwN+qb9vxyb7LUwNEFX9AwRR+fbIiHyFKFaQdquoqqylmm mOLwdH/3+W24iKEz7teP/trRcr42rCcdknNMhhSh8iJNbFe4/Z1kPZcYcsOrQL/HydZL Njt2ojTCdtf0V57ogGxLX2hEYmcohBUu48nrq5dG8Wo+XH5KTf03g6lD14mK4DsahUy/ vlBOlD0JCtK7BsC13DUTbJtUBD/DKM+XcIgI5Iq6HJ9UJesuR3sXgPVHpyzMsQfUF2yd x/POHyEstlJjhRDnp0IwT+4nX3uXfal3m1OekUh7caYEko4hABWCkCg3Avc595ipDA+F GxRg== ARC-Authentication-Results: i=1; mx.google.com; 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 3-v6si5168750plu.247.2018.03.02.11.09.20; Fri, 02 Mar 2018 11:09:57 -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; 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 S1428688AbeCBOo1 (ORCPT + 99 others); Fri, 2 Mar 2018 09:44:27 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:36975 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1426404AbeCBOoY (ORCPT ); Fri, 2 Mar 2018 09:44:24 -0500 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1erlv4-0003yr-AR; Fri, 02 Mar 2018 15:44:22 +0100 Received: from sha by ptx.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1erlv2-00050J-VY; Fri, 02 Mar 2018 15:44:20 +0100 Date: Fri, 2 Mar 2018 15:44:20 +0100 From: Sascha Hauer To: Lukasz Majewski Cc: linux-kernel@vger.kernel.org, Mark Rutland , devicetree@vger.kernel.org, Russell King , Rob Herring , Sascha Hauer , Fabio Estevam , Shawn Guo , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: dts: tpc: Device tree description of the TPC board Message-ID: <20180302144420.37trllgposf4yet3@pengutronix.de> References: <20180302121750.12865-1-lukma@denx.de> <20180302125159.gufvhyy4ipyunmil@pengutronix.de> <20180302142537.25764c8e@jawa> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180302142537.25764c8e@jawa> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 15:31:02 up 70 days, 22:49, 82 users, load average: 0.23, 0.15, 0.11 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 02, 2018 at 02:25:37PM +0100, Lukasz Majewski wrote: > Hi Sascha, > > > Hi Lukasz, > > > > On Fri, Mar 02, 2018 at 01:17:50PM +0100, Lukasz Majewski wrote: > > > This commit adds device tree description of K+P's TPC board. > > > > Can we get a hint what this board is? I assume this one: > > > > Technologic Systems' Full i.MX6 Portfolio Including SBC, COM, and > > Touch Panel PCs > > I just took other imx6q boards as an example - e.g. > > 420127e5a5b53ff2cb5effaa781aed93709b09bb > > Generally, descriptions of DTSes are rather short and simple. > > > > > Anyway, future developers are thankful if they have the information > > around when they have to work on that file or have to decide if it is > > to be removed. > > IMHO, there is plenty of information around (iMX6 Quad SoC, with > components described in dts). There may be future changes necessary which may be done by people who do not know which hardware this. For them it will be convenient to be able to search for the hardware and maybe even find a schematics. Anyway, it will just help to have that information around. > > > +&can1 { > > > + status = "disabled"; > > > +}; > > > + > > > +&can2 { > > > + status = "disabled"; > > > +}; > > > > These are not enabled in your base dtsi, so no need to disabled it > > here. > > But they can be enabled if needed. Yes, they can, but that still doesn't make these node references necessary. If I read this it seems to me that you explicitly want to disable these nodes. A reader can't know you add them for convenience here. > > > diff --git a/arch/arm/boot/dts/imx6q-kp.dtsi > > > b/arch/arm/boot/dts/imx6q-kp.dtsi new file mode 100644 > > > index 000000000000..47a10fb1d46b > > > --- /dev/null > > > +++ b/arch/arm/boot/dts/imx6q-kp.dtsi > > > + > > > + memory: memory { > > > + reg = <0x10000000 0x40000000>; > > > + }; > > > + > > > + pwm-buzzer { > > > + compatible = "pwm-backlight"; > > > > What is it? A backlight or a buzzer? > > It is a buzzer, which is controlled by PWM. Then you should bind the pwm-beeper driver to it, not a backlight. Regards, Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |