Linux Input/HID development
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Dzmitry Sankouski <dsankouski@gmail.com>
Cc: Sebastian Reichel <sre@kernel.org>,
	Chanwoo Choi <cw00.choi@samsung.com>, Lee Jones <lee@kernel.org>,
	Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Pavel Machek <pavel@ucw.cz>, Hans de Goede <hdegoede@redhat.com>,
	Marek Szyprowski <m.szyprowski@samsung.com>,
	Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>,
	Purism Kernel Team <kernel@puri.sm>,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, linux-input@vger.kernel.org,
	linux-leds@vger.kernel.org
Subject: Re: [PATCH v10 3/8] dt-bindings: mfd: add maxim,max77705
Date: Thu, 5 Dec 2024 08:54:13 +0100	[thread overview]
Message-ID: <55f32164-f504-4409-8ce2-6462b833da89@kernel.org> (raw)
In-Reply-To: <hjrxt3qkzzpda2uqazdse3h263ixb4onezyij4xcgezpaaihqk@ijln25sdyzfr>

On 05/12/2024 08:48, Krzysztof Kozlowski wrote:
>> +        patternProperties:
>> +          "^led@[0-3]$":
>> +            type: object
>> +            $ref: /schemas/leds/common.yaml#
>> +            unevaluatedProperties: false
>> +
>> +            properties:
>> +              reg:
>> +                maxItems: 1
>> +
>> +            required:
>> +              - reg
>> +
>> +    required:
>> +      - compatible
>> +
>> +patternProperties:
>> +  "^fuel-gauge@[0-9a-f]+$":
> 
> 
> How unit address appeared here? It was absolutely never reviewed. This
> is significant change, so drop the review tag.
> 
> It's also a no, drop unit address.

To explain more:
In the few Maxim PMIC/MUIC charger designs known to me, the fuel gauge
is a separate device. In all implementations it is even on separate bus,
although does not have to. You claim that this is not a separate device
and you even claim that this *MUST* be on the same bus.

Both claims sound just wrong, IMO. This needs explanation. It seems you
develop bindings just to match your drivers and that is not the correct
process. Bindings must match the hardware, not your driver architecture.


Best regards,
Krzysztof

  reply	other threads:[~2024-12-05  7:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-04 20:09 [PATCH v10 0/8] Add support for Maxim Integrated MAX77705 PMIC Dzmitry Sankouski
2024-12-04 20:09 ` [PATCH v10 1/8] power: supply: add undervoltage health status property Dzmitry Sankouski
2024-12-04 20:09 ` [PATCH v10 2/8] dt-bindings: power: supply: max17042: add max77705 support Dzmitry Sankouski
2024-12-04 20:09 ` [PATCH v10 3/8] dt-bindings: mfd: add maxim,max77705 Dzmitry Sankouski
2024-12-04 21:30   ` Rob Herring (Arm)
2024-12-04 21:42     ` Dzmitry Sankouski
2024-12-05  7:48   ` Krzysztof Kozlowski
2024-12-05  7:54     ` Krzysztof Kozlowski [this message]
2024-12-04 20:09 ` [PATCH v10 4/8] power: supply: max17042: add max77705 fuel gauge support Dzmitry Sankouski
2024-12-04 20:09 ` [PATCH v10 5/8] mfd: Add new driver for MAX77705 PMIC Dzmitry Sankouski
2024-12-04 20:09 ` [PATCH v10 6/8] input: max77693: add max77705 haptic support Dzmitry Sankouski
2024-12-04 20:09 ` [PATCH v10 7/8] power: supply: max77705: Add charger driver for Maxim 77705 Dzmitry Sankouski
2024-12-04 21:59   ` Christophe JAILLET
2024-12-04 20:09 ` [PATCH v10 8/8] leds: max77705: Add LEDs support Dzmitry Sankouski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55f32164-f504-4409-8ce2-6462b833da89@kernel.org \
    --to=krzk@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=cw00.choi@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=dsankouski@gmail.com \
    --cc=hdegoede@redhat.com \
    --cc=kernel@puri.sm \
    --cc=lee@kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=pavel@ucw.cz \
    --cc=robh@kernel.org \
    --cc=sebastian.krzyszkowiak@puri.sm \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox