Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2083459pxf; Sat, 13 Mar 2021 07:12:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKNS0LtkzSJdXXHlmbcWVZxLXsjCfCClKHdzjN2B274WmUJHI/MKGwWI1DPNdjzd3cHtdb X-Received: by 2002:a17:906:52d0:: with SMTP id w16mr14273633ejn.172.1615648340090; Sat, 13 Mar 2021 07:12:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615648340; cv=none; d=google.com; s=arc-20160816; b=yqwSQXfUX+EseMbKRJF/3wHKWAAxZ0MiujFV5/8h2RH1Tdi6RxZf0ogG1EG49I2SeZ wGccXtaBvmOiUNgnlWpO6bV9PhT70QI/MpjfaEANZHERjYrXgqYbtt9DyIcDn6KBwtzE GVu6gzAAR5fTuIH9GnbVkii+TyM+qhhYuHOJKIF/qkaat+H75G3MbgwA0obVjI6WR6/z yT11sVaNvG4jDG3lDgVYQuK/1GjOLOmd2YF9DOCzEf9HDBxbX4YKsf4P9O0ImMYJm8ri nXONmS3ziAhOp7CE+0Wb508pdWb9bqDaOsWBbkQA2lY0KGAj00L5f8Z2R6SABDUlEya1 GPJg== 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 :dkim-signature; bh=PT2uaudT8zK/o8zFyuudxww2y2Ec8rnLtUlr+iIExYo=; b=BkR0s0NeTYbM13vwucYlsj2gOuap/GhAjgAWSlZHuHbStRgy6ibhp8bWpiTZCaz97h BzBQrCI84psEVdLo9jWm+dfZu5vS60SSGkhgEiE3tuRPYQJCuOscqeaZNMJd6LL95V+T baiLPPi6MwhzKEAGOA+F9/XqEYoQGfK+j+HSH5SblVB5ZVEG9PrOIllCOF1iHqEyVARj X7xkTJYBLQqL0x/qh+3xG8y2M7V2yMP41MK5o5fU3NqBPgtv3zOmTpDIPqFCpCxkE4iy 6MbH7GnIOvVyM5DHMvQH+pyiZf7JIufvdhoKATtxwGV/3O/S4Qjref65VkgVW7L3wWzG zZjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=DvzORw6u; 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 j10si7151257edj.128.2021.03.13.07.11.57; Sat, 13 Mar 2021 07:12:20 -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; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=DvzORw6u; 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 S233868AbhCMPIS (ORCPT + 99 others); Sat, 13 Mar 2021 10:08:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233635AbhCMPIE (ORCPT ); Sat, 13 Mar 2021 10:08:04 -0500 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 E7662C061574 for ; Sat, 13 Mar 2021 07:08:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To: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=PT2uaudT8zK/o8zFyuudxww2y2Ec8rnLtUlr+iIExYo=; b=DvzORw6uIQ4WOWLBmx8wYGGsb9 D9QbWGggJS47uwYIr5ZDLmQ5ulmW4jEycuTAyHlc5FmG1sO89yr6Ynm5RBlIFKVc7KJMPGQJTSmZs ei5Egb6w0Cw4Q0GaSV9NBIJxsFyGbekMEy47SYVsQGe35wZwRtSfrbttq/j0I0xjyp14=; Received: from p200300ccff380e001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff38:e00: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 1lL5ry-0000nW-05; Sat, 13 Mar 2021 16:07:58 +0100 Date: Sat, 13 Mar 2021 16:07:57 +0100 From: Andreas Kemnade To: Jonathan =?UTF-8?B?TmV1c2Now6RmZXI=?= Cc: Lee Jones , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] mfd: ntxec: Support for EC in Tolino Shine 2 HD Message-ID: <20210313160757.084d74d0@aktux> In-Reply-To: References: <20210308212952.20774-1-andreas@kemnade.info> <20210310095545.GC701493@dell> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.0 (-) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 13 Mar 2021 12:17:34 +0100 Jonathan Neusch=C3=A4fer wrote: > On Wed, Mar 10, 2021 at 09:55:45AM +0000, Lee Jones wrote: > > On Mon, 08 Mar 2021, Andreas Kemnade wrote: =20 > [...] > > > -static const struct mfd_cell ntxec_subdevices[] =3D { > > > +static const struct mfd_cell ntxec_subdev[] =3D { > > > { .name =3D "ntxec-rtc" }, > > > { .name =3D "ntxec-pwm" }, > > > }; > > > =20 > > > +static const struct mfd_cell ntxec_subdev_pwm[] =3D { > > > + { .name =3D "ntxec-pwm" }, > > > +}; =20 > >=20 > > To put across what you're trying to achieve, maybe call this: > >=20 > > ntxec_subdev_no_rtc[] > >=20 > > Then if other devices are added, the semantics/intent stays the same > > and it won't have to be renamed. =20 >=20 > Andreas, what is the full amount of functionality this version of the EC > can ever provide? >=20 > If it's only PWM, I think ntxec_subdev_pwm fits well. >=20 I think it is only PWM. At least I could not see any other I2C access. > [ The next subdevice that I can foresee is battery monitoring. ] >=20 That is done via the RC5T619 on that device. Regards, Andreas