From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87EA9318B8B for ; Mon, 9 Feb 2026 08:42:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770626526; cv=none; b=E7f9Mn02PfNv1Js1J4C9kCUO2DyT+eHOKkdLuzWXweMM3ban7XE1hoS1eOWuFTF3vIgGhUwpWYfZUIXo3gq3HmLtFR/LVJxcbO2EjUHMK/OjuIFUrAkfExvBzJFNIeUlohqQGI147+g/pL/KWFZiuuB/Fz4quoLRd8IsdaPtaWI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770626526; c=relaxed/simple; bh=LiYrdmZmpe82t7dlcM/f2AMhXxkyP+KlPiuEiIfS8hQ=; h=Date:From:To:CC:Subject:In-Reply-To:References:Message-ID: MIME-Version:Content-Type; b=J6NP3uCtgENqsAOVf3LAZMm/4ZrxzsXZH6rRP4plEMf9Leu7UxJr2I0VK1oWR7LM/j3GJ7G1ql+2SC+6kugGkuTq9g5gp+sWsDO9GUg+DL7l4mPasj38COjxW+DsOZZiCHalOKSH/e0DNExMwQQhktnpRx/90UywPrH29PFcT0c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=L1SfwTvo; arc=none smtp.client-ip=209.85.208.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="L1SfwTvo" Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-383122fbc9bso34709881fa.1 for ; Mon, 09 Feb 2026 00:42:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770626525; x=1771231325; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=cxn1uhOmh76vKJ6SWls1H47L/AWVvPiIPbvQPRDKQr8=; b=L1SfwTvoILdLWiZEM/WKIu+DQDmpBcgpgVzijYVryHfxXYLyZL6r9PF38UtqFncL/r 6VwnOF5DGaQvbsKi5OEqR1RphjDzg8DqV7PvATylt823RkiVHPJP/Lmzdse1VkXJtltF /HR91rKSFkNGMmzzjqrYi0M/M/kvV61HeNNXwsJOjUpiIKInZC0NFW3tENP39PvexJ5g i7/aMqKhMazjSagPySl7jQTHNRUcbpAspxydL8WFvYnAgHfRBGaRWC6vd8MdyhFvmBuP j3HfPxeuK1oleeJpuJo4YY/C0AFEPg9OIfB9jsPRIdxaF3Jvtrx+YBaTNgauwtAXGTPp Xveg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770626525; x=1771231325; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cxn1uhOmh76vKJ6SWls1H47L/AWVvPiIPbvQPRDKQr8=; b=t2hVBIBnA6JVQkKF35eHZtu+FdDwC+6/AEuNQeMPvRhN2lQT5+RF86RNtBYlU1j4UI UTcSgppElXWDL8ekxExoZGyu9rj8Ej2pIAilb7QHgxJofH0iqZFXeHZL5yjlczuVpLBK mCfIf+wDUvyaiiFdhTLAvmVEVjk0VKB1IBxhP7nbA9gh7/9RdrAUKiiVljuVKSha/DWO JOCVodpalr+OEC+W6DOR82cxBU/ChEcJYp7PUz0MWy7eRJfQYL92CRzCiznaThXpetoS Dq67cs0ZB6CmiXz4JZxGfeWXjpjfWLL9tCk8C7FmXYLMQOcv230JMfVTeO34OEDzbPhv 8vjg== X-Forwarded-Encrypted: i=1; AJvYcCU/rOI0YOsViOxY8IxROyAXs6sZ4PmsIYF3lHXQO7ANEl6mCW5+wygbtvQlQfjhz1htr5SQNPtGRb/N@vger.kernel.org X-Gm-Message-State: AOJu0Yy4cfgj2VY77bqOLQ/o1URoluQaVYgY9ioQdaSvzCONVW0ZNtpL L/VcyopDjVmVfVJalxnVMpBJfl/iSArIoGRg1EPNQbzWKWWJN257+xMg X-Gm-Gg: AZuq6aLNxZDQuYmp5cmwHl1a5L80rA9IOwN9En1GfDYuM7d2NDgUdEM5jo+VHQAowII MHJ9HlIO7/JsnHFqYi3tvp9Y2U6v61OgkFeFnQXwc+kER0lmyawYC5gGd7AybMpYBGUq6GIndIi zAIedWAB6AzlSOFywTirPgHYKIrctdEWjUIbGpfkLESp2mkOWgfcKTJEHPY8xc8y4Ie9JExYljG cvwZQGMs2Weo8U1fiuUJRm0b0hiMqHfwPbvpT2K8CCJcrjv7TDC0xlgICkEz5Q+lQ9fh+7pbA/Y BixciYxWKBjpPti+cEhpNsyYRxeItEESV+B/WT4YmMDxOmkhAx4bQAFaqta8ThqfiuqDIfrPA0y LQvSo3DCO3Gw3zM5dDrzL0q1Il9qGEQsaC27eETumJnUHX1n8TGc2ip1+4mdjsdlQpbYxDp/aUs 34DbRf8uKKGmVf99neFnHf X-Received: by 2002:a05:6512:32c8:b0:59b:9ff8:468e with SMTP id 2adb3069b0e04-59e45156946mr3840197e87.31.1770626524350; Mon, 09 Feb 2026 00:42:04 -0800 (PST) Received: from ehlo.thunderbird.net ([178.137.105.239]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-59e44d29a48sm2425411e87.62.2026.02.09.00.42.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Feb 2026 00:42:03 -0800 (PST) Date: Mon, 09 Feb 2026 10:42:02 +0200 From: Svyatoslav Ryhel To: Andy Shevchenko CC: Jonathan Cameron , David Lechner , =?ISO-8859-1?Q?Nuno_S=E1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Lee Jones , Pavel Machek , Liam Girdwood , Mark Brown , Dixit Parmar , Tony Lindgren , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org Subject: =?US-ASCII?Q?Re=3A_=5BPATCH_v2_10/11=5D_mfd=3A_motorola-c?= =?US-ASCII?Q?pcap=3A_diverge_configuration_per-board?= User-Agent: K-9 Mail for Android In-Reply-To: References: <20260206172845.145407-1-clamor95@gmail.com> <20260206172845.145407-11-clamor95@gmail.com> Message-ID: <5AA39777-F5C8-4AD5-A5C2-47265C8213F5@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 9 =D0=BB=D1=8E=D1=82=D0=BE=D0=B3=D0=BE 2026=E2=80=AF=D1=80=2E 10:18:57 GMT= +02:00, Andy Shevchenko =D0=BF=D0=B8=D1= =88=D0=B5: >On Sun, Feb 08, 2026 at 05:19:49PM +0200, Svyatoslav Ryhel wrote: >> 8 =D0=BB=D1=8E=D1=82=D0=BE=D0=B3=D0=BE 2026=E2=80=AF=D1=80=2E 14:54:53 = GMT+02:00, Andy Shevchenko =D0=BF=D0=B8= =D1=88=D0=B5: >> >On Fri, Feb 06, 2026 at 07:28:44PM +0200, Svyatoslav Ryhel wrote: > >=2E=2E=2E > >> >> -static const struct of_device_id cpcap_of_match[] =3D { >> >> - { =2Ecompatible =3D "motorola,cpcap", }, >> >> - { =2Ecompatible =3D "st,6556002", }, >> >> - {}, >> >> -}; >> >> -MODULE_DEVICE_TABLE(of, cpcap_of_match); >> >> - >> >> static const struct spi_device_id cpcap_spi_ids[] =3D { >> >> { =2Ename =3D "cpcap", }, >> >> { =2Ename =3D "6556002", }, >> >> + { =2Ename =3D "mapphone-cpcap", }, >> >> {}, >> >> }; >> > >> >This also needs to be converted to use driver data=2E >>=20 >> I can do that, but is it needed? > >For the consistency's sake=2E >Also brief look at MFD SPI drivers I see that most of them use driver dat= a=2E >All that is redundancy? Maybe clean them up as well to show the point? > >> This id table, if I understand correctly, is here solely to silence war= nings >> about missing spi id table=2E Driver itself does not use it in any way = and will >> never use since all available devices that use this driver rely solely = on the >> device tree, all possible future devices will be relying on device tree= too >> due to obvious reasons=2E > >Then maybe SPI should be fixed to avoid this table to be present? (But do= n't >waste your time, it will be a rabbit hole=2E) > >> >> MODULE_DEVICE_TABLE(spi, cpcap_spi_ids); > >=2E=2E=2E > >> And please, may you contain all your reviewing in one iteration=2E Then= both of >> us will spend less time working on the patch=2E Thank you! > >It's an impossible request, you should understand that=2E If you want, us= e AI >or your robot colleagues for that, I'm just a human being, I can't see >everything at once=2E > Ability to see only nits and don't see the possible issues seems to be a t= alent=2E >