Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1054141lqo; Fri, 17 May 2024 09:17:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUR4Z9rj13A7LO7XTJJCgMmj6JdldyE0a2BNn8Bg25TPSBj3NBFEaTGNaEoORmhzH+5+SmdDe9z2+py1K9ozgclOAejRmcBUfl+DO1Ncg== X-Google-Smtp-Source: AGHT+IFt/p1KQGi0EkG7a6d3XSzw2tvdxh2pzd59kdGgx5ovp722hWn2KT6w/R0hdcekM/LjddRg X-Received: by 2002:a50:f68c:0:b0:572:7b08:d49d with SMTP id 4fb4d7f45d1cf-5734d6b4088mr12429358a12.41.1715962620579; Fri, 17 May 2024 09:17:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715962620; cv=pass; d=google.com; s=arc-20160816; b=kJrQBwFeclzyQkWbwh+SF7K4NOcU2Ti48JCLZptOx92IISafxCRvj3fPwGCR4kMtuu yjgcJFZmjAirxnD4X4PZNULsirEEoPjd0o96vrMvWvEYCAG/54Dv3Mj1lDctJ5iwCABJ gskbCCXWrd/AxkEwNGQw9xkakU5+3L3ZIJtJ9ap5VOf3jiEtUila+JFjCWnZ2L1rTjzC 5RhwPBW9rFjpLZdsN/Pxu5bc9cKmkMYwGC7ITFaJY70QytWh2cRGXGqxDQ21OxNrgzC6 bRo7vz6Y7tZrVlxSR7nsYSiqlCU1yQFbLxKRqHDMrBOaWl7ZhZI/BEvtMn6pzHqtZdr4 mxwA== 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=SMexrxP3xw/DGTJ0SLtq2do7s4Fru4VcRGeuk/bb52M=; fh=SEL+TpyJuATZ3obzLLdJKPR/Ty84u9PBS7kJ5dmd/rs=; b=o0PIGiZHmEBJKmDcUV5d6BqoZvKxIyuOMnMvznOTe8HLpk/lxP4hU17LYkL4NV7ZVy T7WrrVX46DjmajtVhscnUthBniz1RlakgfGknUpFUiA1CKQSSCYRcV1CItsO/6IXCURP eqfdDbD8h5Objfij1XnAd6tCpLhBRHmbs7sxpMpziMK+JGyhGIuhmjQgX1XpuZW3hx8W 8k5VKB/fOKjE/EKQt30Qkmj65QO7BWOxGmhSqVN4xWJaz3D6VkQpzjjXYiIkUysHbcTv 1/unWVS70m9J62RlQyRFIPa2RqtaFLahxK+w8+wMbLIxtmOERmVYDkc7fcqg/JXD0QoT BltQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aO3rRbTs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182340-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182340-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 4fb4d7f45d1cf-5733c378f32si10014926a12.670.2024.05.17.09.17.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 09:17:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182340-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=aO3rRbTs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182340-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182340-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 4E72E1F25009 for ; Fri, 17 May 2024 16:17:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28C6F12FB2F; Fri, 17 May 2024 16:16:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aO3rRbTs" 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 4AA1812F5A7; Fri, 17 May 2024 16:16:50 +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=1715962611; cv=none; b=tMd/WJuEmLrruorLlKU8lxFjObz81CMNE1qAWB1OwtkiZt3UqaqJ9S211hrFsqAbucQIP36yNN+n0DCdBlgtY1YNlis6HH/zX9L8XJbQQjbp56stRXJj+8CCB1VE1pfe0zYI7xtpeCJonCHH2yuquNHWwYPXjQarAhNy/NtButg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715962611; c=relaxed/simple; bh=sYIW6xiRFDKpO0E7qs68ZN7uyOIsz2AfW+6kxgmPMW4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=e67F7o6ue7QN4bAcn5kwxl+cS9tYDBTmBHKk9/8AU4d2R4nncjQCX8bjPvrytWH+f/pj0VDZpG+AG21Q12LKWSlv/4s3D9cNiRhMWyl1OnCd5w+zD/cG8BEzcQk4mNqCu4k4+sWv7SL5YI2HTo5CsQljizYKFrjmg19izZqNF+s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aO3rRbTs; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B1B40C2BD10; Fri, 17 May 2024 16:16:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715962610; bh=sYIW6xiRFDKpO0E7qs68ZN7uyOIsz2AfW+6kxgmPMW4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aO3rRbTsGNqJTNoEOosC7U8ZPlbZsUJn4QsQ0FYLQ4lV+L6hIZ8E7tZGEmOgCp+3S nx5sfSd6N3BjMVdy8MVnQPR0Xa1o1RwD8Msu53pdvMJOtYpiXn3JzCckwCricC3iy7 E0GSeOILvH+9HAhs/mkdsvTXPBNUv/4ZiO3XV818Pvtrtfu8jepDNVg/QNtYf7ufMy 3KZr6h6F9eozJmMX5qAJn0xS7maVdDSeAt7Uz1lSbEUS4Y5gcRfRDEGmqz/XiKKceL MqKg/px5GKaE9M00BlqwYqo0RkDxgL0B7fobm1ncnMS1Wd/ztFdun0zeKujKjVgiyZ pY8V39DEjDnMg== Date: Fri, 17 May 2024 17:16:45 +0100 From: Conor Dooley To: Hal Feng Cc: Rob Herring , Krzysztof Kozlowski , Greg Kroah-Hartman , Jiri Slaby , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Philipp Zabel , Conor Dooley , Palmer Dabbelt , Paul Walmsley , Albert Ou , Emil Renner Berthing , devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 1/3] dt-bindings: serial: snps-dw-apb-uart: Add one more reset signal for StarFive JH7110 SoC Message-ID: <20240517-lion-supplier-f4d15b0edcff@spud> References: <20240517061713.95803-1-hal.feng@starfivetech.com> <20240517061713.95803-2-hal.feng@starfivetech.com> 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="ET0G0aOiXXDFM+f4" Content-Disposition: inline In-Reply-To: <20240517061713.95803-2-hal.feng@starfivetech.com> --ET0G0aOiXXDFM+f4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 17, 2024 at 02:17:11PM +0800, Hal Feng wrote: > The UART of StarFive JH7110 has two reset signals. > Both of them are necessary for JH7110 to initialize UART. >=20 > Signed-off-by: Hal Feng > --- > .../bindings/serial/snps-dw-apb-uart.yaml | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.ya= ml b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml > index 1001d2a6ace8..a6396c5cbfb1 100644 > --- a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml > +++ b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml > @@ -13,6 +13,16 @@ allOf: > - $ref: serial.yaml# > - $ref: rs485.yaml# > =20 > + - if: > + properties: > + compatible: > + contains: > + const: starfive,jh7110-uart > + then: > + properties: > + resets: > + minItems: 2 else: properties: resets: maxItems: 1 Thanks, Conor. > + > properties: > compatible: > oneOf: > @@ -48,6 +58,7 @@ properties: > - enum: > - starfive,jh7100-hsuart > - starfive,jh7100-uart > + - starfive,jh7110-uart > - const: snps,dw-apb-uart > - const: snps,dw-apb-uart > =20 > @@ -82,7 +93,8 @@ properties: > type: boolean > =20 > resets: > - maxItems: 1 > + minItems: 1 > + maxItems: 2 > =20 > reg-shift: true > =20 > --=20 > 2.43.2 >=20 >=20 > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv --ET0G0aOiXXDFM+f4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZkeC7QAKCRB4tDGHoIJi 0vZ0AP0SDG3gdkl/SROzsnRuQ3RQz0FByypwdFgIWR36PF1aywD/fUifiJN9EkJS DWNaC36x9nDD0qUF9URCjGhdPH1TMws= =KlsG -----END PGP SIGNATURE----- --ET0G0aOiXXDFM+f4--