Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3591687pxv; Mon, 5 Jul 2021 00:39:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylBWp5j8BVGt81STFT7XXgvlWuwXMXPXCO+YEGk2quHO/CreyYfj/ctrodUwjjtWRThgvE X-Received: by 2002:a05:6402:b79:: with SMTP id cb25mr14605415edb.164.1625470773558; Mon, 05 Jul 2021 00:39:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625470773; cv=none; d=google.com; s=arc-20160816; b=YiG1b/cYQsoZ82KW69vD+sziX3hH23G6YK029nNQpnDDmh0XVqio4i8IY4Gx8nsIW5 vSZYLL7J+TiZcujUY9rujNCGnbEvLA/uRqZMde6LuDc7lPGSNVnZ+/IvJztzvIFrI8Rf qvAwcUuOM7NpXiw3WDXkXulNYzn8inNEaXMnR2dI3EGHiJaiqOPMhkZx9NAvRpsedHa/ 8LK5YWzlBnB/+GA51lkBkOZsuGtN0J3EvsU1EvxrU+B36ahn96YvXKsznYUMReisA/ex k0SP7A83/J8gtt+nuI4zMsr/SGxCIpF1OKRg4qesKWp3CxhdKAl+ZPlipYIktgTP0s+l r/ZQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=weC1zMZ4iQacKpyErdpDocx69cDmZbkaWvPljQ5YbzA=; b=Lih8XsqOTrCDlXvbKeOlKcBHe7FbPE90fKygHd/K9v7k6NtEilQTheL2ZnR3dU9Dwk UWGiSArVDXlTtSssbEJk5Qrw76694Cyfjs8qtjoU/mm+4+5/z2umMAlyv+DuP/P2r08z c7Ir00a/ZF5GTHGYf/jq0X8Kzw72kY03P8xf9RW06uyc3MrmT57Nk3lDwwBPtN800uNP TDKfbUhAFWeOBN+DWmFiW/7aloC20bzcU+hrXqPizscmvJnr0jd7mSy5I8IJTllZgcuZ lvS3wYUE2XIDAnhhmK4lgV02MGpnzG6P+xdiDltz8lFbQOE8ZIof2FKONgX7Qk6rBVaT 0OnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L1VsdV0v; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b88si10925771edf.223.2021.07.05.00.39.10; Mon, 05 Jul 2021 00:39:33 -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=@linaro.org header.s=google header.b=L1VsdV0v; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229947AbhGEHir (ORCPT + 99 others); Mon, 5 Jul 2021 03:38:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229953AbhGEHiq (ORCPT ); Mon, 5 Jul 2021 03:38:46 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B979AC061762 for ; Mon, 5 Jul 2021 00:36:09 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id t6so10899835wrm.9 for ; Mon, 05 Jul 2021 00:36:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=weC1zMZ4iQacKpyErdpDocx69cDmZbkaWvPljQ5YbzA=; b=L1VsdV0vOqFrEc4dkuNurFn2LuuZEL5GI5jn/ai/KI32HvFa1nDGknj2FmJsOKJOTg JDNkshrinpKYHpQvtsGF1Az2oXMicni5WR9S7YLcrDexnZmt+UFfJO6DJ205zuDZ2g4o MSmfNAPkC4GYYqY6xUc/g4JpXzbvUyUXBVKilTDyWdJQZP2XGwww5EraHhIDjkbyBozV 9C6UmmEzu1z9N10TWYZvbHBjBuzBRcA82q4LWHpDTwXAmZ5W2HFbqFvJFGeZ5UI+C1NC ZSiJsKNqg/idk/7J8fvyqT1fARP9tbCliUNfsQ1GNpLGUglwu/9UZ35zWN8QPMzm1aKh JRmQ== 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:content-transfer-encoding :in-reply-to; bh=weC1zMZ4iQacKpyErdpDocx69cDmZbkaWvPljQ5YbzA=; b=kDkXRVwObubMXcZ9Swii3kksEJ0ueFpo90NrNf2k2XsLEPyCNKC2GuJirFtuZHyxAW LiEGUwaTbwlh0w+h3q0kOCaHmhLOe9Jhq2KIxbCvENzJUQGQdStDXEriBpGvCL7ipZZR MkqrBOrZG+7PQwegY4tcdIGBHK3J1uRJi1y/mxnQNa5cUfnxuJ33L8PxYnIMXjXRdFkl Wsaf4SuRltGDPcnYvChzEiMKd8qHreTlE48AUeaNyFFu5thoPk5OtuSxpnK180TJskQ3 47BZc7CCqcLEtH6ON0gFJfviHYoUWkXRP6Wd+EnE3I61HefXFuIb8qHbIQqD7zTYEQbt 2A4A== X-Gm-Message-State: AOAM530bRcS6dos+nPe/gyxKJ2aRThdZcz8HimLFWFcxBmjOxkTKQ43t 7C7wQt+e1jIoOX20iDyZpD9d8A== X-Received: by 2002:adf:eb43:: with SMTP id u3mr14107643wrn.83.1625470568254; Mon, 05 Jul 2021 00:36:08 -0700 (PDT) Received: from dell ([109.180.115.218]) by smtp.gmail.com with ESMTPSA id u1sm9246257wmm.6.2021.07.05.00.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jul 2021 00:36:07 -0700 (PDT) Date: Mon, 5 Jul 2021 08:36:08 +0100 From: Lee Jones To: Jonathan Cameron Cc: Andreas Kemnade , 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: References: <20210703084224.31623-1-andreas@kemnade.info> <20210703084224.31623-3-andreas@kemnade.info> <20210703170405.60828c57@jic23-huawei> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210703170405.60828c57@jic23-huawei> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 03 Jul 2021, Jonathan Cameron wrote: > 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! Actually this is the norm. We have lots of drivers named after the *first* device they supported before expansion. > > + { .name = "rn5t618-power", > > + .of_compatible = "ricoh,rc5t619-power" }, > > { .name = "rn5t618-regulator" }, > > { .name = "rc5t619-rtc" }, > > { .name = "rn5t618-wdt" }, > -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog