From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A9F31EB9E1 for ; Fri, 26 Sep 2025 02:59:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758855580; cv=none; b=nzcMcBgOXLVzrH3HtjsEWSJ+i5SJP4o/e6ihDZ4Yqrp6cfntoRpmammdglGoDsrJpsplD58a+zmElKfLWVXHB6shUv3d9x+NH5EiEQWttTZB14rO649JPFDp++WsZ4I6jzbcotr6k9aysOJ2XfvFbfCQZ2LOOX8/8eoLTcGM1UQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758855580; c=relaxed/simple; bh=l0ECngto9cM+qQ8jmcCUSAhzMScieKqkggBmP+VLjPI=; h=Date:From:To:CC:Subject:In-Reply-To:References:Message-ID: MIME-Version:Content-Type; b=mrbMZl7vDmGZfb2VOdpiOAhNVqsUCB02qQi439z2djIN9lzZZ959gEpkUXqTyxrgxN1prkESiy8ocMRpQxM6cd8ybigKTIQHl9yUpl7SJIKz3nICY2QWxqWZNsznUbYcwIsWmbgEJz6E4wro6MEi08BcadZoQ82y8jfsJ45Vlus= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kYMEIaL/; arc=none smtp.client-ip=209.85.214.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kYMEIaL/" Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-26983b5411aso12622415ad.1 for ; Thu, 25 Sep 2025 19:59:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758855578; x=1759460378; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=9DFZaTqWY2S2tGyXXJLRz+UlH7utbYQxFHAmg/aDwJo=; b=kYMEIaL/xFdW7ByzdPAGM19uPyr2VedoOgQpGEzFni7j0kw1S053MImDWJoRELagCu 2IHQulbaeQ7yCnPNtDiHVLoxGG0TyC83FpLaqroyL+hQ7J/fNkL+41jmqqWUbCSLkWNr ErQ+zMKtvBjorZVuisGz++sA2E5TMeHBVyQ9xxUEHh1jLDqAaEJvoOdLg3oInoOlfAvs yyYTTXVsgmdGoSxwp/pr7BkxfffUBL/Quj97yWkfrla2KSZXs+cMMKNMmDufshZzcyep ELIlh/sGq9ZwMj6gsAOXeFrSZFLqiu/2tUdL+p82jh4LvMbfadnBSXOgUdcOGq17aYN+ 3B9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758855578; x=1759460378; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9DFZaTqWY2S2tGyXXJLRz+UlH7utbYQxFHAmg/aDwJo=; b=GinbH27nk1ua/GVj5LlgDXvbBD/MtVdomyAlpiorzC2iJVq7I2gWOHrvZfxoadD+gl 7X3PEO5f9ReBITty9JqZxFrhnnamYgdRP0o/lTnkmfgRO38xKjDiMSfPLbfQCHeY4/vg SM031MVroTZe23bFycAtIGW12/IzF4zRSsOf4yghzAB2P/1EwXAVzbe0vFMRBf8t+WwL EZoJ+JPFB55Lj4olX6ML/wTtNJQV6VdQwbNMeh+/mMh6hnqPceG+UIhD2VEyIYm/Mmqi y2dY7E7BkOOc/kUupnVf3uhGJGk2Tsl7b3v6bETOt07PNFDdCGPmXN4HfIVEzTp/6sUN X7rQ== X-Gm-Message-State: AOJu0YxnLqLt1qe1H8cgQCARDFOH3YaKLclY6CNnj9LBskUFVSb+/Ynx fA1CQH9LddPaWEonNUt3lKc0FWNgYSX8pm+S+tEsy5RwJhPwyPybCjDU X-Gm-Gg: ASbGncsAHEn7i3Hs/uJqTHsCIMCXSWmMGeg8ogFMKumO8e2Lrll9y3kGS4zG0oHrW4y dF6MBaSWXHp6zSJi8MnqqMIQ+5EtyJZkHsuE9+cdGs7BgZUog5JkvgPAp5WtnoJPLLylDmJ0imI ISvQJyMC6znrE0uQmeemrepzKknXEKQBIMkiff3lXpBovfIR3k8sqgRuGFMaydYMB+19odnWS2y GKEaZ2OPYp3nmefl0yPeasvJIdo6yP+7CHB/c67mGSgfs6kXQyA0byYduj0yA7sPqFO3HrFCPnX valgDkDwXuO0dGU86+gTqV3TQ2NiyAJpL9krE/vr4XUN7D2T/QUuyczAQM0V+nldHcD3b7+E1Za hFb5oTwnH0KIrp/vbd2MQaICjkrz8aKBo4A== X-Google-Smtp-Source: AGHT+IF1KXe4IB93OQXtPcbKbci9ToFOHTHIp6Wzd2jpuNLiQ0xSjXqxp5GIX7bPJ7vagp05lKkQwQ== X-Received: by 2002:a17:903:4b04:b0:271:479d:3de2 with SMTP id d9443c01a7336-27ed4a1a2cdmr53853935ad.13.1758855578412; Thu, 25 Sep 2025 19:59:38 -0700 (PDT) Received: from ehlo.thunderbird.net ([2804:18:161:d250:a5b8:b662:f3c3:afe5]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3341bd90587sm7255414a91.6.2025.09.25.19.59.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Sep 2025 19:59:38 -0700 (PDT) Date: Thu, 25 Sep 2025 23:19:09 -0300 From: =?ISO-8859-1?Q?Eric_Gon=E7alves?= To: Konrad Dybcio , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/5] arm64: dts: qcom: r0q: enable max77705 PMIC User-Agent: Thunderbird for Android In-Reply-To: <53b1a622-3afc-4fd9-98b1-3c166f563ad0@oss.qualcomm.com> References: <20250920014637.38175-1-ghatto404@gmail.com> <20250920014637.38175-4-ghatto404@gmail.com> <53b1a622-3afc-4fd9-98b1-3c166f563ad0@oss.qualcomm.com> Message-ID: Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On September 25, 2025 10:06:53 AM GMT-03:00, Konrad Dybcio wrote: >On 9/20/25 3:46 AM, Eric Gon=C3=A7alves wrote: >> The Samsung Galaxy S22 uses max77705 as its charger, fuelgauge and hapt= ic >> PMIC, enable the fuelgauge and charger for now=2E >>=20 >> Signed-off-by: Eric Gon=C3=A7alves >> --- > >[=2E=2E=2E] > >> +&i2c5 { >> + status =3D "okay"; >> + >> + max77705_charger: charger@69 { >> + compatible =3D "maxim,max77705-charger"; >> + reg =3D <0x69>; > >Please use tabs consistently Sure > >> + monitored-battery =3D <&battery>; >> + interrupt-parent =3D <&tlmm>; >> + interrupts =3D <5 IRQ_TYPE_LEVEL_LOW>; > >interrupts-extended =3D <&tlmm 5 IRQ=2E=2E=2E>, here and below why extended? > >> + }; >> + >> + fuel-gauge@36 { >> + reg =3D <0x36>; > >sorting by unit address is welcome Sure > >> + compatible =3D "maxim,max77705-battery"; >> + power-supplies =3D <&max77705_charger>; >> + interrupt-parent =3D <&tlmm>; >> + interrupts =3D <5 IRQ_TYPE_LEVEL_LOW>; >> + }; > >These nodes should be children of "maxim,max77705" >(see drivers/mfd/max77705=2Ec) What do you mean by this? I looked at the driver,=20 should I add the pmic@66 node and put the units inside of it? Because starqltechn doesn't do that and places them outside=2E Also, by adding the pmic@66 node it expects to have led/haptics nodes as well=2E > >Konrad