Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2325930rdb; Mon, 12 Feb 2024 00:24:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFiUJVxZ82yUrr8Ax+adeVcMmKTP3Jb5WhbD83e64FjB5lFyn5WFV8KtL/0elLwrOX2n/dG X-Received: by 2002:a1f:e684:0:b0:4c0:1dae:c6a1 with SMTP id d126-20020a1fe684000000b004c01daec6a1mr2266517vkh.14.1707726266449; Mon, 12 Feb 2024 00:24:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707726266; cv=pass; d=google.com; s=arc-20160816; b=EjTKaqet2RqgFwzVKBMg+vaZGlfSlJjNpArtHzAoIPpsaCnu9ExBsvVxCqZ0tf1A61 z+oSS9RU6/VhV14CgsiMXB951qyqbF9oY/QtNfP4iLxtol43tVBoxYDca4BVm90WmmBD CHhXlY0/a2+GNOmqGCTxMJ74cskUx++9E9NyW3D4mCj5EZXBKMw07mgO1hgCVpeLqHQ3 BU8si0I9XSfGfMFa7GZD7Jbi8C2+3Mn7yqbEsTgkassIAbKfwFpL7j/f/fW8BQ8o3rUp jrxWhpgSFKBYaM47x2M0uT6DWnHlejmgfk2F0nWOpoC6hJtDWcQK6TXnsE4Vshn7lV/D zE1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=71TZcwc3zcuxniF5HfPgZF9RSNBzlNO8/T0z3a6pOIw=; fh=npbICQEfMAxIX7m4AEG0aPRgKShzuccR2dezdaOpQv0=; b=KeosdWW8RvjxA88x44UiuoY/wKHlwWcsDfn0ouy14s5Dq3WyVLOsnAgFwlQ3rByKkT suVOLRIFDgkudCO67MXzh9pE8yBwv0fqUyiJRHjaQTme7g41pj7EC5p2t24bOx0RT8KW aWN16j9q/SzejHval5wGG7vmpoXsmgPvUoPkWqpt2WrIcaJaSV8/c043QwX6BWfS/+Ts lHJz43NeuLSdg5RTxW4ms9k8mlCbuTPjcTvmqsYaxzjlfsFqthSRihMPfSQ5JStcpUMC IeOR/kT047IoUIEg5YIH+aaUWS9MVWb91iIxvcCHB/dNyGFieiGDBVaaf0bXy70ba17r 765A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oCDo7fGA; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-61198-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61198-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCXOtIqhwYcNC56wYLeWVukn2TpC3MDbDD88U6+YX+Uag3dN4kF8HJlHYMZEVSlTnuIzgNv08byGRvrcT5R8Ettu0gXKWiUqeTgyyX1Kqg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q5-20020ad45745000000b0068cdb185c3bsi6092079qvx.552.2024.02.12.00.24.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 00:24:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61198-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=@linaro.org header.s=google header.b=oCDo7fGA; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-61198-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61198-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 2986C1C209B2 for ; Mon, 12 Feb 2024 08:24:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 328D4EEC5; Mon, 12 Feb 2024 08:24:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oCDo7fGA" Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 8709010795 for ; Mon, 12 Feb 2024 08:24:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707726259; cv=none; b=o+tT4/3141YBHDgQ0sJOqqtFynwBC/e+XNh5adb5ooA+rLpGrNi2FWPNLWtvj7g7KBh59CMTQUowfwnVOyyWQ1vx/26aXtdQRTb+sQZGmEk84AI/LrkkGpPf+q2h/3JO9gtoLQZXC69eSt39XCyS13RA+iftlcTZdR9ff9ys9lo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707726259; c=relaxed/simple; bh=B3JZ8sfEo1g9KGP5ohvz7I1oTFg2zjlwuIUwHwKVAD8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=tjp5zIk14JfzsqewC/ZuGhO8u8uNLQhshoDvcODP+/sXTLXIhilc1OkUstzEd9TC3Cf0uICG7nU01dIcKchA15ZtzM1OI33dvhIySdY0vuvvRtO1PQRakf7ZQ6rfa2Vlx+8pRooUFuH4OMzK3GHLV2/7dpW4VI7lySPhxAw+750= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=oCDo7fGA; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-410deab9c56so2800065e9.0 for ; Mon, 12 Feb 2024 00:24:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707726256; x=1708331056; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=71TZcwc3zcuxniF5HfPgZF9RSNBzlNO8/T0z3a6pOIw=; b=oCDo7fGANNelJE1ILQrK2yAaUhgxrOzjL/Rq1qe8RHfIgSDn7WbbLV3dyOsj7Yzskh NVNOXE7UerC2A809UOHRg8evUe8c68PEHuMVNZ6v4tCSo4Y8etbK6GT1ci7jV5OWtIFC CqYkV6I11iWEfxLvkBZTehB72sVBw9rQhkN0dOkJ04XSzmvLtOiK3SuGdmbSbU3Le85T xGHn+/rnbwhGGFvx8z8cM85Q47DoVGp90OHK49HMgEcrytyo1R7ib8DuPf0+GhXeU16a SOY5u8h4cYAa52AgRisOP4j+m5G8tbG1oBQ/PH1K/eU8q+D5o95d0u4RzFOpw0tWSiWP a68Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707726256; x=1708331056; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=71TZcwc3zcuxniF5HfPgZF9RSNBzlNO8/T0z3a6pOIw=; b=e1fPKRIvY8O+NYhHqB/Wp3b5WSU7aG96k7gvNEWSrv/mVt5upLiV4Gq9fZtXoRLZZE lE6jNH7/4NmyfSUVUQjl/zrO+EPHpA3NQjKOg4qbp753hZxskjL9isKUdcYP6mo3SCEy hS8xLJpneJUYv7nPeyvlJd4G8a7snStVCRiDy+qXmA/deBzXttYc4lZG6HeKZNijWklU oKK4eqounx3WUa6JjaP8ddZAE5G3hWQmLZJv36yIftA981Iee98Na6uA2SMaKlcrkAEY EUTq1udpEgm1WAKzeu4pQhHYgTBo7PSC+nDUl1vDkzHxoi/XlgvLzsiAMhEL/EwBLGri 1l2Q== X-Gm-Message-State: AOJu0YwLucmawx/3PJNvOoqPfnuVY/wrk29Jk5X8Qz0U2uU67vQo2/iC Q4aJFoskKROuAB52/2LK07Id1LbgxSrJfTruU1sCXNpI6t1rlVFCeDOcOg/ydas= X-Received: by 2002:a05:600c:4511:b0:410:c69f:4db7 with SMTP id t17-20020a05600c451100b00410c69f4db7mr2171281wmo.20.1707726255795; Mon, 12 Feb 2024 00:24:15 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWqZG9F60Qxwc53IuhcAltsgH3HKrVxAOUNf7WTbp7UPPUyPHCTX/txAUjkb+4hR2zzENrZy2bpM+ilvEPrhLlIu5i+P8XW/VctY/f2lhTFpjEeAD13lqxVbt32nsDDQutytyDB3blucm3vOX2rCrtmVPzTBGY4QukII8cGE72TrG4vucARckIeGNOuGvMjsSziiYF9fVa2jzU9dLfEvUt0SjQakrJUo1nL3JMS8eHmPVI9Fkpqi08d4ooPJBoJhzIL8ePN6F2EECokip5QUHF4yK1TkMc5PlwE9ZO1cAFJY0n6CF1SjYhYSks= Received: from [192.168.1.20] ([178.197.223.6]) by smtp.gmail.com with ESMTPSA id i9-20020a5d5229000000b0033ae7d768b2sm6057589wra.117.2024.02.12.00.24.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Feb 2024 00:24:15 -0800 (PST) Message-ID: <5bc98b2c-9200-4ddf-83bb-67d10d5a0fc6@linaro.org> Date: Mon, 12 Feb 2024 09:24:13 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 14/15] dt-bindings: auxdisplay: Add Maxim MAX6958/6959 Content-Language: en-US To: Andy Shevchenko Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Miguel Ojeda , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robin van der Gracht , Paul Burton , Geert Uytterhoeven References: <20240208184919.2224986-1-andriy.shevchenko@linux.intel.com> <20240208184919.2224986-15-andriy.shevchenko@linux.intel.com> <55b4a973-653c-4798-81ec-198f204a09e1@linaro.org> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+S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pXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 09/02/2024 14:59, Andy Shevchenko wrote: > On Fri, Feb 09, 2024 at 09:02:44AM +0100, Krzysztof Kozlowski wrote: >> On 08/02/2024 19:48, Andy Shevchenko wrote: >>> Add initial device tree documentation for Maxim MAX6958/6959. > > ... > >> Please describe the device, e.g. bus/interface. > > OK. > > ... > >>> +properties: >>> + compatible: >>> + const: maxim,max6959 >> >> Your title said also max6958, so I would expect it to be here as well. >> Cam be followed by 6959 fallback compatible, if they are compatible. > > Same question as I asked before, why should we have them separated? > The hardware features can be autodetected. What's the reason for (unneeded > in my opinion and duplicative) compatible? And which part of device description in the binding, or at least commit msg but better description, explained it? For every unexplained deviation from common rules - and documenting compatibles is explicitly asked in writing bindings document - you will get questions from reviewers... Please add this information to description. > > ... > >>> + reg: >>> + maxItems: 1 >> >> No power supplies? No reset pins? > > No power supplies, no reset pins. At least there is no as such in > the datasheet. Do you see them there? How do I know? I don't have datasheets and I don't have really time to investigate each datasheet of every device people send bindings for. Several people make mistakes of not putting such stuff because "driver does not need it", so how can I know that here it was not the case? > > ... > >>> +examples: >>> + - | >>> + i2c { >>> + #address-cells = <1>; >> >> Use 4 spaces for example indentation. 2 is also fine. > > Sure. Btw, this is copy&pasted from the existing YAML. Are you going to > fix them? I fixed several of them. At some point I might fix all of them, but that's lower priority. I wished I have all the time for this :) > >>> + #size-cells = <0>; >>> + >>> + max6959: max6959@38 { >> >> Node names should be generic. See also an explanation and list of > > (Same remark: it's a pattern from the existing code. Are you going to fix > that?) > Same answer. Best regards, Krzysztof