Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2198226pxv; Sat, 3 Jul 2021 01:51:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhRKtjP5agdwy3BJqsp289KxENbhWlULhiIyvIvP86VRbUEyEZNPpbWRMzMSwu1o1K/Mbr X-Received: by 2002:a17:906:a195:: with SMTP id s21mr3601311ejy.373.1625302308327; Sat, 03 Jul 2021 01:51:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625302308; cv=none; d=google.com; s=arc-20160816; b=rq63weKKWJMxDwmTPmEnUvESVa6UCwoSh9itBepFjwXtZQlLeSiDrLlschvhuwFbxy 36Z+FFqQwQFHvIyX01R8TRqINjZvjsZIXU/k0EvIxF5xr3ACBmsVf76m5hUEhUE/NKOA vR1LPpArxce1/UDl8DTJ3zzY3SvfocKoZ3lRG1DAAvcRvXhX3I9nkET2AgXptt1mOFSz vuq9m+mY15/+xoMQ76yxHxzXabklxQye33kpxVtLSLJ1vi/XnsKCSPa4I89YaFDqprt7 7gZpx71+rT+vb/0gaQR0gFRaeoz/WlsEUFGX56Btg6oeDN+BfB7+d2r3z97Gbek1fBsF vNsA== 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:date:subject:to:from :dkim-signature; bh=gmpqjeb2FQLuOjby3N4bw5cNgvYtJfKhiZNowCwzojg=; b=Zr05ql5vgYGvErSX5A2m3E/ish5DNnkcz3QrIGvuPO2HQlxYmxHbSvSiB3YNtWwH/2 znRcdYzWRFu3ZwOr6ZeEpuwC81aeJquaBfqsjZUurKGObwO7Hqr1Lg66G6LSwr62JFNw n1bDRF0Rf/FZg2l/4p/JF7Qh7qhxHpxCyJjHXsjf1OFNgw67iQ8hMDLQxYL3b1VFpIP0 9HLKv43u/YVfHjfPK6X3e58s5tcTGdW0NE3dmPqLJ61B1o6x+MnHCqczy2HwjWqCX0GW KwWnIHfVkxiGBPODGU/vvf6XMHEn6HaTT2kX8bdM38SXICKt10uFmGqggsWjIV82rQ0+ w11A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=AE6c81eg; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oz14si6000656ejc.140.2021.07.03.01.51.25; Sat, 03 Jul 2021 01:51:48 -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=fail header.i=@kemnade.info header.s=20180802 header.b=AE6c81eg; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230176AbhGCIpU (ORCPT + 99 others); Sat, 3 Jul 2021 04:45:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230042AbhGCIpQ (ORCPT ); Sat, 3 Jul 2021 04:45:16 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A0BFC061762; Sat, 3 Jul 2021 01:42:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=gmpqjeb2FQLuOjby3N4bw5cNgvYtJfKhiZNowCwzojg=; b=AE6c81egYRW8uAmvlFYcDMKz+O bx4qtEIwooQs4T9WrZesilrCH0qI7hzQpkNzE5e5B+rtyPru08FrJyTzZVRJJJK0WLsSHSC7MVpsK 4ux5EaKK2dUVrUH2WE3AoyOuPPyQsyvVjD30YJGinYZWbE8bQtd1TKBbxL6p2c+c5uuo=; Received: from p200300ccff37da001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff37:da00:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1lzbEV-0006O0-S0; Sat, 03 Jul 2021 10:42:40 +0200 Received: from andi by aktux with local (Exim 4.92) (envelope-from ) id 1lzbEV-0008HQ-HY; Sat, 03 Jul 2021 10:42:39 +0200 From: Andreas Kemnade To: lee.jones@linaro.org, robh+dt@kernel.org, jic23@kernel.org, lars@metafoo.de, sre@kernel.org, andreas@kemnade.info, 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: [PATCH 2/4] mfd: rn5t618: Add of compatibles for ADC and power Date: Sat, 3 Jul 2021 10:42:22 +0200 Message-Id: <20210703084224.31623-3-andreas@kemnade.info> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210703084224.31623-1-andreas@kemnade.info> References: <20210703084224.31623-1-andreas@kemnade.info> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.0 (-) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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" }, { .name = "rn5t618-regulator" }, { .name = "rc5t619-rtc" }, { .name = "rn5t618-wdt" }, -- 2.30.2