Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp379530ybt; Wed, 17 Jun 2020 03:28:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+prIMlYpw50uNNv6Js7pUm4Hq3w30S8m4oYD2T+hG6RvDQ1m4Vd2rV0RLy5dSiIBfcD4l X-Received: by 2002:a17:906:1c49:: with SMTP id l9mr6553196ejg.296.1592389697069; Wed, 17 Jun 2020 03:28:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592389697; cv=none; d=google.com; s=arc-20160816; b=1GEJsA0ybpPXUF3zyRJC0cd92gqWAcwRWBxoGs8LhoBgz+gH+Mb/qpYhkvl+9KgVhk LWnSRDsqikytqADlxX+SqeSBki6vqyIcEllFVmusA0fDrxrG2VEf73fTJUwKVDQGfTv9 NqBNOcvEJ8nnSEcovIz6lQSqDPrb8MZyz5u/PeoS6kJkUDK0eHf/y0l5CQnn2qvolloV /MyGQB9dfdQ/SZQRvNBcAEr8ZI4t4mLlNUEwxTxjdqUZ7LVIgst1Rnuvd4X7do9Uxohb jLTsu+1r252iVQkNvYq+ehQRCVRjVGl+ya8HNYpnOjCvyvqbTa23bs4K4uGJvmLOHcdO Tpgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=2AagxJczMUxEXFALhdzQyjZ47IJKSB5XsK+ch+QyMC4=; b=yyIjUZPMsnsoNWwugKaJA7nw2yyhswCAUk3vIxLqUmXnf9f6fxy79F3C6xd0Jx4NzM J26m6rLPaG7u+t0bQv2Uyd8QDbQpHxXRFOBVaCEosnH9lxg6wWdjS5H1eXzPvR2o2HPu a0fRkKLbgIpDj9bd/Nei3hz2LQIysM5Ze8YHgCgOO1LxwF6DOhGN/kql5j8gr5AAWVfb Juv/oDfir+KtijG16NcLKfiDbVKX1zmRkBaBbd7SkEtzjV/6KZmEqXFOGUcydDiTWS6q 818VG2pr5Sv+15FmjWGmYdhDCKmxEN7Qz/1i4sP5WdNLMVvwt/XMimYG5nvCuI1gkzXe Mxhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0MCVuvHI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id de11si12553600edb.306.2020.06.17.03.27.54; Wed, 17 Jun 2020 03:28:17 -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; dkim=pass header.i=@kernel.org header.s=default header.b=0MCVuvHI; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726280AbgFQKYI (ORCPT + 99 others); Wed, 17 Jun 2020 06:24:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:43286 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725964AbgFQKXP (ORCPT ); Wed, 17 Jun 2020 06:23:15 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4C418214D8; Wed, 17 Jun 2020 10:23:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592389394; bh=q4XtEUaNAPjAlHRDzfBXndousVziD4EzqeUrETXxBjM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0MCVuvHI4/1WTFEjLx/PerIQCGJWPkXUx8NmAPAuT+j6OWVH2KxRnjyvdt2jK8+s0 7ayqOmzHDqBByicUIi1G7WN6rwNZdX4ChqzQOGRlVZ9muaJ7ewvrGl8DKhbpe34EPM MzliQlc5UYP6C7dFO4dXAxjMjubYHD0FWHaRvuYg= From: Krzysztof Kozlowski To: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Laurentiu Palcu , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: stable@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: power: supply: bq25890: Document required interrupt Date: Wed, 17 Jun 2020 12:23:05 +0200 Message-Id: <20200617102305.14241-2-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200617102305.14241-1-krzk@kernel.org> References: <20200617102305.14241-1-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver requires interrupts (fails probe if it is not provided) so document this requirement in bindings. Fixes: 4aeae9cb0dad ("power_supply: Add support for TI BQ25890 charger chip") Cc: Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/power/supply/bq25890.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/power/supply/bq25890.txt b/Documentation/devicetree/bindings/power/supply/bq25890.txt index 51ecc756521f..3b4c69a7fa70 100644 --- a/Documentation/devicetree/bindings/power/supply/bq25890.txt +++ b/Documentation/devicetree/bindings/power/supply/bq25890.txt @@ -10,6 +10,7 @@ Required properties: * "ti,bq25895" * "ti,bq25896" - reg: integer, i2c address of the device. +- interrupts: interrupt line; - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV); - ti,charge-current: integer, maximum charging current (in uA); - ti,termination-current: integer, charge will be terminated when current in @@ -39,6 +40,9 @@ bq25890 { compatible = "ti,bq25890"; reg = <0x6a>; + interrupt-parent = <&gpio1>; + interrupts = <16 IRQ_TYPE_EDGE_FALLING>; + ti,battery-regulation-voltage = <4200000>; ti,charge-current = <1000000>; ti,termination-current = <50000>; -- 2.17.1