Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2447978pxb; Fri, 5 Feb 2021 19:35:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxlEsUx9JliUUmA2WfL113UuFmy6+ye/CQKb517qf7bgB5PrS6coFnSRzKe7TuHqnkeh1T X-Received: by 2002:a17:906:259a:: with SMTP id m26mr7056706ejb.399.1612582525439; Fri, 05 Feb 2021 19:35:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612582525; cv=none; d=google.com; s=arc-20160816; b=FS4X7kEqLFbvZ0m9gDCYaU45vq6F/7NHDe/MT1Z1YRwa5EWyMXlnliTln8G6wZvTLA A6L3tVdKlUagaxFMfbxmEA4PVUVcAErg9rC+Z51CJvdI8kZM06GkC7p/tp5GHbewWYZp w4RmJ4byJ9q2ZdtrSST5hnNFkZy4hmRBLg41RwUjOv1ZTgjJewaS5QK+roD1teor0cPq j2o/1nm3OAoCM+vXMvJ1ff+K2n6KJ54VdEWAODw8wyTclnSp4ZUCxmWwPeqHO7X++bWC dn20ijILvtJ6FCc1mK08wo2EAM9f+7ws+NkdzQh8YOvGlJy9Qyev2gZjGqCoL3RwyOsK zmDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=KVxSD1rRrWRAJtG5RDpbzugHIfcqDTvX+OpzCsWnge0=; b=hGgme75PGfCz5Sh7YNQPcFhVk0pjyUBGs1Cq4e9VKyBXTrQMHwFuPTrwT7dXjPMOQk NkGdv/J5tkZ1+x8Psj2+GlQ0YgCl4rVVUg9qx9OPKRAvdHA/8P35BqDx05RPm+2Dqsfz cBiYfi3NOcigkgisJJoN3waKJFzpYoFlUL78fwAxcW09I/gPcKlHtEzu225ZtxOZbelW sGO2/nCQFTfoR9rawPjuToj3+uMF5zoczM6S98uK+J8E4BD/ny+WottjVUjx9Gz3Zdu1 C/eBSMbDqDcWKJp3uWKisUVhRNQFtO49BEMUJman7rCNgDtePHsbdQaq70QtFFghuJVG QY0Q== 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=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 n21si6845544ejd.522.2021.02.05.19.35.01; Fri, 05 Feb 2021 19:35:25 -0800 (PST) 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231872AbhBFDbf (ORCPT + 99 others); Fri, 5 Feb 2021 22:31:35 -0500 Received: from mail-ot1-f41.google.com ([209.85.210.41]:39655 "EHLO mail-ot1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230226AbhBFCoP (ORCPT ); Fri, 5 Feb 2021 21:44:15 -0500 Received: by mail-ot1-f41.google.com with SMTP id d7so6605412otq.6; Fri, 05 Feb 2021 18:43:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=KVxSD1rRrWRAJtG5RDpbzugHIfcqDTvX+OpzCsWnge0=; b=Et2QRdcvhCJGsfrCOtdRnnE7b2kywqKLe3l8qA51K105+qyJto5YsQ/h4g0nAh8ZjY NoCrgDBjnr4O3dC0zW8bb+xkIBPHVVEfAPOXZ+zkv2g5ml1G0LCZ5CWWhBF6qmY6tihQ HuDF1fCBkNpBQt5dNUNtFsr0j+L6j7Qopf7NXSnbOrXLO9XU4ewYHZsvVpT/VSgSGdvl v6G1KWthwvSVLeZvXsAYT2NFo3Oc8YhXrgenJP9kR6TJFk1CoNbCHOZd3IEiyiuznfo/ sgXKxAFxKBPlDrLh1Wf0fj5YEstWLOFkeMcTwBclSuLwg8iPn0nZhoUeB9hJF58MCCQO KTaQ== X-Gm-Message-State: AOAM530uchXvMvAd6x8KzjMAI0wSinBcckM+W7jItws7I/d5kZXAQd/n kfPi2g3EwSZhtULqx5Kb2inRvXNv/Q== X-Received: by 2002:a4a:ce90:: with SMTP id f16mr4998594oos.61.1612562215585; Fri, 05 Feb 2021 13:56:55 -0800 (PST) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id x187sm2091742oig.3.2021.02.05.13.56.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 13:56:54 -0800 (PST) Received: (nullmailer pid 3821562 invoked by uid 1000); Fri, 05 Feb 2021 21:56:53 -0000 Date: Fri, 5 Feb 2021 15:56:53 -0600 From: Rob Herring To: Andre Przywara Cc: Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Icenowy Zheng , =?iso-8859-1?Q?Cl=E9ment_P=E9ron?= , Shuosheng Huang , Yangtao Li , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Lee Jones , devicetree@vger.kernel.org Subject: Re: [PATCH v5 04/20] dt-bindings: mfd: axp20x: Add AXP305 compatible (plus optional IRQ) Message-ID: <20210205215653.GA3813445@robh.at.kernel.org> References: <20210127172500.13356-1-andre.przywara@arm.com> <20210127172500.13356-5-andre.przywara@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210127172500.13356-5-andre.przywara@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 27, 2021 at 05:24:44PM +0000, Andre Przywara wrote: > The AXP305 PMIC used in AXP805 seems to be fully compatible to the > 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" I don't normally (yet) ask for schema conversions on compatible additions, but this is one of the few remaining compatibles with no schema for allwinner. So a conversion here would be nice. BTW, dtschema now has a better check for this (-m option) without the false positives. I plan to turn on the option soon (doesn't matter for dtbs as they all have lots of warnings, but bindings also get warnings). Either way, Acked-by: Rob Herring > * "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 > -- > 2.17.5 >