Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3591130pxv; Mon, 5 Jul 2021 00:38:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNMpF6Citxhjzhm7/TP0jlzj+k2R/rGKa06VQmM/raN5cJfu6T/HlxFNr6K0sC3wBBtv13 X-Received: by 2002:a5e:950f:: with SMTP id r15mr10915892ioj.135.1625470702430; Mon, 05 Jul 2021 00:38:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625470702; cv=none; d=google.com; s=arc-20160816; b=koLHtYODK8XK/ms2xlyoScK/E55kigh3Z+g2st+ZInrxp8D9HSlMgQXJ2tMXUPB9ee lEPWJbxbFP+88p7trIkvvrDdmsjdWJXmWAzRyHOAJizhk8cWyvVJoTMuPsKeFSbIZbSm mCXt9OVZ0qUCBIhSNcPjmt2zEX/vIwLuQJH4GTWWxKJP1U7/9RY9y4iKfFfE8V+qiO2t h+JSl+hxh+LfHawEkMiXCYcg7eu6Sbr0ZinQe6mKqh2kBX8j/ojgHZnxIdizGy+2FCWr cCOXwug43YapOc59BGXqldnJ5Tt+KCH3lapQdkZXcqVr92SQzmlH/ZZbYe+LE/6ax4C+ k0Qg== 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=3gcOyn0drqMN2jcigqPYxvdzNQqta5uQwhQq9F4TJg0=; b=Yyrsu0m+LQ4anKLJ5J6fAQaAtO7RstwHIjXjTbxT8P1AXM3eAYxaFcoHxuSUzvBU/j ry2S0cszi9qkoBPD/UHfmec4MzDR5E/Txl8Zl7I1Ajyb2WlTJqHTkzB2TUVf+wfpcyNv TUEMmSMGIC3CozIJC5sFbopiQ+FOKc1hN+Oi7NHGjesbK9SBbXyNk338EQffawGI70Sf wbTGfqojqZ85nanRmuvaalDTphRvrE6X7fD+AskDXqzrgKn6Tzd9ClGOiZ7vii6lFiQg ZGqaQAWzuu/GjUsO2wfEi1TReHkPBsRPbb3ANez9wTGmr4hOtzrZ95zQp5yAJSvTUBtq 07Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=drOt69or; 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 d16si12793683ilf.112.2021.07.05.00.38.10; Mon, 05 Jul 2021 00:38:22 -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=drOt69or; 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 S229989AbhGEHkE (ORCPT + 99 others); Mon, 5 Jul 2021 03:40:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229953AbhGEHkD (ORCPT ); Mon, 5 Jul 2021 03:40:03 -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 02808C061762 for ; Mon, 5 Jul 2021 00:37:26 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id i94so20841133wri.4 for ; Mon, 05 Jul 2021 00:37:25 -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=3gcOyn0drqMN2jcigqPYxvdzNQqta5uQwhQq9F4TJg0=; b=drOt69ort5zAXQmwvPrRSoM71unOxTnmcRTsox0FSHWyaXJVAJqs0QaqeQtZjTUEnB Yy+6nwAQoP1MZwjlWZFtVjElWhze7SZQDnBFYs0utlQrX6AKAyvWdUZSeHwXDzaLKLxg ZF4IlcMl9QtLVg44dtinwFgTWYg09GTJVYYNs5rB2gOvmTis5fUnvISa6yX9uGVliJWC QNGd+TR/+0W7jXNXhJHNAZU4e8WTL93s1rRP61vbhgTNPeEHDnbmZgqNjFqw3qoZUHPk YFVEmwnlZRYld4Zhw6uJ6lFLqe6RT3lWsQMGewIvyKgOFiEbPxaa5R+fupdWtQ1QG9RJ lt8A== 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=3gcOyn0drqMN2jcigqPYxvdzNQqta5uQwhQq9F4TJg0=; b=CdJPxLh2Voxbw+NnhJTl5/y7vdgp89tql4S8HHDKQ73DhhSmY/u454rctll6hWahqv eWV/r9OwVziH/+NdtKm06ED6WJJG322Rab6zpKohb3zK1ZVnuHdMwN9EyqnWhP8Wh+W8 Kgz+m/ElvHqrO0MhTjJH2N0oPORMGYmq+uhgiDLrRYZ5YnlytCHiIqDUOhlSIxNpw3sq di8DGvQ9KigfO5Qw6KVcoCk6YGWrhTMYTJx7JKXDtH1/YMEtShf9z5vva+4+RNnbAFtQ XiknGpU3/UJvjJbNyNOlTB5DqULJPqRQb/mtWFI+FiOr37yIA+d2yZW8JQaYbwxazkxG 5Mng== X-Gm-Message-State: AOAM532pIz8vKSNgx95fHXfIJ7xOn+e1e6yQ7wREPOyeATryc42uq+tD zA4r1FG5RZdb9PmA5D/1E/xbmw== X-Received: by 2002:a5d:6e81:: with SMTP id k1mr14096502wrz.144.1625470644642; Mon, 05 Jul 2021 00:37:24 -0700 (PDT) Received: from dell ([109.180.115.218]) by smtp.gmail.com with ESMTPSA id l16sm21893173wmj.47.2021.07.05.00.37.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jul 2021 00:37:24 -0700 (PDT) Date: Mon, 5 Jul 2021 08:37:25 +0100 From: Lee Jones To: Andreas Kemnade Cc: robh+dt@kernel.org, jic23@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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210703084224.31623-3-andreas@kemnade.info> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 03 Jul 2021, 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" }, > + { .name = "rn5t618-power", > + .of_compatible = "ricoh,rc5t619-power" }, If you're converting entries from single to multi-line, you should place the coding lines one different ones to the brackets. Also, if ordering is unimportant, could you move the multi-line entries to the bottom please? > { .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