Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp532012rdb; Mon, 29 Jan 2024 09:30:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IH/QRZYmYbpG2bw8OmgoxjOiLqKcu/L9mIN+09FUAPfzSVC+X/gs8NH4PrhJljdS0haXouo X-Received: by 2002:a17:906:3c16:b0:a35:f73e:1316 with SMTP id h22-20020a1709063c1600b00a35f73e1316mr906619ejg.67.1706549448199; Mon, 29 Jan 2024 09:30:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706549448; cv=pass; d=google.com; s=arc-20160816; b=fc1Cf6jBZeWcrFgMGizHOccmM21UXudMjvsvSzOGDe1PUcwERrpaS0qbhL5KtsgVIX ozuZblE/sXV0RrledbAmEv5QcRO0SuXxsjZGCPPwhv9uzQ3Yhkpl376q7HNDoKf3NcRI nvcuiCWTcaJEds6URWa60aVlbhrzVPVwKXRBwVrM0DlxBJs1MFhz4atg5/KJh0rLKEkO I+iKyDy74HscMtNBd26sMYEdhkfEvd3tIspfr5saX6FXr0rOa7c8dS/1Sjme/XuqX2ZK +SOyDdn36yQ5oz0tPqZg2x+aDMl2H2K4q2EdQb3Y0oLgN/un25a5gQEiDR8rhOEnBn+p p8sg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SIkxvn58cFSwkfs8vCGtPLxhrtNc6Ue9Ey24VfzwgfU=; fh=cIzwc5L23Q21hU70YqqqWhISdrp4qFj9TjxN5lFk6Kk=; b=MEkIAq6hcAy55pKuoMBx11oMNPMDaLxKYXY/zkq7i3NTwCTBsytpmVti6tFP735Sqn a00dCfRXGrWPEOCRV3HMRt6zztHUkj8VLgImmBwFrFsUYNxDXj4Z/g1BiB+L7aXfKxvc 8SE3p2GR+Y/xeKYNQZsDAbVmB+x4J0mEsxzwCE6oJsnMg9D0r8yEtbSX9ygbPxuddrDU A4/FomS8s4goprehR5qjm2c0sC9JIqB92PCOIgAKv2KElwca0D0aPUgSMsCT3MxiEIPI vQ6ajgeseUtxy++r7QgCifm7nxUJwQaAzzs+XrXUTUYFYpRjWTJRAuK2HPo2T18E9gRM T4Cg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OVENRRMp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-43197-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43197-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s13-20020a170906168d00b00a35a597904fsi1385166ejd.904.2024.01.29.09.30.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 09:30:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43197-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OVENRRMp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-43197-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43197-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id F0E9B1F24D13 for ; Mon, 29 Jan 2024 17:30:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5023D15AAC7; Mon, 29 Jan 2024 17:22:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OVENRRMp" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7713D6166D; Mon, 29 Jan 2024 17:22:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706548933; cv=none; b=ALUr1ofmz5KMRk+CV1rjND7kvR8mZF//EL8BBM0fg6uCt6yisuBeEaUvpePX6oQAK8U+qz0NAyflGqPklnN9d+8VdCc3kAywlonccbgwu6OePhAOs7xeML7FM6C5pXG/gdBETTMZ+J4ThhbbqmnJBW5s01IEoIvxPQWgh8rf944= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706548933; c=relaxed/simple; bh=SIkxvn58cFSwkfs8vCGtPLxhrtNc6Ue9Ey24VfzwgfU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=J2rNLF9RrQ1vMxkkemP2ei1f4XKo+KaKUDBzUBfdqXK2BPtUSTWoKtNlX6pE3+N4hbkY47jnTvQmvHWW19XmhPPM7N5UgbhD3nu25Sv3DDI5ytwOFYakb9L46hC2gBsWeRI7zJro3HErOd37LLh3ZH5kViW50EGaUnQpSaAP35w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OVENRRMp; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F206CC433C7; Mon, 29 Jan 2024 17:22:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706548933; bh=SIkxvn58cFSwkfs8vCGtPLxhrtNc6Ue9Ey24VfzwgfU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OVENRRMpfoGyLQ+YOTFshGOj5XxCpLZQGIehYB35ZQkC3ZrP7PZaDmimeUEA5TuJW BPgnbSU3uNxAw+2416gvXtIx3ObUlk1xz0cYHNuUdC8tIC3r/qTsKBAr37U6T5GRSC 4LPvjc013T6P63HbptHK9Xu3w+6RdFKjUnmnZbLyhN77DH05CCM57l6c8uv+ENpUJ4 Nt2A5fApwfvoDb6EnSTy5Ah6Y8isNveLs7+XjWWzM3jQna8+jMw8ngy9fd6s2X6o2T MO/q4rG20K7+/8zNiipDx0VdOf4A+FYHubI5MtC+y+EyzwI5jXqdsF9eErKuAvoCQi wcXpvmwvqG5hQ== Date: Mon, 29 Jan 2024 17:22:07 +0000 From: Conor Dooley To: Quentin Schulz Cc: Farouk Bouabid , Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Rob Herring , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH v4 3/6] dt-bindings: serial: add binding for rs485 rx-enable state when rs485 is disabled Message-ID: <20240129-vagrantly-unaired-4224a5febb01@spud> References: <20240126-dev-rx-enable-v4-0-45aaf4d96328@theobroma-systems.com> <20240126-dev-rx-enable-v4-3-45aaf4d96328@theobroma-systems.com> <20240128-vagabond-mutilator-cf8dc6ac8a41@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IBCjK9MpjSUCbqHB" Content-Disposition: inline In-Reply-To: --IBCjK9MpjSUCbqHB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 29, 2024 at 01:26:51PM +0100, Quentin Schulz wrote: > Hi Conor, >=20 > On 1/28/24 18:38, Conor Dooley wrote: > > On Fri, Jan 26, 2024 at 03:55:12PM +0100, Farouk Bouabid wrote: > > > RS485 can have a receiver-enable gpio (rx-enable-gpios). When rs485 is > > > enabled, this gpio, if provided, must be driven active while receivin= g. > > > However when RS485 is disabled this gpio should not have an undefined > > > state. In that case, as DE and RE pins can be connected both to this = gpio, > > > if its state is not properly defined, can cause unexpected transceiver > > > behavior. > > > This binding depend on rx-enable-gpios to be implemented. > >=20 > > Why do you need a dedicated property for this when there exists a device > > specific compatible for the uart on both of the affected rockchip > > systems? > >=20 >=20 > This has nothing to do with Rockchip's IP but the HW design of our > carrierboard, so using the "rockchip,px30-uart" for that (which I assume = is > what was suggested here?) is incorrect since it'll also apply to PX30, > RK3399 and RK3588-based Q7 SoCs we manufacture. >=20 > Did I understand the suggestion correctly? Yes you did. That explanation for not being able to use the compatibles makes sense. However, I can't give you an ack, because reading the commit message gives me the same feeling as looking at this photo: https://www.reddit.com/r/pics/comments/f8jyuz/nothing_in_this_image_is_iden= tifiable/ Sorry, Conor. --IBCjK9MpjSUCbqHB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZbfevwAKCRB4tDGHoIJi 0pCUAP9U44UkidVfIFyP9IjWHAPwttaCmGToXZjCv2rwlhJiVwEA1GULoLBIRwGa 1D79uhaA8T7azreJ91+tdhZ26EA4TQQ= =Ye3s -----END PGP SIGNATURE----- --IBCjK9MpjSUCbqHB--