Received: by 2002:ab2:715a:0:b0:1fd:c064:50c with SMTP id l26csp123942lqm; Mon, 10 Jun 2024 15:11:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXdUVJx1TbLxxrjW89pSqNgJGDKXvmrtQY3snWchBp80j/8hhVmkM3Lsn1pdekhhI3FWyDLBrhTul+7CrlwolGG96g5q35raOGdI+UJyw== X-Google-Smtp-Source: AGHT+IHxcFl7hPargtE3sKJ/zgDhFV7syQ43/xqiih4kGHz4q/2fa6yHBMTEId7Z+ePtlYTOUEZj X-Received: by 2002:a17:902:ea0b:b0:1f3:266b:ea23 with SMTP id d9443c01a7336-1f6d02c06fbmr115154675ad.13.1718057481137; Mon, 10 Jun 2024 15:11:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718057481; cv=pass; d=google.com; s=arc-20160816; b=heTDC+t3OEn+pCgUYKN8j66Cjm6ayq/fVafmEFu/4zijHigq+9C+DPQzrcydV0IiO3 I4DHWwEYcf0zDtGElhdq3JQ3zu1+s4t0eeQpiTDOkpalkIM5OP/Iy1QnVKbuw0m5ACQX 8548xxJ+dF0Lex2Dsi3zrcJUwBI6pU6SDJnURQBGrVGkBRKyR4qcDMtw69Q8+GYaS05o AvAOu0Mt6pygW8xNKZ/aDcD9/CS7nGMq15ZcxADc0U0GjoAn/MUawMasypM5R4w7Qids 37ExbzeFU0qUUHXnbtMB2kSL2SjTonmnhmrZ9fLJ7CnIBW8LW7fzs4hYjEEw4ss4pUdl 9ZBA== 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=5VNNUt5SIbmdJIy+KXi3jmFCV7tJfwybRwKhBKN4Rfw=; fh=YUOWBuU81OUHGZy8z341AoV6Lv2yjxBDI6EuvxZ0UyM=; b=UDMVCQRU9y55mf3o/5cV/7qZgvS3nXcHTXRMoGVNXTvjSH2l/smZpt70fPPkMuCYrk uBnDAW4dIv6vGgbFWz8BcABOB3CM/PMSwiwoMky0tgb2qEtF6FQgtfrZblkfzbVmr1O7 PhHc++rnRXdNFE1xNTuwPuEq+6sqoGx5y1O/ZEdf2iDRyhT4c38lJzI1K6vWtkzB6l80 mgN9fz+nQGvTrH/WS00OLw+jogtrdVMtKexawNkOpKVQ+FhbMa1H3pR/4VwSHaQeV+Vf opmoQIurj6RxVf0iR0HvCaC2mmhoRkA/tVGWDFoZOMtlHbps10ovRKKTJYSqfQBJTmZU 1hmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=huEybc9Y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208974-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208974-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd7d2d41si45377665ad.315.2024.06.10.15.11.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 15:11:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208974-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=huEybc9Y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208974-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208974-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 74174B25D50 for ; Mon, 10 Jun 2024 22:01:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5150814F9C4; Mon, 10 Jun 2024 22:00:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="huEybc9Y" 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 6B0055337F; Mon, 10 Jun 2024 22:00:52 +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=1718056852; cv=none; b=eDsAjj4UwCI5H0Q72E7p5ilxFbAYEiUOtvopCjydDxxWlVKaE8KDdPvGlP1Noz5tiGFa3MrAgQGZzkUS/Xequ/Tkz5KRSSbDJaHQBBi2q4oVKCuYnDq0R7V6SNxfy6BmcXghVSMV87BoRUS1EOS6hvveMcgzB3vUblj6hGhqHNw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718056852; c=relaxed/simple; bh=4hNrFc5LQ7zPOmlhF4e5T18BjWyq+GThHayn0/NaZ8I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=e2A3br9f0Q1kxS2i1Z36i6WRY4ROghP29UlGvHbT84Q8w6k4HNZPnMFmRbxEhfanmYu9P/GBZ3KBjS9oG1QdsYhdyR742hQ1MwnLLfZfbamazEei1AqPwQSbCpoG7AojgS5oROM1sEPeSbnO1lHsKlmUXp+ZxsYfAHiZIJUYb2w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=huEybc9Y; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B717CC2BBFC; Mon, 10 Jun 2024 22:00:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718056852; bh=4hNrFc5LQ7zPOmlhF4e5T18BjWyq+GThHayn0/NaZ8I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=huEybc9YuEj0AZwnpmz5EXvHdpAREfdtqHkySmqqhzG3SNpEtBUesnoPIL6ndf4P1 UNxE7hu5V0shaT0L8hhi+YeUmp2us+aHrr3XY/CTcTBc3j+TuA4QD5MDAkK9Q0p4i6 Laij4U3VHDklXrUH8YhDxMzV2vbetKGgxts5PCtWsfxAiumelUv8f+tLnDp4Xydj8E G2c+p0kiKlssgBeLTXH0G/eFMG/1e7gm3Y2i+3Xsji4CQhdd9hjU3A2ruFzwZ8X/d4 dpOpbN8xy+GXEGdlGVFEddOdZiLLzjoF8P5dcbLawM0H1pivb57o0et6/9woy7Noo4 ADSX+cTDtdVcg== Date: Mon, 10 Jun 2024 16:00:50 -0600 From: "Rob Herring (Arm)" To: Prabhakar Cc: devicetree@vger.kernel.org, Fabrizio Castro , Lad Prabhakar , linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org, Krzysztof Kozlowski , Magnus Damm , Conor Dooley , Geert Uytterhoeven , linux-kernel@vger.kernel.org, Linus Walleij Subject: Re: [PATCH v4] dt-bindings: pinctrl: renesas: Document RZ/V2H(P) SoC Message-ID: <171805684854.3144242.13947017914816663654.robh@kernel.org> References: <20240606085133.632307-1-prabhakar.mahadev-lad.rj@bp.renesas.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: <20240606085133.632307-1-prabhakar.mahadev-lad.rj@bp.renesas.com> On Thu, 06 Jun 2024 09:51:33 +0100, Prabhakar wrote: > From: Lad Prabhakar > > Add documentation for the pin controller found on the Renesas RZ/V2H(P) > (R9A09G057) SoC. The RZ/V2H PFC varies slightly compared to the RZ/G2L > family: > - Additional bits need to be set during pinmuxing. > - The GPIO pin count is different. > > Hence, a SoC-specific compatible string, 'renesas,r9a09g057-pinctrl', is > added for the RZ/V2H(P) SoC. > > Also, add the 'renesas,output-impedance' property. The drive strength > setting on RZ/V2H(P) depends on the different power rails coming out from > the PMIC (connected via I2C). These power rails (required for drive > strength) can be 1.2V, 1.8V, or 3.3V. > > Pins are grouped into 4 groups: > > Group 1: Impedance > - 150/75/38/25 ohms (at 3.3V) > - 130/65/33/22 ohms (at 1.8V) > > Group 2: Impedance > - 50/40/33/25 ohms (at 1.8V) > > Group 3: Impedance > - 150/75/37.5/25 ohms (at 3.3V) > - 130/65/33/22 ohms (at 1.8V) > > Group 4: Impedance > - 110/55/30/20 ohms (at 1.8V) > - 150/75/38/25 ohms (at 1.2V) > > The 'renesas,output-impedance' property, as documented, can be > [0, 1, 2, 3], these correspond to register bit values that can > be set in the PFC_IOLH_mn register, which adjusts the drive > strength value and is pin-dependent. > > As power rail information may not be available very early in the boot > process, the 'renesas,output-impedance' property is added instead of > reusing the 'output-impedance-ohms' property. > > Also, allow bias-disable, bias-pull-down and bias-pull-up properties > as these can be used to configure the pins. > > Signed-off-by: Lad Prabhakar > --- > Sending just the binding patch of series [0] as reset of the patches have > been Reviewed. > > [0] https://patchwork.kernel.org/project/linux-renesas-soc/cover/20240530173857.164073-1-prabhakar.mahadev-lad.rj@bp.renesas.com/ > > v3->v4 > - Added a conditional schema for ensuring the reset length > is 2 for RZ/V2H and 3 otherwise > - Updated description for renesas,output-impedance property > - Dropped '|' > > v2->v3 > - Updated description for renesas,output-impedance property > - Updated commit description > > RFC->v2 > - Renamed renesas-rzv2h,output-impedance -> renesas,output-impedance > - Updated values for renesas,output-impedance > - Added bias properties > --- > .../pinctrl/renesas,rzg2l-pinctrl.yaml | 37 +++++++++++++++++-- > 1 file changed, 33 insertions(+), 4 deletions(-) > Reviewed-by: Rob Herring (Arm)