Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3527111pxb; Mon, 16 Nov 2020 17:54:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJyBwzmj3cKekxdbEe+roELBJzT3FvkMcDu+dvLgeTkH9qkoERmAo+1BAu5OJgpkDLMpVlxu X-Received: by 2002:a05:6402:1155:: with SMTP id g21mr18470442edw.53.1605578071275; Mon, 16 Nov 2020 17:54:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605578071; cv=none; d=google.com; s=arc-20160816; b=moEwAksygZSlHGTc+9TRG7WnsDYU6anuDQXWxRYgqUW3qppByzxjG913HCPwdYJv/A qVrEyCONwydXJaWGPopbIeOct9rXnAo9p1Fyb6rv3mXwgsOHtpu11qN0KVcoS4C7acwF zSkbNYcKKcnhL5l7XNgpYakZRIYtKHuug368k/G5ITRezWzS7Hy6OuepYjbH3V+29umx jV42FfRbMYU4tPWQ9g+zecQmCwFpgk7z1trGXgGOGFSiI9S9etYmg+zHAi6zaD7Grc8C lhzQDVmOzqJ6qqjLUwqCvVtjfhnAqj2smorLBWfsmaU0v21Gz4+6AqOapttxy2jPp/fE pCFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=n4Z6cOmuyWZ3+2oiSgb/gZnSp5m1Rsk8w+tHlYHMIRQ=; b=Q6pq+DKJBo/0GH5Kiie6CK73lQ7Us0+lBFv3xNCSeFempDPQu5eXlZt3jnYAyKJZ3y FqGyWNpOTHoPaCddSZdXxqmXxuQViBtFzc0pcL0nvgQT2r/fqbrzTJCQED4Si8kTg4AH JeL5SHAQmmbuuBPtKfhbcaAk72pfl8Jc6U1Fa/er6Nd94sxFZ2FnMLy0dt8JeGTMZ/yw huxpy8X1c1q4irZmYCVZHK47zHhVXIDb/bfBYH2541IhT7VfxHaLUbVHTq56IyIHeVvo fv96J2gXzs4O9qgwd8WZU7HTKS1H52LXvSN5yZHuLXtmSUecg3+ba/h0KZq8AZgcO0AS OVSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=J81fDplM; 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=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id li17si5542245ejb.47.2020.11.16.17.54.08; Mon, 16 Nov 2020 17:54:31 -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=pass header.i=@st.com header.s=STMicroelectronics header.b=J81fDplM; 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=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731257AbgKPPmL (ORCPT + 99 others); Mon, 16 Nov 2020 10:42:11 -0500 Received: from mx07-00178001.pphosted.com ([185.132.182.106]:41583 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730586AbgKPPmJ (ORCPT ); Mon, 16 Nov 2020 10:42:09 -0500 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0AGFXOLI030034; Mon, 16 Nov 2020 16:42:00 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=n4Z6cOmuyWZ3+2oiSgb/gZnSp5m1Rsk8w+tHlYHMIRQ=; b=J81fDplMLAklcuf251YD0CY27i4Gl84JgtlMdsk4V6YE5+hvTNUwIzJLyx2XxVC89OvW F2wnkFZiw03QEybVDoptibop9geTpSaNKigY3T9E+zSPmFThaRgFdG/sfgrTnZMhgTcs 701JaX2B2RT5EDHZLA+eOqQlhlKL+T41KjftMKcuLTknsdJeHSn6EcW2/EFkMy8HdVJI k9LdbK7DDeXd/X8Fmfc4UVY/WfHvzPHb0TAgUcsjk6IeQRqcGMetb+dYbU2YNBkJhucl k49qjmRNGE4PRn0Z85MQheHE03TpLVezJqf82sa1HVmv8JZiaLVY3+r6xvJabOFsOsJH mQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 34t5k4uqg6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Nov 2020 16:42:00 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 372B710002A; Mon, 16 Nov 2020 16:42:00 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 29461264DCD; Mon, 16 Nov 2020 16:42:00 +0100 (CET) Received: from localhost (10.75.127.46) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 16 Nov 2020 16:41:59 +0100 From: Amelie Delaunay To: Lee Jones , Maxime Coquelin , Alexandre Torgue CC: , , , Amelie Delaunay Subject: [PATCH 1/1] mfd: stmfx: remove .of_compatible from stmfx_cells for idd and ts Date: Mon, 16 Nov 2020 16:41:59 +0100 Message-ID: <20201116154159.4342-1-amelie.delaunay@st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-11-16_08:2020-11-13,2020-11-16 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org idd and ts features are not described in stmfx bindings. Remove the .of_compatible field from relative mfd_cells to avoid having to add corresponding disabled node in device trees using stmfx: stmfx_idd: idd { status = "disabled"; }; stmfx_ts: stmfx_ts { status = "disabled"; }; Then, the warning "Failed to locate of_node [id: -1]" wont appear anymore. .of_compatible could be added as soon as idd or ts bindings are described and drivers available. Signed-off-by: Amelie Delaunay --- drivers/mfd/stmfx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mfd/stmfx.c b/drivers/mfd/stmfx.c index 988e2ba6dd0f..39b2fc952b7d 100644 --- a/drivers/mfd/stmfx.c +++ b/drivers/mfd/stmfx.c @@ -81,13 +81,11 @@ static struct mfd_cell stmfx_cells[] = { .num_resources = ARRAY_SIZE(stmfx_pinctrl_resources), }, { - .of_compatible = "st,stmfx-0300-idd", .name = "stmfx-idd", .resources = stmfx_idd_resources, .num_resources = ARRAY_SIZE(stmfx_idd_resources), }, { - .of_compatible = "st,stmfx-0300-ts", .name = "stmfx-ts", .resources = stmfx_ts_resources, .num_resources = ARRAY_SIZE(stmfx_ts_resources), -- 2.17.1