Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp744567lqt; Tue, 19 Mar 2024 02:28:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwcSRCGVitMI/un4N5Jsn7geVUF1NzCrZVlv/Kv+BAgZJq70FRNSxwC0SfH0cP4pBSDk1wSnQrI1gN4PftUVPiyNCL+qkQu3jGtANyuA== X-Google-Smtp-Source: AGHT+IGi+4aJ3nUl4e6mkZycCBR4M6pea+Yt0LNBxmWcxC5j2X8ZM2p8NDHV1a3teOkQUg/EqR9N X-Received: by 2002:a17:906:4889:b0:a46:139e:45be with SMTP id v9-20020a170906488900b00a46139e45bemr1204554ejq.12.1710840518311; Tue, 19 Mar 2024 02:28:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710840518; cv=pass; d=google.com; s=arc-20160816; b=wY7H1UXOUPGYxYOBdITlNsR4giDwZg6t+21rJ8+xW2rqrDnqQnal4+XqvEqTtcWHvJ dD+9kMC587PVIITn0s0pr09mXmd5gVnyjK4Om6HkCo/9Y7NLoVs05bewVtdmz7Df0UzW iu6QrGxFaUObYJNgDtOYsr1mjU0Dg8uuJKXG6KikYmHytH0UywAOBKdfmwXo30J1hJ4R ZIlrlb8+yMKCpdWQersrb/lx3W4yeDnxeVKlp80/IysmuLlxy7BxZ7qvNTr0rV9y8XRn n2tMc7YV5VjJ5vjYGg0L5UnczHUXoLqg9ASFwYqm8TVzQI36ln5p6kL+lIFUBcXo6NHk gGNg== 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 :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=kymKEteOVObESDNW5Fg6UlQetyaf6y6BwpOtbOdOW3o=; fh=DNRQlvOsWH9KgKk6NHF+Bj1jb/tnfsvQ8Y2fQpw5Cwc=; b=edqrLPOcx3uI6oRHk4az5EkVbo7rxnFuHg6DPweQnAqwlyYUBUKH/D7/fWLs5fTAKS dtWam2Plmql0rXeE9r8l+JHB5ePJQC1X1yg9uhN5oOIK8EZmaqvCf3MyUTlRDFY0Vw// PDyfz4b7cmMxNkKZ1bsCyjyklvD/N8YCY+ENLwASwjqha5RjQTFwx7E6MGA8Aon+rkzY AC08ty8SeLR9VZJnOKfZxZIuOMOD8WZ47za7ngeKeOV9Jcv1HedsUJS5/H2fEeQ7C0a4 pK25LJFEuDQZSMd4Iz0Drg+rsj8S83t9Xn5xS+ds5ghjlrHT+0TglnzF5nL47N9tYwmY wZAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nKjaR6uV; 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-107298-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107298-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bw17-20020a170906c1d100b00a441ef8e7b5si5226791ejb.290.2024.03.19.02.28.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 02:28:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107298-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nKjaR6uV; 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-107298-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107298-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 am.mirrors.kernel.org (Postfix) with ESMTPS id CD3E11F21E56 for ; Tue, 19 Mar 2024 09:28:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CA0DF7CF32; Tue, 19 Mar 2024 09:28:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nKjaR6uV" Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 29B4E50A6A for ; Tue, 19 Mar 2024 09:28:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710840507; cv=none; b=CDh01VbS/sN7TcdZByB6v90iNdijPjgXquO1lAbg5nDPXducxRCo7Q6ZbwKT3RJ/880WszF08xhU8Z+Mvk1ZJgWGjTmv7ifybuAQEq31VaBQVCL+hciCxjHNbZBb2/iZ7YUqFoDz8XEtmgrlq0aFSSz8wYcQNedAzfh3CfxGUdA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710840507; c=relaxed/simple; bh=HjBuG9xd7AaXCYgSmfp2B7iX2Cs8p0FwGGbH/0NJwUw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nz+P94eVnX9CzMoEDI9fGdwH0TKdjvrL0az5p5VSElCXJKVIv+T83rw+HBXERfa6C6gz74Ww+9jY538G/8Cd4t6WOrzS1RAgxmpiRwQ5lyYB3UogPOP2FDnb/Oemo38Pd+mJygDgOCtuh2Sf2dd3UJGX5h4bhx131nv+P6A62/s= 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=nKjaR6uV; arc=none smtp.client-ip=209.85.218.47 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-ej1-f47.google.com with SMTP id a640c23a62f3a-a466a27d30aso687386966b.1 for ; Tue, 19 Mar 2024 02:28:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710840503; x=1711445303; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=kymKEteOVObESDNW5Fg6UlQetyaf6y6BwpOtbOdOW3o=; b=nKjaR6uVayQjCag9YmkHKchRIjrb2InDky1mXIpEbFRH9jlRuazPVtxFYajQw4F374 BxoPjJkOIWknzIYDbpIJdpLcKrHdGSSJafZCKOWFgQjMQS0CeueY8FtJz5pAb0HoZ9D6 d77A76OKaiKhwPF5w6IyeJqR3pWEYNe1mWClolIHIjoTlx7lBE2jfUUfcrJp7rEgXclM frFHFrc/CLj9I6p5fzLTzA/dGWZFP6li4uF6kOqFA/U+9XWrRqqgv2mgCXWj4txYATZZ B3/j66BYQjl1hXmljtEAfEm7AxvBFAo+/x8IgmVvLUU+v2ETJtK74RidpsimKHLeybAC FMcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710840503; x=1711445303; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kymKEteOVObESDNW5Fg6UlQetyaf6y6BwpOtbOdOW3o=; b=nsXplkp72NzNz3hJlknfWz1TBfm7jk34lEcumW08z241rBEBABKoGIylsdYQ5oLf7S e6Z2FXCHow5RGNJqRH/RMwftEdx7WQhTMOtXcllVEAfy8NmcCXttHyqkKMseg2Y6qDqM DZctTyBnysuS9j53WA36EEDSe3p91bwp+8C+kEIGnBWyZ4guLL4KGqPJKUuqBocIxF50 Kf86gipEfuoKekUMrxWRXNDmzaK6akuBYS+iMkK/lBmMenvdhgNYOSdhaS3hOdW98DWB tEyT23slWTeAXdExHINTvqYrKy53mT1EH8hslBcN5w9EPm5CntHWpmTplTBF6mSMsNm6 mT5w== X-Forwarded-Encrypted: i=1; AJvYcCWO+rS6dI7ZskEUeM7XlJ0SBEeTZgrPmeh9CcE0NBJHCn0U6DJogSPPSaQuBpEEainPFJRayfGQ5Iy42/pnqPoBBSvn1m0q0QFCRs4Q X-Gm-Message-State: AOJu0YxgEpRzhtC/v/oWBLXQzv2J6lmZQuIAFJXlIg0ju/bEJjqNCc9J 2dqYE8Bri2DeUc2n3IUBzwwZmytoE/kYM+ko0p+5rc8LbTD6avhYdhXFw19BgCU= X-Received: by 2002:a17:907:7248:b0:a46:e4dc:25ab with SMTP id ds8-20020a170907724800b00a46e4dc25abmr623554ejc.47.1710840503538; Tue, 19 Mar 2024 02:28:23 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id q21-20020a1709066b1500b00a46524d06afsm5784034ejr.8.2024.03.19.02.28.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Mar 2024 02:28:23 -0700 (PDT) Message-ID: <0ad56d9d-9ba4-40ff-9917-0b71bb530673@linaro.org> Date: Tue, 19 Mar 2024 10:28:21 +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] dt-bindings: hwmon: adc128d818: convert to dtschema To: Javier Carrasco , Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240318-adc128d818_dtschema-v1-1-d0af2caef145@gmail.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf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U EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 19/03/2024 08:01, Javier Carrasco wrote: > On 3/19/24 06:49, Krzysztof Kozlowski wrote: >> On 18/03/2024 21:12, Javier Carrasco wrote: >>> Convert adc128d818 bindings to dtschema to support validation. >>> >>> Signed-off-by: Javier Carrasco >> >> Thank you for your patch. There is something to discuss/improve. >> >> >>> +$id: http://devicetree.org/schemas/hwmon/ti,adc128d818.yaml# >>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>> + >>> +title: Texas Instruments ADC128D818 ADC System Monitor With Temperature Sensor >>> + >>> +maintainers: >>> + - Javier Carrasco >>> + >>> +description: | >>> + The ADC128D818 is a 12-Bit, 8-Channel Analog to Digital Converter (ADC) >>> + with a temperature sensor and an I2C interface. >>> + >>> + Datasheets: >>> + https://www.ti.com/product/ADC128D818 >>> + >>> +properties: >>> + compatible: >>> + const: ti,adc128d818 >>> + >>> + reg: >>> + maxItems: 1 >>> + >>> + ti,mode: >> >> You need | to preserve the formatting. >> > > Thanks, I overlooked that. If I am not mistaken, 2 are still missing > (ti,mode and vref-supply descriptions). No, although I commented in a bit wrong place. It should be in description of ti,mode. Not in vref-supply. > > By the way, do you know why dtschema does not complain about that? If I > place a '|' in a wrong place, it does complain, though. This is formatting, there is no reason to complain. How would dtschema understand that you want or not want formatting? Best regards, Krzysztof