From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A0B6C3164C3; Thu, 4 Jun 2026 21:40:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780609215; cv=none; b=jsPERuamGC4seIF6KhvNtyVNn9+o25nOsfrn/ak+kUY3QTvRyJXjn3Mrbhy4OynjVU0pQBqPncYNxTqJu+YBFuoEDZeQr+NkvLm8KIaLo+0D00ZOz+Mw2S/UJLXSMWjARsRISnqKysk6sfVUA8hk+itCS1zsejDxL6OVxPvRUB8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780609215; c=relaxed/simple; bh=OT7TALPoBOsm5N3PpWtluBEYuUhbF4gi2Buj3v5UKkE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Y/Q7GZpJWII+fLZyy8Xr9HT0rYigjLj/TXVapo38Foa8I44rrUeYyuAoc9JVoolbVyg4mbJ0dKYm0C2N/lCzoGl7Aje0Oo9pPS0Wc0e5jdqXmiC1kZ67h7Uc0eM1wOkHfyTwbm4P/cPjPmwyOPCt9Peqx0r7fdwmQJXXJhV99Cw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XsvUPPeb; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XsvUPPeb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B53791F00893; Thu, 4 Jun 2026 21:40:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780609213; bh=aif6Z7qHHLhcGKGHK5W+M8u4/6eAhcS67Qk7Tlh5D1E=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=XsvUPPebuG9Z1lFzkhBaasIR0v1WqLX3+y8y11f727klQjs4FJvxHArEu9owldEFN jJNtxY4pS51yvppWupoUgHrFTDDjWmAdZdfktk1TCGJtZ0YZVjx9rs4I+aauoFvAbf CqTUk6TmhsJmzJuZtOuuGFdFE9ECc0iSKLhPrwNQUb2oRxMn9AbqZFdp8iUpr+0ypF eXYjwf/7QjyGe8HXf28u+Zo3wGaV7oDRzZaQjo4B4m+2FWG32eYdOY1TcfItFfJUDA eGLjxD9GHZYHDHGObNFWDTUNq5lnoiRo265dmgVftFbk93Zyuu4kcJXCZtM8Des/3H sVflgjyURRPeg== Date: Thu, 4 Jun 2026 16:40:13 -0500 From: "Rob Herring (Arm)" To: Krzysztof Kozlowski Cc: Aaro Koskinen , Conor Dooley , Kevin Hilman , linux-kernel@vger.kernel.org, Tony Lindgren , Andreas Kemnade , Krzysztof Kozlowski , linux-omap@vger.kernel.org, Roger Quadros , Lee Jones , devicetree@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: mfd: syscon: Disallow simple-bus with syscon Message-ID: <178060921244.1298375.8605331769477177888.robh@kernel.org> References: <20260531110404.12768-3-krzysztof.kozlowski@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260531110404.12768-3-krzysztof.kozlowski@oss.qualcomm.com> On Sun, 31 May 2026 13:04:05 +0200, Krzysztof Kozlowski wrote: > "syscon" is a system controller with registers having their own > functions, thus not really a trivial MMIO simple bus. "simple-bus" on > the other hand is just a bus on which multiple devices sit and the > "simple" means no functions are allowed here. > > Combination of both "syscon" and "simple-bus" is abuse of DT for easier > instantiating of Linux device drivers so add a schema to disallow that. > > Unfortunately there are a few old cases of that patterns, so add > exceptions: > > 1. "cznic,turris1x-cpld" and "img,pistachio-cr-periph" are already used > in upstream DTS. > > 2. TI has several DTSI with a child of SCM device (e.g. "ti,am3-scm") > using "syscon" and "simple-bus" but without a dedicated compatible > documented anywhere. Add new compatibles for such cases. > > Signed-off-by: Krzysztof Kozlowski > --- > .../bindings/mfd/syscon-common.yaml | 27 +++++++++++++++++-- > 1 file changed, 25 insertions(+), 2 deletions(-) > Acked-by: Rob Herring (Arm)