Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp515598lqj; Sun, 2 Jun 2024 08:52:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWk7Ku/ljfKshjfwZnhmRVg+9W6DzKgl2OIXykwYyAKFutIg5POUK7AK9hU9b7EhRVVanzhAdaBx4RcOU5U6/veCYdHu4Odg99oGe08jA== X-Google-Smtp-Source: AGHT+IHYAAE4DNDbfAxF0dAZOLcb0yyBgk7Cr1SZ1RuIXg9pDj6BqlrG5sq8bsJxj9aPPN6YXASX X-Received: by 2002:a9d:6b01:0:b0:6f9:6fd:8453 with SMTP id 46e09a7af769-6f911f35f30mr8100034a34.15.1717343557516; Sun, 02 Jun 2024 08:52:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717343557; cv=pass; d=google.com; s=arc-20160816; b=gRQc832Jx0rTp9G1+ZMyKKWTKVRZAreeKfLrqN1uKaqc8b2ft7E7hv3VqQfCo4s41H PDxOC0GRoEsge4J8qNSywU634cMmjZFnBiDESEhzLSwyuLRJ9TLaAhL2s8lUcU/+GEJT iw6gcpCEoiila0PSW6Ji8ljmfgQznK1//3iXkdzYnXUfqE2QlVkNLU+uW7PT2f4uMtHB BGt5U8Yu1oHAm9/JfL/4BEEJIvKUZc7ZRgrIA97LF+HEBu5hJo3kCgOx78Q+nir9GjJ5 FwbNb0YSlGRNQp8dxgf7j7X/OMSO6iG4YEmDNuGDnK5deVc+bzEc7CQp8WPq5kjgzPMS DsvA== 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=68XY0JsmXcuyWpdNe89OUjrW58GCpU3VIdjz2dObOyA=; fh=+5pc8GSc6oIico5zcv770Cectz65UH5cpNKW2IsZisc=; b=PiuB0w+5Mf3aNxVbIqInqGlBEVMKi9AUCuG8g+KupS/uPJBlt3tpcN9EknXvcvl/St O1UsxHXQGEEOmYfKUO/DHSXW+n4StVkuFbavRdy3p6kZxIGp5eQLe2h45DdrkASHS+mz CluT0ZnBf6u74if3n/QS/mlT5Ub/0nhadusAGxsBk2AZ2HzpH90vfow8U3rJhY8HdC7V sauZPCxR17M7gFq6pKbIan1QdF4ZLgPO1K1+VFMrX8kZb7o3VyXx+5lXoKD8SvzzDrI/ P5FIgSds6zDuJ7amBqMdG0o/S2vHPnzFw7Hr2n189cb+En0e/zy1nmYjpArZD0zItA80 KsUQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="q/hMyIaX"; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-198344-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198344-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43ff23dbe63si67888931cf.181.2024.06.02.08.52.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 08:52:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198344-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="q/hMyIaX"; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-198344-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198344-linux.lists.archive=gmail.com@vger.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 1D05B1C21ACE for ; Sun, 2 Jun 2024 15:52:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3ADF55C36; Sun, 2 Jun 2024 15:50:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="q/hMyIaX" Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (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 90CC4537FF; Sun, 2 Jun 2024 15:50:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717343433; cv=none; b=PRF90SSEDaRn5Dt/D6RWHvvUjdSlG1r/kDKz9sa9fmn5ewAPKDbCGzR+EUGVzJjAcNhLiS1jpmqYcA4VhABIEiw5RxQu07AxzoZ9uzrTmtdv3DPMeHpWZ86We71alYCK+zyNeTN2BUBxtGN/XHAKMgCMiAOpXcyP1JoP8hH868k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717343433; c=relaxed/simple; bh=7uc1dFxQhU4B3TuqPQ7wNf0z173494wt+6TFV8F0t1M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Q5WH0hBahFnKFbNCwzxl59D8hgaBvKa99O0navFjvxkOORnQYSrWAMbDfIAcjFl9iS6VrqwTuqV3zqk2k0Kr0QKAvNnRbV6KSfzmwVYbJ2f4LKBx/uRaAiV3OUbAhfGGqAhNZINK3XF/OAxZ+owNSrQy8gqDNqeUEYqt4LRLZqI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=q/hMyIaX; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7B3B939F; Sun, 2 Jun 2024 17:50:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1717343423; bh=7uc1dFxQhU4B3TuqPQ7wNf0z173494wt+6TFV8F0t1M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=q/hMyIaXuyPSc48P9lKOIr8VNKikwAfoAyV0mpU6jiPGdYHHChDF30tosQeapT1Ky 2nhWTulodpmo9ljS2skiFNMBVTgoZo+EODh3VpSnBBIGt/TlEhkZm/lkQzcCl7hEZv 1STyyiox8aQk1IhOKOtF0niyqWUNEpqbijfNhM4w= Date: Sun, 2 Jun 2024 18:50:15 +0300 From: Laurent Pinchart To: Krzysztof Kozlowski Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pwm@vger.kernel.org, Bartosz Golaszewski , Conor Dooley , Krzysztof Kozlowski , Lee Jones , Linus Walleij , Rob Herring , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= Subject: Re: [PATCH v3 1/4] dt-bindings: Add bindings for the Analog Devices ADP5585 Message-ID: <20240602155015.GI6683@pendragon.ideasonboard.com> References: <20240602152412.29136-1-laurent.pinchart@ideasonboard.com> <20240602152412.29136-2-laurent.pinchart@ideasonboard.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=utf-8 Content-Disposition: inline In-Reply-To: Hi Krzysztof, On Sun, Jun 02, 2024 at 05:31:04PM +0200, Krzysztof Kozlowski wrote: > On 02/06/2024 17:24, Laurent Pinchart wrote: > > The ADP5585 is a 10/11 input/output port expander with a built in keypad > > matrix decoder, programmable logic, reset generator, and PWM generator. > > These bindings model the device as an MFD, and support the GPIO expander > > and PWM functions. > > Please use subject prefixes matching the subsystem, e.g. dt-bindings: mfd: > > A nit, subject: drop second/last, redundant "bindings for". The > "dt-bindings" prefix is already stating that these are bindings. > See also: > https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18 I'll do that. It would be nice if someone could teach checkpatch about this rule. > > These bindings support the GPIO and PWM functions. > > > > Drop the existing adi,adp5585 and adi,adp5585-02 compatible strings from > > trivial-devices.yaml. They have been added there by mistake as the > > driver that was submitted at the same time used different compatible > > strings. We can take them over safely. > > > > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + i2c { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > + mfd@34 { > > mfd is Linuxism, so this should be probably "io-expander" or something > similar. Sure. > > + compatible = "adi,adp5585-00", "adi,adp5585"; > > + reg = <0x34>; > > + > > + vdd-supply = <®_3v3>; > > Reviewed-by: Krzysztof Kozlowski -- Regards, Laurent Pinchart