Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3898727imm; Mon, 8 Oct 2018 11:20:32 -0700 (PDT) X-Google-Smtp-Source: ACcGV61PwWEZyUoLhOkYlNFzoh52Vs04UAssWR9w86nTGWdpQLxtPcte301Zix82BGptJagIeryi X-Received: by 2002:aa7:86cc:: with SMTP id h12-v6mr25897315pfo.58.1539022832833; Mon, 08 Oct 2018 11:20:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539022832; cv=none; d=google.com; s=arc-20160816; b=kcs3eJ/reLYL+L7RQvxWq/4n9g8AnqO630j2ON2vyBS8NgiX5bpCzs2jAO4hthSiiR GP0SReXg/l/zZqdGlpgcDpiRb1nOJUjOOnu5ywMUC9rR9Df5L1quYikkHX6SxoODRlsv BDzqD62Dj6uAChvLriWUAZ3Otagmfj/p7cSE88a+iAi9P/oy6ZcEMerNNBpTwWkyj3zM vG18RyZP1j/M5uf+B8attQqTJ1jX6HmlA/yaxm13JqkoyoysOsqPirkhMhVHTzdUP2LX N5DaiWq/HmUCQcH8VhGYWqTL7UfJHa66QHPpW3lNsDTqAQcKeYyQ4rw4zkzg4ulaQpN5 NuZQ== 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=lcUmV7flcUhDV75QeXdgz7pFe5VciS9eX0iRwUTNFAY=; b=phb505rk+B4mn7XS+/1m+qab27I0hrhPQPdpDPDeJCA64GqU2ImvKBUGAzMV5JlcWm YZ9Mnt+03TnRcZmWbqoeQm6sGOUK00g0Xi7GP+P/wR4nePh7nnSe3Lmqw3ahtEoecf9A 5xjKfMIsdYo40RVRlD5AxCPTtMRHP8GbZX2M8PbkCQtdTSvEb8kyLSCXJ7LWIKKUA39Q J12gfgMv2n7NPXLQCbz+5o+FksYcQG7euYMSkLt7C2OHpLK109Adn5S07j+2wteGLMu7 WOtknVrVdLTOWxVMKxkeUlqBLYrXGw6uPYkC3bV0VbMvC/s+2qTRzlp9yZEk7cGyXxNJ zKvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lemmela.net header.s=dkim header.b=o1GqYlAP; 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 t8-v6si18068904plo.319.2018.10.08.11.20.17; Mon, 08 Oct 2018 11:20:32 -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; dkim=pass header.i=@lemmela.net header.s=dkim header.b=o1GqYlAP; 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 S1726786AbeJIBdF (ORCPT + 99 others); Mon, 8 Oct 2018 21:33:05 -0400 Received: from mail1.kuutio.org ([92.222.216.83]:59494 "EHLO mail1.kuutio.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726476AbeJIBdE (ORCPT ); Mon, 8 Oct 2018 21:33:04 -0400 Received: from localhost (localhost [127.0.0.1]) by mail1.kuutio.org (Postfix) with ESMTP id 9B38A1F99B; Mon, 8 Oct 2018 20:20:04 +0200 (CEST) Authentication-Results: mail1.kuutio.org (amavisd-new); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=lemmela.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lemmela.net; h= references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received:received; s=dkim; t=1539022803; x= 1541614804; bh=y86LgGaC+PYu/TqO6XCmCJge6MTF+Ti6+RsXqNPgXjM=; b=o 1GqYlAPyry7DQZXltzPs4x2HB4M9/oC0FW7kfkTc4oVQ2WJoKQb7+u/iJEuPl0E2 QGqtTt5qP68ezU2HMK7cg2/PaX+kgYaiAb+H32zGAZxlSUGexXi42+xxf4Y12Hc9 0JVrRFleFQuEedu3jwkBGlMlLlYfze/UhmcRALEh2MgiMlkKvkaXEUZ5bTQIDjLR Ef8+9sUgGIL11hv5Kf41sO1Xh1CpcYbpOrnzxkdNYmfoRPQQZzniar0NHhDmgo2T BYf5TVFyrUXZqjxODuZ/l+vKvkNnIQSbUn07DnSzC/ZFZ6vfq6eZh9t4f/WdRM2I Nzg0z/ZDW33JUisOQdfC2cgLVDecbJVk+wmj2jPqcEaoehEptVpR4mfCoE7T/QCs xoFePlqqiJQCgsT/Ia1pJNGDRTBwHtjQMdVTWnHZ7ycVklptx0tkAvHjAd5NuKNi YGz39CywdG4w24z55NuGDvKMA7U8LkTvrJSyxtLukicVE7TjTCQZmxi1L7xwCxka cJ2aRS37KSO8Us8FjtLFDDly17dyAnxnF2qbA1NnFrldOTzIlt7KbsEaHrFksW3Z OT5ZZ9CRliHmjdENgisja+HfexYAMXzsA1iOarDw8CkMh8hy4k2tvx0Ll/2WpMUu giDrM6cGFYfUjLhgj/omSRvWEegDm6DhjHFj6ig3n0= X-Virus-Scanned: amavisd-new at kuutio.org Received: from mail1.kuutio.org ([127.0.0.1]) by localhost (mail1.kuutio.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BSZIzbgzQSl9; Mon, 8 Oct 2018 20:20:03 +0200 (CEST) Received: from build.kuutio.org (unknown [IPv6:2001:998:13:e4::69]) by mail1.kuutio.org (Postfix) with ESMTPSA id 47A3720FEC; Mon, 8 Oct 2018 20:20:03 +0200 (CEST) From: Oskari Lemmela To: Sebastian Reichel , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard Cc: Lee Jones , Quentin Schulz , Oskari Lemmela , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 7/7] mfd: axp20x: Add supported cells for AXP803 Date: Mon, 8 Oct 2018 21:19:08 +0300 Message-Id: <20181008181908.9456-8-oskari@lemmela.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181008181908.9456-1-oskari@lemmela.net> References: <20181008181908.9456-1-oskari@lemmela.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org AXP803 is compatible with AXP813. Adding cells for GPIO, ADC, AC and battery power supplies. Signed-off-by: Oskari Lemmela --- drivers/mfd/axp20x.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 1508d9113126..4befe474b165 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -731,8 +731,23 @@ static const struct mfd_cell axp803_cells[] = { .name = "axp221-pek", .num_resources = ARRAY_SIZE(axp803_pek_resources), .resources = axp803_pek_resources, + }, { + .name = "axp20x-regulator", + }, { + .name = "axp20x-gpio", + .of_compatible = "x-powers,axp813-gpio", + }, { + .name = "axp813-adc", + .of_compatible = "x-powers,axp813-adc", + }, { + .name = "axp20x-battery-power-supply", + .of_compatible = "x-powers,axp813-battery-power-supply", + }, { + .name = "axp20x-ac-power-supply", + .of_compatible = "x-powers,axp813-ac-power-supply", + .num_resources = ARRAY_SIZE(axp20x_ac_power_supply_resources), + .resources = axp20x_ac_power_supply_resources, }, - { .name = "axp20x-regulator" }, }; static const struct mfd_cell axp806_self_working_cells[] = { -- 2.17.1