Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2448144pxv; Sat, 3 Jul 2021 09:03:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTYV0W34nexrLE7QrOXsrsif1C3JmbOB0RbFCq22JMgyR50ABFVachOJK6Kh10HOUHgfPo X-Received: by 2002:a05:6402:1655:: with SMTP id s21mr5987154edx.295.1625328212360; Sat, 03 Jul 2021 09:03:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625328212; cv=none; d=google.com; s=arc-20160816; b=L89zfaz1QyBI+F47AT8L410FKTl0lbaQh1kDAyyvnS2md1pFKSOpbEURN9wL9ITK6k jj9wQZ4u3w3q8NuWmrGfayQtBt663ycI1IHbGNUnhhFGLObdJVDH+XRpDcN+K3MctX2i xdz+QgxaBT+Yf5+XMAEeZQ9kbiwmiyBQvQ/Kuh5SRMXrDDIX6LGkvPhKJeT1PBGVKov9 Fl7jNSa2OaTxos1nP4jZtRr7vA2ZnoIb1QZFH/LzyfnvZ6cDb4ki6Tn/6gLmoNsT0jn7 TpB9DrMxJVHystf0fvdX0kvmb7JBn7N7jPvEvohQW+uxgTI6eBvlgTzaeyMROAmgczl9 sx8w== 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 :references:in-reply-to:message-id:subject:cc:to:from:date; bh=sQfYaAh5tgi3+MRQhPx/0duPWw1bSXAQAQpLV95leHA=; b=MBj/RkFeCprh8Yp4tY5DtyZwFTMghSwLRMMgdvRe2glajweO5LSzu0OvC5KWtr+9SU aORMXGyrA+qDriA7cp93Km4gByl3hvCqwcp6uoGvCdx5JhvRrmHTg3urzVUMtOhFLIvs eFuIcOBNARxkOgw2Qad/oTdplayEisO0soo5+Ke+cJ8AyKP40cqvp7TNfyDDKVAQ/xW5 bM918hzSW+IaBMmMwC6+QGg+lEK+TpIOjzNCiSQGbT8yO2kNyzVHYtk6Dcvya7aZbpRZ TAThS92JEHb5Kq1oBaKrdFb6+PgAyAGgP22FYvtlORrXzlFFBcUKWp0LY1E2X4qM3OU1 w4Sg== 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 eo21si6410847ejc.233.2021.07.03.09.03.09; Sat, 03 Jul 2021 09:03:32 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229539AbhGCQEW (ORCPT + 99 others); Sat, 3 Jul 2021 12:04:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:40100 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbhGCQEV (ORCPT ); Sat, 3 Jul 2021 12:04:21 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DA84D61628; Sat, 3 Jul 2021 16:01:43 +0000 (UTC) Date: Sat, 3 Jul 2021 17:04:05 +0100 From: Jonathan Cameron To: Andreas Kemnade Cc: lee.jones@linaro.org, robh+dt@kernel.org, lars@metafoo.de, sre@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, leonard.crestez@nxp.com, letux-kernel@openphoenux.org Subject: Re: [PATCH 2/4] mfd: rn5t618: Add of compatibles for ADC and power Message-ID: <20210703170405.60828c57@jic23-huawei> In-Reply-To: <20210703084224.31623-3-andreas@kemnade.info> References: <20210703084224.31623-1-andreas@kemnade.info> <20210703084224.31623-3-andreas@kemnade.info> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-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, 3 Jul 2021 10:42:22 +0200 Andreas Kemnade wrote: > This allows having devicetree nodes for the subdevices. > > Signed-off-by: Andreas Kemnade > --- > drivers/mfd/rn5t618.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/mfd/rn5t618.c b/drivers/mfd/rn5t618.c > index 384acb459427..b916c7471ca3 100644 > --- a/drivers/mfd/rn5t618.c > +++ b/drivers/mfd/rn5t618.c > @@ -24,8 +24,10 @@ static const struct mfd_cell rn5t618_cells[] = { > }; > > static const struct mfd_cell rc5t619_cells[] = { > - { .name = "rn5t618-adc" }, > - { .name = "rn5t618-power" }, > + { .name = "rn5t618-adc", > + .of_compatible = "ricoh,rc5t619-adc" }, Odd to have a name of 618 and a compatible of 619. Why? Definitely deserves a comment if this is necessary for some reason! > + { .name = "rn5t618-power", > + .of_compatible = "ricoh,rc5t619-power" }, > { .name = "rn5t618-regulator" }, > { .name = "rc5t619-rtc" }, > { .name = "rn5t618-wdt" },