Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp553495lqm; Wed, 1 May 2024 08:37:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCURa64aDkPhBlXInszIZk1BAqUJxPvV/RJUKk88IbCnTsxh5H+xB/X9hXCbu1XdV8wd5UwBHtiIvvSvUqRyWXCEjLwrpmnmUkikxyd0IQ== X-Google-Smtp-Source: AGHT+IESvnVU67xkgHEahDDi1m9k6r7daStTcxNwjn2xtlkWUdCjuaPf3F/SrgIJX6vkp2kWfoub X-Received: by 2002:ac8:5801:0:b0:439:a5b2:5e94 with SMTP id g1-20020ac85801000000b00439a5b25e94mr2408409qtg.13.1714577877682; Wed, 01 May 2024 08:37:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714577877; cv=pass; d=google.com; s=arc-20160816; b=uMpHo3oDU7oi+KccfYRa6BSns6EUtIeESJDaJnoYY0EPgV3N6blGL8u5wFJg/g8sas AKxbTd2Zkak/mhN/0xBNRtruMfez2UaYoDdrekGMmjN9/A9fPvJExdgW/mq7B/Q0CIAb S8adh1tsDXE6ennDXYk+X/Dl2JuEcEjKIb78s+792MitvF9CQUTtPQNlyN+AiwTPZPOz h0mD8RDinU1fIgE0AtB6tJ1P0esHe/CSEvR+UcDgu18pYIXgxCr0KIhFbbgnjImxdlti /jVtdgobPNjx9eVUmnNGavwWxFw2m7mwp3uY4Z1RcSU2df12VKEp/BBVHchHNW+W9E7K 2Asw== 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=3xw8KeANStZLihYpP+LC4ZRJixvC84NaFD6HshaJxPc=; fh=7tlG7HpOG9nVJc5Tgnkw+wF5E9P4dfMQTUAIdux3ILc=; b=Gc4P4CNIcVtbDYpAxj/53/RgV9g6eHPGJYdLf1LMWNrpMEykWNuqxuzn1TE/YGXDL7 wDQZVcICYWsW7hRrm1UPCzRlze46hPA6nJ35lgly/OC91fEekvZ2tU6ucbUG0/oDiySi kN5t2Kz78gGmNSZGPuCYrPhZLtU0t5wJ90yHLsrH1OIz/AKv7XHPcCeofxw8FuwcaEof rbRo67rssYYpvkW2Y+frnksNeHb7VgsPA7bZstkoNB6MG/y19FOhEORdqEhGokWAAfrt aMZJtKN6z4mvE9K0/D3oIUx34cCHpIRVFy/GlxH/SgmS0ZZNe+zCx2+qPmeaIZthVV+s k46A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nQRo45x6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-165499-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id cm19-20020a05622a251300b00439df8fa2a2si22097369qtb.652.2024.05.01.08.37.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 08:37:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165499-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nQRo45x6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-165499-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165499-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 509CD1C2088E for ; Wed, 1 May 2024 15:37:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C45DC2FD; Wed, 1 May 2024 15:37:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nQRo45x6" 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 96EEB12D76E; Wed, 1 May 2024 15:37:51 +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=1714577871; cv=none; b=dSoPOzycZsjC520Fh9GL3+ASkma3Dz0fG0zjpEziRt/QTeaU61/qMCXN7gi0cuV55Zqne7uKOxmGm9x0Wq+1dPQZoZv4/SdftfWdlkGxhkf6wk6T9ZAb2xZDlEqwjdB67gKNL+NIuySe13abq/GRsAHIE4as2drhJgc/V9Xo4wM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714577871; c=relaxed/simple; bh=tOaXeYboyg42eCPqOMwORm62P596gWjbt6g51zfe0Vc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rusBVnOAJn7TLFZSmNP4+u9Z0wSPB+dUosIcldYNLzAzjCTGdHv0WtUMbab+BHBKq81yFWCZZTkdu/0nLGBMrLi1rFou78tborMkLr0HgDc15/tNf5I7LrD3kCDy2hb8WkJP8S6SW3eWwu0BkUSQmB0QP8EarSeCIS5PgbkJoDg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nQRo45x6; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D043C072AA; Wed, 1 May 2024 15:37:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714577871; bh=tOaXeYboyg42eCPqOMwORm62P596gWjbt6g51zfe0Vc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nQRo45x6cv1XiZVauPVHrKv0tMy1MzUFsbyTNl1CZlAdqI42DWLtymOOv4AJvNvsa PnbUiil5j3X15lAmFo/7elGuJcr2ajnhDlrJNvH9fGPavZMnj7yz1uaNbyiJXgzia1 B5SVlYxOXbBxyJFW2aoBftzdWN6dppGsVIZ6ffX2+Ymb2g/jrj0pjNHguV0KhvlvBy uZjLYorjD+GfHoa4qBSYq5ZZULSjLrvOhhY98/8tCU+4/y4266k3m5qK3URa3WD8qn 2KMw5sn+yaQ3xFoHHMEdC7oNcAocEPYe7X7hyZKeIkjYKCQK4ZVyS7es7gYfjEILsL 3a7Bqp4ohEmUA== Date: Wed, 1 May 2024 16:37:47 +0100 From: Conor Dooley To: linux-riscv@lists.infradead.org Cc: Conor Dooley , Daire McNamara , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] riscv: dts: microchip: add pac1934 power-monitor to icicle Message-ID: <20240501-throwing-squeegee-7c3697167309@spud> References: <20240501-spearman-primary-17df3c21c770@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="+MZcxOM3iSq3hzNf" Content-Disposition: inline In-Reply-To: <20240501-spearman-primary-17df3c21c770@spud> --+MZcxOM3iSq3hzNf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 01, 2024 at 04:36:31PM +0100, Conor Dooley wrote: > From: Conor Dooley >=20 > The binding for this landed in v6.9, add the description. In the > off-chance that there were people carrying local patches for this based > on the driver shipped on the Microchip website (or vendor kernel) both > the binding and sysfs filenames changed during upstreaming. >=20 > Signed-off-by: Conor Dooley > --- > CC: Conor Dooley > CC: Daire McNamara > CC: Rob Herring > CC: Krzysztof Kozlowski > CC: linux-riscv@lists.infradead.org > CC: devicetree@vger.kernel.org > CC: linux-kernel@vger.kernel.org I thought I send this out last week, but I could not find the patch on either lore or patchwork when I went to apply it today, so I must not have... > --- > .../boot/dts/microchip/mpfs-icicle-kit.dts | 32 +++++++++++++++++++ > 1 file changed, 32 insertions(+) >=20 > diff --git a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts b/arch/ris= cv/boot/dts/microchip/mpfs-icicle-kit.dts > index 222a39d90f85..f80df225f72b 100644 > --- a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts > +++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts > @@ -100,6 +100,38 @@ &i2c0 { > =20 > &i2c1 { > status =3D "okay"; > + > + power-monitor@10 { > + compatible =3D "microchip,pac1934"; > + reg =3D <0x10>; > + > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + channel@1 { > + reg =3D <0x1>; > + shunt-resistor-micro-ohms =3D <10000>; > + label =3D "VDDREG"; > + }; > + > + channel@2 { > + reg =3D <0x2>; > + shunt-resistor-micro-ohms =3D <10000>; > + label =3D "VDDA25"; > + }; > + > + channel@3 { > + reg =3D <0x3>; > + shunt-resistor-micro-ohms =3D <10000>; > + label =3D "VDD25"; > + }; > + > + channel@4 { > + reg =3D <0x4>; > + shunt-resistor-micro-ohms =3D <10000>; > + label =3D "VDDA_REG"; > + }; > + }; > }; > =20 > &i2c2 { > --=20 > 2.43.0 >=20 --+MZcxOM3iSq3hzNf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZjJhywAKCRB4tDGHoIJi 0vfCAQDUQJl/9kA+o/1f2k4AfVeR23NVv5bpvBhPTJlsCaqglgD/UwU8NzXpVJ/v GvE592tD3NfALiCT5CbMseoQWp0xugY= =iZ82 -----END PGP SIGNATURE----- --+MZcxOM3iSq3hzNf--