Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2264873pxj; Sat, 22 May 2021 17:02:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsy4QQ/OddzbbfZkwYwdcoA1AMH9Dd6s0YfUmp9mxd8a3L3Sq04hc80P7u6bHfGYZB3HDY X-Received: by 2002:a17:906:22c6:: with SMTP id q6mr16588589eja.275.1621728178024; Sat, 22 May 2021 17:02:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621728178; cv=none; d=google.com; s=arc-20160816; b=szixs+NitCG4C1NilPBFw53QskWOSNtPqlny3yAhfX7skT4UL1KHn+pXLmn6KYae4O WFqEcA3ashEIt/k+wieNorZN2D5FSNIZwQmo/pXSZslWEgwtiitA/Wv4SMeH0GW0JxSs xD4eU6hbp1xhMX04RQJv76A6r2fNDxIuWvuT8WSa5vvm8h+vnsif9Wr4M9YMZdHir40D 7klxbXF/ym7h3ns/0B1w/ecDwGGJBjS93do8ZJ3Kb/H6xS3AyjWuYearvZImRKSDfSEO VXLcMP1FpDraHCYwEgPq9Be4dhWtTiumS2gpwE/V2wOqS48CCk/HT1iGO423pVm/Y6wW KZlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=DCip8eY2/TgqS2LenNdSL8E4vBXWaHpb92yc0gNZpCU=; b=dRWvf179rJM8ZjPWmS82A6zu4KPuoI32PKzDiUzaLFcMLBqQtkuExkf6dsombWBjfo a80lqeDYXKbyVQnHOAX5CXElokKKd3oBpH/1cb+ggbCegmsCd0NI4b2xZjRLdPGcTV/E R9bfkWTdOOtOthmWRmzwDwP+sNLFxRdcpm255lBze3c7UW2Fwf48clUB6G6sr80DhGII HD3mvZW5puddKLmWfRr8rs37Q7XGAnDrbqLZsTAnw9lRlvwKBmSZjTL0lT+bvU7EbGoQ BXLi00wb2e9numyWosrfdcsVLTrsSvFFzvXIA4N4IC/tLIP5eZJHXruXn1xzQACSmGG4 YdJA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lf27si8607330ejc.495.2021.05.22.17.02.34; Sat, 22 May 2021 17:02:58 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231453AbhEWADG (ORCPT + 99 others); Sat, 22 May 2021 20:03:06 -0400 Received: from foss.arm.com ([217.140.110.172]:35602 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231433AbhEWADG (ORCPT ); Sat, 22 May 2021 20:03:06 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8ECB21042; Sat, 22 May 2021 17:01:40 -0700 (PDT) Received: from slackpad.fritz.box (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CADBD3F73B; Sat, 22 May 2021 17:01:38 -0700 (PDT) Date: Sun, 23 May 2021 01:01:24 +0100 From: Andre Przywara To: Samuel Holland Cc: Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Rob Herring , Icenowy Zheng , Ondrej Jirman , linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Lee Jones Subject: Re: [PATCH v6 01/17] dt-bindings: mfd: axp20x: Add AXP305 compatible (plus optional IRQ) Message-ID: <20210523010124.2fb56fa5@slackpad.fritz.box> In-Reply-To: <7ebfaef7-5cf2-e60c-99ef-4275c873e72d@sholland.org> References: <20210519104152.21119-1-andre.przywara@arm.com> <20210519104152.21119-2-andre.przywara@arm.com> <7ebfaef7-5cf2-e60c-99ef-4275c873e72d@sholland.org> Organization: Arm Ltd. X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.31; x86_64-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 22 May 2021 09:46:23 -0500 Samuel Holland wrote: > On 5/19/21 5:41 AM, Andre Przywara wrote: > > The AXP305 PMIC used in AXP805 seems to be fully compatible to the > ^^^^^^^^^^^^^^ > Typo? Do you mean "used with the H616 SoC"? Ouch, yes. And even more embarrassingly Chen-Yu pointed that out already in the previous version. Same for the compatible string. Thanks for having a look! Cheers, Andre > > > AXP805 PMIC, so add the proper chain of compatible strings. > > > > Also at least on one board (Orangepi Zero2) there is no interrupt line > > connected to the CPU, so make the "interrupts" property optional. > > > > Signed-off-by: Andre Przywara > > --- > > Documentation/devicetree/bindings/mfd/axp20x.txt | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/mfd/axp20x.txt b/Documentation/devicetree/bindings/mfd/axp20x.txt > > index 4991a6415796..4fd748101e3c 100644 > > --- a/Documentation/devicetree/bindings/mfd/axp20x.txt > > +++ b/Documentation/devicetree/bindings/mfd/axp20x.txt > > @@ -26,10 +26,10 @@ Required properties: > > * "x-powers,axp803" > > * "x-powers,axp806" > > * "x-powers,axp805", "x-powers,axp806" > > + * "x-powers,axp803", "x-powers,axp805", "x-powers,axp806" > ^^^^^^ > This should be x-powers,axp305. > > Regards, > Samuel > > > * "x-powers,axp809" > > * "x-powers,axp813" > > - reg: The I2C slave address or RSB hardware address for the AXP chip > > -- interrupts: SoC NMI / GPIO interrupt connected to the PMIC's IRQ pin > > - interrupt-controller: The PMIC has its own internal IRQs > > - #interrupt-cells: Should be set to 1 > > > > @@ -43,6 +43,7 @@ more information: > > AXP20x/LDO3: software-based implementation > > > > Optional properties: > > +- interrupts: SoC NMI / GPIO interrupt connected to the PMIC's IRQ pin > > - x-powers,dcdc-freq: defines the work frequency of DC-DC in KHz > > AXP152/20X: range: 750-1875, Default: 1.5 MHz > > AXP22X/8XX: range: 1800-4050, Default: 3 MHz > > > >