Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp2101943ybm; Sun, 31 May 2020 08:38:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5hylq/b5PQgfUYbwDEc6WlpWX/059grWlWncn21U7xVcWIVQZWMC3EPrPILA5iZ652nXS X-Received: by 2002:a50:e444:: with SMTP id e4mr16825658edm.191.1590939509703; Sun, 31 May 2020 08:38:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590939509; cv=none; d=google.com; s=arc-20160816; b=RPE56ttmn+zUwTpaMOtj3U2oOyGbzB5aAxQBB6IbVuAQf1CTMR/jHwAdRL9svh9v5I r1SlRDyxEiFwZl+CiQZjMPA6QWrJoBRjCjNTNUYWVcrRC77aDluv97jgUsppXAKpVB7r spnIwZZWL3jbPOSxeLr5IPTyRKIfCej5ADiFl4qQloU6ksWHjnWS1tLIm6TFibUPM7R7 8etRqoBqKu17Jq6Qxuc5GUvujklddUU2jd0t+TBtRs37qK47tSv0jeFDcTVZ+3y03ykr pGH33JAh44gyESeYERAJFcXcFmbusOTIyBvZBlimufyKT/MIvETg0zLrLgGju3FY+F1w 5yuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=xe5Df/mWjYQPaZAcCI9Z3JKvuZNckPFvO3jbqSxEnhA=; b=DfIbHpjHEf4nfqLCQgTAG7fsbzDFi5v3JLfhViOkQpztYxSFuNb9DAUULD5JYnzF0e gJEKY964JTheimv5UIq6W3sWleimXqm5NVIuSewJv0GDlZS8Z+bP3oZM+2brBF2b7DMH P1FY2HLCdu1CEkxuwT068DZDLW/yq6zRNiAr00EAZ0XrVCdRqyXvLuQ1U4rwNdZJQyDE mzBS0D8XZJV7kVivm1eElKOGciUhAZUF/2vY6Jd/JMQeKJmqgcn2mHzboBI7vQ4hD8H8 gZrDmvxtXmnNmLgbyw3vGmw/j4lXxKTLGyF6yVacwvhqYEYO1M0900OQLEEQT20citiY BAMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c3si9162287eja.251.2020.05.31.08.38.06; Sun, 31 May 2020 08:38:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727951AbgEaPgP (ORCPT + 99 others); Sun, 31 May 2020 11:36:15 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:46746 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725912AbgEaPgP (ORCPT ); Sun, 31 May 2020 11:36:15 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 45D7FFB03; Sun, 31 May 2020 17:36:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BPwWvG9Wfq8s; Sun, 31 May 2020 17:36:11 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 52F2944BF8; Sun, 31 May 2020 17:36:10 +0200 (CEST) Date: Sun, 31 May 2020 17:36:10 +0200 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Pavel Machek Cc: Martin Kepplinger , robh@kernel.org, kernel@puri.sm, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, mchehab@kernel.org, Anson.Huang@nxp.com, angus@akkea.ca, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/2] arm64: dts: Add a device tree for the Librem5 phone Message-ID: <20200531153610.GA9581@bogon.m.sigxcpu.org> References: <20200514155737.12160-1-martin.kepplinger@puri.sm> <20200529162850.GC3709@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200529162850.GC3709@amd> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, May 29, 2020 at 06:28:50PM +0200, Pavel Machek wrote: > Hi! > > > From: "Angus Ainslie (Purism)" > > > > Add a devicetree description for the Librem 5 phone. The early batches > > that have been sold are supported as well as the mass-produced device > > available later this year, see https://puri.sm/products/librem-5/ > > > > This boots to a working console with working WWAN modem, wifi usdhc, > > IMU sensor device, proximity sensor, haptic motor, gpio keys, GNSS and LEDs. > > > > Signed-off-by: Martin Kepplinger > > Signed-off-by: Angus Ainslie (Purism) > > Signed-off-by: Guido G?nther > > > > + blue { > > + label = "phone:blue:front"; > > + label = "phone:green:front"; > > + label = "phone:red:front"; > > Droid 4 uses "status-led:{red,green,blue}". Could this use same > naming? Looking at leds-class.rst we don't have a useful devicename so should that just be omitted and s.th. like label = "blue:status"; label = "green:status"; label = "red:status"; be used instead. If we want to map to current usage label = "blue:status"; label = "green:boot"; label = "red:charging"; would be even closer but since that is bound to change just going with "status" would make sense. Cheers, -- Guido > > > + label = "lm3560:flash"; > > + label = "lm3560:torch"; > > This is one LED, right? I'm pretty sure we don't want lm3560 in the > name... "main-camera:flash" would be better. Even better would be > something that's already in use. > > > + label = "white:backlight_cluster"; > > Make this ":backlight", please. Again, we want something that's > already used. > > Best regards, > Pavel > -- > (english) http://www.livejournal.com/~pavelmachek > (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html