From mboxrd@z Thu Jan 1 00:00:00 1970 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 C84B439A7E1; Wed, 15 Apr 2026 07:18:21 +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=1776237501; cv=none; b=br7Vbj3GWMnnZMf94kgblsMzYPNzl7FGaX2cXyaSJ+4u1vWQBbZUJFB/ev9L1KIGfzKipZQeTOhou4zNDHfC0mSecrUF/PCA9au9ox7zVvnyjO++/d+CVoUpnD38iQd9cz2LmZn68tGLWqS+FzWIa2CvbZtGLfC7Om19ac9fKQw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776237501; c=relaxed/simple; bh=QCKrkPf03ChOxKQ5AtqRnMNpAAHo6qRr84XRMqp9+jI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hP6iSFCipn5yFDQEHGLh3z7rLor5Ro8NAo50wAFGDXjsaW+/gBVdbQOBEy5SKnIYZOtAg9/mHY8OZvaofxFSzkXCbu8cQ703OQzwYXo8fSk3cCRoBPdXc7znWInRPGS+Q/2tvIgv59koPqTEP7RdYVgrq2rL35sge5BLEqkVw+0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GPrK9zRx; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GPrK9zRx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13CE5C2BCB0; Wed, 15 Apr 2026 07:18:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776237501; bh=QCKrkPf03ChOxKQ5AtqRnMNpAAHo6qRr84XRMqp9+jI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GPrK9zRxYJtu4WlDxyoyuUA0dAuxfn3Yzvq2bLgz3lIz2uK5ktDv35XvH2FQsgsBf 7oJzkVxrCpnIsbydA4E5Z9I3jZZKndIavoNsoArMD5oDipiiDqUrikDboBCimG0sD5 m2b4Sx2bxiQATVgBOZ5NOqJYMwHm5wh0PEj6eemOs/2nlqbwMLHUvHnZVzX3UrdzXi H+m+YDtBGiN7LFdsobBFtNjRvQb/xryS5Np1smsmpwrcJUnO40R2wtFwhQLKA+2XVu XeI/zPCM2Lj1jLU3TeY0pWn6Vvv5JglKGoLAJhhBTUjKDvqnKo5Vw6QlB4ML4hYRdy cjrp2nEraP0Sw== Date: Wed, 15 Apr 2026 09:18:19 +0200 From: Krzysztof Kozlowski To: Kaustabh Chakraborty Cc: Lee Jones , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , MyungJoo Ham , Chanwoo Choi , Sebastian Reichel , =?utf-8?B?QW5kcsOp?= Draszik , Alexandre Belloni , Jonathan Corbet , Shuah Khan , Nam Tran , =?utf-8?B?xYF1a2FzeiBMZWJpZWR6acWEc2tp?= , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-rtc@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v4 04/13] dt-bindings: power: supply: document Samsung S2M series PMIC charger device Message-ID: <20260415-swinging-radical-junglefowl-85dcf7@quoll> References: <20260414-s2mu005-pmic-v4-0-7fe7480577e6@disroot.org> <20260414-s2mu005-pmic-v4-4-7fe7480577e6@disroot.org> 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-Disposition: inline In-Reply-To: <20260414-s2mu005-pmic-v4-4-7fe7480577e6@disroot.org> On Tue, Apr 14, 2026 at 12:02:56PM +0530, Kaustabh Chakraborty wrote: > +description: | > + The Samsung S2M series PMIC battery charger manages power interfacing > + of the USB port. It may supply power, as done in USB OTG operation > + mode, or it may accept power and redirect it to the battery fuelgauge > + for charging. > + > + This is a part of device tree bindings for S2M and S5M family of Power > + Management IC (PMIC). > + > + See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for > + additional information and example. > + > +allOf: > + - $ref: power-supply.yaml# > + > +properties: > + compatible: > + enum: > + - samsung,s2mu005-charger > + > + port: > + $ref: /schemas/graph.yaml#/properties/port That port is internal part of the device, thus should be dropped which leaves you with only one property - monitored battery - and therefore fold the node into the parent node. Best regards, Krzysztof