From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (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 5BBAC36165A for ; Sun, 8 Feb 2026 15:19:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770563992; cv=none; b=kz6lllxlZqz0fTijtKdIcmqtmuTGR3vfnZjW43Xef7feN5zd2UOhw+PpN8zceLlyNdXCAglPMd7vyOdHp43U37uofQdnmnbJoHBYjSl9SuLEmNrxANKECb7RpTGgYGdzpqZOh2XJ/PQq04z708bFvWvcn+yBgbx9bEmjpCE+B0g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770563992; c=relaxed/simple; bh=+xzriWSR5iGt8WjlG2DY92+pZ7PIMUvY0YdgOUgFfco=; h=Date:From:To:CC:Subject:In-Reply-To:References:Message-ID: MIME-Version:Content-Type; b=QDSoDJ/k57kBZoc36QR5zBPYlGUzZeCQh9fQHMtcDN7kpoyqXfUWZ3XVs4PyXxCfE49eqxdC9xesEZaf+rtvGXBxl2tbHn/64jO+LnJ7zyPdv+i9j5OkvQhsjPi95CC7DpWPoFFd27ITv9vmAW9DecOSOVaOUmYs+skghrA+0pE= 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=SUCxohCm; arc=none smtp.client-ip=209.85.208.180 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="SUCxohCm" Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-385c23b88e8so33244561fa.3 for ; Sun, 08 Feb 2026 07:19:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770563990; x=1771168790; 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=W15qM4zjUo3jkGGj+XoI8VU/D/d6+cRvXAz+lQ/6Xi0=; b=SUCxohCmgYBUg1Doaa0sWREY1ExnWioYyxlVQOjTgL/iEYFU0UG4XsHNsQ6OCVhkvK bcPooG5fPikQ/ygZmJ+40ys7Jm1U7Y0rVs8LIAZ5nDfY9HSAl+SxuUy5rkhVSaiznFJv fxCefGGML/XdtYQKKou9qYYX9hAbN4TggSDpGr2zcdXeFpOqRs697S+iKY4mwki660KK IPLaKC1kx5zzhMQvGVIBJb4JXEf/6hu38tqoGDYeQnp07jL2lBHSYuYV34nTMncZ+gna g8lM6F/P1M2AM+DrcWXvZAfCIh5j+dJbd4GvGgpq3NhlzeZHvKIKOALiU59mz8ODEzK1 LEuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770563991; x=1771168791; 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=W15qM4zjUo3jkGGj+XoI8VU/D/d6+cRvXAz+lQ/6Xi0=; b=Jxg9qwDnGoCWMuTYCBhb+HzLuAiCPnO8n+uGjnh04UVuhaQ5sI5Lj21geba8vF2FJy 3HzzCUzVF0ySfEzgP1o07tM2KhodgXs9l5Lhl5WScKdF1kYiLLQS5ggqrF8cInrjKrgr p1QapERQRCQIzJHm8usV+tRYv8uIQv48k0aZW0rcirRJuK+OH0lNmBrO1k9W5B4jXAFY QRyccoG6oYE/kVAyMzS9dyI2rmCWOZ4pP0wzNlYm8hbftLxuxeTH/XiQlz9JodI2LBpd QUTm2OZlje4G+kwaEOEQ7LG2REFYWHpUJO5A1N8dJxxkaXI90ShTTKHBjXY1uhOw5UAU 272A== X-Forwarded-Encrypted: i=1; AJvYcCUHJHfIva017aU+ncksUaeovJGeC6VyHAR4jAG/UXofT8y9eUHTcC5WjTuIgt/Vw98eGjWn6XIkAioP@vger.kernel.org X-Gm-Message-State: AOJu0Yziud+3TXiCk6h0fD94ri5Ke4gkq4QG5PO6vVvTXeIuNJNf1/Hi YyHJkd3vJhQFDEKoZtKwSWKtVZsfd+1vB5f1s1AcXzlBpSL7uM1bag52 X-Gm-Gg: AZuq6aJtN4Xqevl7/XdzPRi4tihhh/guIZNKNZ6KA0CruVLn3TlzgezVaxOSu1Tw7h9 6B+URDx1V1p0Ubdujp5/eJ+XfLSB7cLzeUnYFFezGImoErGxivyDQDlho1BTkz4p4p1Weq5OI0l kXRWRgIk01X1njv/T0VFaXdNICx8X+hxIKOFospfbAVOrJbkQC+xy+/2ivMD0QHmtQKjDYkzYru 1n4IEe4s0JIrPsgo0lfpOkKV1RlQqI+KsXu5W2KYDk5DigfxA9GGXQAW8cBv23P7WCrVXSCwKZN gxVzTPR8wCWakW/oTsVQF9gVgI5eTv4s08mKMgzC98303V6SrHnL8ODoqk3NnpF0+2PkXmHbQfy dZshInNAXZcsiISzefbHmSGqE8nv/XVF7vtnblls0Ll26+MlMx+sp2fUkqz15CTC8xU05EwsGKs R+1+TJYZylrZseUvUtRAKf X-Received: by 2002:a05:6512:2508:b0:59e:4f97:ad59 with SMTP id 2adb3069b0e04-59e4f97af15mr263855e87.10.1770563990386; Sun, 08 Feb 2026 07:19:50 -0800 (PST) Received: from ehlo.thunderbird.net ([178.137.246.208]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-59e44cf6e8fsm1963107e87.9.2026.02.08.07.19.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 08 Feb 2026 07:19:49 -0800 (PST) Date: Sun, 08 Feb 2026 17:19:49 +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: 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 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: >> MFD have rigid subdevice structure which does not allow flexible dynami= c >> subdevice linking=2E Address this by diverging CPCAP subdevice composit= ion >> to take into account board specific configuration=2E >>=20 >> Create a common default subdevice composition, rename existing subdevic= e >> composition into cpcap_mapphone_mfd_devices since it targets mainly >> Mapphone board=2E > >=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 > I can do that, but is it needed? This id table, if I understand correctly,= is here solely to silence warnings about missing spi id table=2E Driver it= self does not use it in any way and will never use since all available devi= ces that use this driver rely solely on the device tree, all possible futur= e devices will be relying on device tree too due to obvious reasons=2E And please, may you contain all your reviewing in one iteration=2E Then bo= th of us will spend less time working on the patch=2E Thank you! >> MODULE_DEVICE_TABLE(spi, cpcap_spi_ids); >