From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796047702; b=fGxliulP+i2Ks9w4g+cFzL5DoDuYDltfq2BTpbc73JSsJ7EC2nOofjPPDzhVH8kbYffd VcZZLapf413cYr4ssDZWX11nI93aWTqHlatrdlniP7Z7DpZL6gXrNNaFjhioa1RXK5VFE 11Jy1X8e+DYLg1FBrfCJIfi1s6564n3YocUM8c2DSSy9mClCVydNrnlY4T2AwgdoOHCPB bQAy8KAMtBAqjnm5c9cWrlJwFSXuSFWzsjY+NQSeWZm2s0PXhSUWgeIL67nqqZl/32GEG nsnhSLbvj3qXBsz6EORKA9cQoUI0KiBmakEGPFbCckhdOyQ9f8WboCCQiVzyRRWsZ8A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796047702; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=myj3tNHu7qgFHTSrKim7+HH9REF9DfULJ9Kqg5y8zSU=; b=TlJh5GFUki8N/u7y5eQSAV1TDYAvQWMC/62bsazLz+TZ1a0qNmox0EIriQbFoyVaTlHb N7U0o6beLnR/K0WHHH7YTxYf83l94oqz/oUwtot1UylSOLCyEiWHcU86bCTiHm6se31Lw n7lYC5b6Papt8b293RGAxCC0rCO4nnb7Yeio6LZS4ljEm2xs39UE8ec5f5zdLr+Ib3XwB 49nnkoOPSgJNdeLAZQZWpHPVbr8xryrpqW6YUx0mDZ6T75JHU4EfTNTDre9X8n4c55WqL +j0fg3T/17PwapLdN/xIN3NrgqMAjaayoWKll513UH5B1gv2NqIf4DoCL2KSegGi5VQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=VrZu2B6D; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7BEE7606A320; Mon, 30 Nov 2026 14:08:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=VrZu2B6D Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3EA61F0089A; Mon, 30 Nov 2026 14:08:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796047702; bh=myj3tNHu7qgFHTSrKim7+HH9REF9DfULJ9Kqg5y8zSU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=VrZu2B6DqGP8NRIidJ8NxJfJJpb+9B64zjKsb8SNG+J+DnR71aiiGlVtW5E6/jMMG wUFcpMcgXUYeDFbFMlzYyv0FNKwS/+teQEMS9L5sr6Lo2qNdPf+U0DSSh2YnhVwnCT Pgae0eQ9v8u5y0BRn8sevAk8ppMlk6Ns4p76LMNr/exi+DQUarB63fl4gDZA5IwgzA OQwVr7c7oeD/5V0yE+q0zB1T0wVyYgRqOFXPMueQjbDkhR5vcy1Ln5+JwD8L9w2tMP SF3c/CaDvB1SUW3F87B2NdQjJwmTMvTmPiDOdb82j5cvUBBKwcfsQO9lNhHofeTFyQ OAjh1x/FYqiBg== Date: Mon, 30 Nov 2026 08:08:19 -0600 From: Rob Herring To: =?utf-8?B?S3J5xaF0b2YgxIxlcm7DvQ==?= Cc: Greg Kroah-Hartman , Jiri Slaby , Krzysztof Kozlowski , Conor Dooley , Lino Sanfilippo , Matous Hybl , Miroslav Ondra , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH] dt-bindings: serial: pl011: Reference rs485.yaml Message-ID: <20261130140819.GA3839021-robh@kernel.org> References: <20261121-pl011-rs485-v1-1-0d18008f4a12@gmail.com> <20261124195705.GA3075022-robh@kernel.org> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Thu, Nov 26, 2026 at 05:26:40PM +0100, Kryštof Černý wrote: > Hello Rob, > thank you for the answer. > > On Sat, Nov 21, 2026 at 04:10:33PM +0100, Kryštof Černý wrote: > > > The amba-pl011 driver supports RS-485 and parses the generic RS-485 > > > properties with uart_get_rs485_mode(), but the binding does not allow > > > them. Reference rs485.yaml. > > > > Is supporting RS-485 really specific to the UART? Can't pretty much any > > UART support it? Whether a driver does or doesn't doesn't matter. If so, > > then serial.yaml should probably just reference rs485.yaml. > > You are right. Some hardware might not be able to support it properly, as it > could lack essential registers (you need to know when the transmission is > done to switch the direction pin), but I do not know of any. As I understand > it, these properties describe the attached transceiver and its wiring rather > than the UART itself, so they belong in serial.yaml. > > In the next version, should I then reference rs485.yaml in serial.yaml and > remove it from all of the other bindings? Yes. Rob