Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp2183181ybm; Thu, 23 May 2019 12:43:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIvW8Ireugh5piHJZ4HGBnpf6gMqUafdDN9mGxqcDmD7IRl9qM8y8PqwnTZg/O1NzPFcAv X-Received: by 2002:a62:ab0a:: with SMTP id p10mr7526337pff.143.1558640639455; Thu, 23 May 2019 12:43:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558640639; cv=none; d=google.com; s=arc-20160816; b=Yr+rZQb5y7dXMnvnnZZqoL56HlZ8R5yGi+b0CtOZkJnxaZX8MgSk9ePAj3mbsu/yGI HqWq0NrCbQq9PwDFQCqnLUJr4GQd27Ibe/Vis47DleW8DnMsx/cdjL4R5rE+x70Cjl6v NB1qlxkPIexgkv4VqHqAJryPcqcT+M9LgKxKPcjA7MJD1/+Be3a5/DWIC7W2v45Hz0ka bRStDa3aFt+n9AuThZ/zf/BMIVvx9OoKVXfe9P10FfkYiNBOSmF8w3mDa1HnLMY/qCV6 NCI1tv/KdgpoATP+CxB3gNX/RsTjiZ0kWR5dvvL8tNYdvPcPw3vLUcPGJAta6KdpFWQp DN9A== 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; bh=45Hj4lTgZgd5kEhtZjeHnShFhEz+voAwBcvwZsWiYaI=; b=Vnu8Y68qyWpldFFh7/jdaM5sVwBhHh9i5HNvkyDpAGb84oBBwOVPmDGIRGNANJk4Cw PLeCN885LTpl46Mx6YAU4xvk1erj3TXlbb7fUopzOAOQFhlPvnbE9KCLNchQi6hPFAt/ Xb63S1DUEIPcEdfHVYyoJau8rDIQlHDzIgxUSvTrPywuFT9c//VUVDnxPystkAYkDb21 LXYwyFTbKJO+rdSskaLnodLTV9hhwfztmOhCGrq9l0eB3tuWMKC9FaRXCu3z73S6MFoJ 6qQtwPM50FpSR2xM5MOumYv9b54pFUhIaZ53cLkxJrvuYUABHXyB2OYRnQaDKFzqYUOE yjzQ== 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 g5si343480pjt.58.2019.05.23.12.43.44; Thu, 23 May 2019 12:43:59 -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; 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 S2390380AbfEWTl5 (ORCPT + 99 others); Thu, 23 May 2019 15:41:57 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:42075 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389165AbfEWTTh (ORCPT ); Thu, 23 May 2019 15:19:37 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 26E8F803D1; Thu, 23 May 2019 21:19:25 +0200 (CEST) Date: Thu, 23 May 2019 21:19:26 +0200 From: Pavel Machek To: "Angus Ainslie (Purism)" Cc: angus.ainslie@puri.sm, Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v13 2/4] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit Message-ID: <20190523191926.GB3803@xo-6d-61-c0.localdomain> References: <20190520142330.3556-1-angus@akkea.ca> <20190520142330.3556-3-angus@akkea.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190520142330.3556-3-angus@akkea.ca> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > - LEDs > - gyro > - magnetometer > + leds { > + compatible = "gpio-leds"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_gpio_leds>; > + > + led1 { > + label = "LED 1"; So, what kind of LED do you have, and what color is it? label should probably be something like notify:green. > + charger@6b { /* bq25896 */ > + compatible = "ti,bq25890"; > + reg = <0x6b>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_charger>; > + interrupt-parent = <&gpio3>; > + interrupts = <25 IRQ_TYPE_EDGE_FALLING>; > + ti,battery-regulation-voltage = <4192000>; /* 4.192V */ > + ti,charge-current = <1600000>; /* 1.6 A */ No space before A, for consistency. > + ti,termination-current = <66000>; /* 66mA */ > + ti,precharge-current = <1300000>; /* 1.3A */ I thought precharge is usually something low, because you are not yet sure of battery health...? > + ti,minimum-sys-voltage = <2750000>; /* 2.75V */ Are you sure? Normally systems shut down at 3.2V, 3V or so. Li-ion batteries don't really like to be discharged _this_ deep. Pavel