Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp306371ybg; Tue, 22 Oct 2019 21:14:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVSwWq8Aikx8scOZArTMS42d+k9X6SphGsoRnMSuPQQMkv2gn3ihvmEgIic+XdFdvbz84O X-Received: by 2002:a17:906:218a:: with SMTP id 10mr31105763eju.38.1571804077919; Tue, 22 Oct 2019 21:14:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571804077; cv=none; d=google.com; s=arc-20160816; b=fNIGt03Iw1C6KaKPDh215taLAs6po3BUgugNEhjYdwlVUJmrKFCLd58YmNuhF9cD+g zTkHJB/dprIXX0iEhM+KcF+hMMJSp9EW9SZIfroGhdZo7JUiziMDsKAJL0pnxy30jgm2 ifLJ4//f7BvIvuhmsQ95wVSyZoSSD7mce0HgAOJf0KQTJwwXu1YHmQcG5kryZelTOLgJ QrQzpqvKmCpwV519hucTRJyBS+xn9iCnOT1awuO+75AM4G7q9EC8Ug2VIhjfOhha87i1 cJScIN3DNoqVMM5Y7zHDU6gtbNs5F0AVm1kNjSwWkRmEd99hdOTiHZeyGZlIHaP/UJXW vPMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1VLjmkD3Rwi0EmWCkc7vL9OT1uRUJflAVuUFK1TCUfs=; b=WaTYDqcn+0sCNKlg+BIqSG7BMzrGlodQi+Lw2u+zQxHPZfj1wjq97zmhsL3sLuISaG oK6BcW/tWitdZkNikaBNWptPMSmwHKLZvpoDFfFYu61NC6sgtQYvq0hbqrp860Yt86O3 WTXaYcUMour75cGDFKYnqSzPav+ePOXsF4wVvV2fa9kXxSPm1n/uChS95CDgp5J/iGMy XhxH8FKNbJ/mVkRQVCQBi4KVDmqjFBIYm9NHKIYdRrsqQxjnfkMm3BKRY1zShiK5p+DW 3rGt5QDdrzC0PS83x3QZv+ulQJ/40V0PjzjY/soOA07UJB6v3QJAO1BMZWnma92otWIi y0gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jBkAkT8K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qn24si12263756ejb.200.2019.10.22.21.14.13; Tue, 22 Oct 2019 21:14:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jBkAkT8K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733049AbfJWDnO (ORCPT + 99 others); Tue, 22 Oct 2019 23:43:14 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:43959 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730808AbfJWDnO (ORCPT ); Tue, 22 Oct 2019 23:43:14 -0400 Received: by mail-qk1-f195.google.com with SMTP id a194so14436443qkg.10; Tue, 22 Oct 2019 20:43:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=1VLjmkD3Rwi0EmWCkc7vL9OT1uRUJflAVuUFK1TCUfs=; b=jBkAkT8KEpSceUnUT5D05nwe+iUUaw4Z2mTUBn3UmLbvelJfBJ0apbdnjAvMT5YvY3 ntlBx/J1kfkGuRuxJfFxXJf2vGgCVZTHEIHO57WyPJwTDbFtfIHT+ZKaN/KMYhlFvbZg l5uHyObZQT100bTkbf22/rl6axphYwccnbaGlNbtA7ZHNCnG5G+uK+fKnMQcl0zxeKhy OjEkXlm2lczwehiMu+tWksfrRrrhUMMho7Ws55ENPgLgFzE/p/4SpSz1sJWyxxny2pCR I84UJUFwbPpDwBAgMSF7HEay+FmmXN2jMIRe5bgfbKXigapMT68B3xN3ohWxw4Xv9+yv 6X3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=1VLjmkD3Rwi0EmWCkc7vL9OT1uRUJflAVuUFK1TCUfs=; b=ClIVLf5A/lh41Z4zexUPHGBx4y87X1oWdoUcY48xVnwq/m5ywxPqqB8yzGxTHfkvxE BB40oYAQcN2UmESTZullRmDqKSzySBma9/JBcj7/ZA5PIgE3VQxXu/EsU3m4FmyJetah 4us3ClohzwsqdkXDAcPYOQcXL7LbTe7ZXxzyFokge9LshpWSTodH4K4l0Whg62y1P7+i UVuWpu18A+FLWK1VnzoakdB6+h5UsZpdMm6QQFUZOroZkIIoYtds0eBcklxG3Rp7xTUn /NmmwrGOVUeaoKkffCFM1omcS3b96ZTJNi88v1rn1DvqeF5KkDzpaQT3nxRVIICXvKbO fQeQ== X-Gm-Message-State: APjAAAW4KF0I6+UiKmotqvdVAkHXTM+nTWIYMPNq8rtfv9Ml1pnRlg9T SiF3NWgFVzJ5fFKRZ52Hz6rinSVbuGc= X-Received: by 2002:a37:9a8a:: with SMTP id c132mr6452527qke.92.1571802192882; Tue, 22 Oct 2019 20:43:12 -0700 (PDT) Received: from smtp.gmail.com (gwcrusp.semfio.usp.br. [143.107.150.86]) by smtp.gmail.com with ESMTPSA id c15sm146qkc.101.2019.10.22.20.43.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 20:43:12 -0700 (PDT) Date: Wed, 23 Oct 2019 00:43:07 -0300 From: Marcelo Schmitt To: Rob Herring Cc: Jonathan Cameron , Dragos Bogdan , Alexandru Ardelean , "linux-kernel@vger.kernel.org" , "open list:IIO SUBSYSTEM AND DRIVERS" , devicetree@vger.kernel.org, kernel-usp@googlegroups.com Subject: Re: [PATCH v2 2/2] dt-bindings: iio: adc: Add DT docs for AD7292 Message-ID: <20191023034305.f6zm6hyvh3nlltas@smtp.gmail.com> References: <20191016025220.td3xb7oxlfkznxl6@smtp.gmail.com> <20191017191152.GA11222@bogus> <20191019150652.h6bkfz2w2ohemvwy@smtp.gmail.com> <20191022140604.ovmooly47qax2sms@smtp.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, OK, thanks for the explanation. I indeed missed some details from the documentation. I will be more careful on my next readings. I see there are other documentation files at Documentation/devicetree/ and Documentation/devicetree/bindings/. Besides these, would you recommend other documentation and/or material for those who want to write dt-bindings that validate with dt-schema? Thanks in advance, Marcelo On 10/22, Rob Herring wrote: > On Tue, Oct 22, 2019 at 9:06 AM Marcelo Schmitt > wrote: > > > > Hi, > > > > I ran the DTC and CHECK for AD7292 schema however, the target '__build' > > did not run due to errors found in regulator/fixed-regulator.yaml and > > arm/allwinner,sun4i-a10-csi.yaml. > > Fixes for those are still pending in -next. Use 'make -k' and ignore those. > > > > > I recall seeing something about the maxItems requirement over regulator > > supplies being changed on the iio mailing list, so I updated my repo > > locally, cloned and reinstalled the dt-schema toolset. However, I still > > can't make it go through the '__build' target. > > > > Python 3.7.5rc1 is my default python and I got the following pip3 > > packages installed: > > > > ruamel.yaml 0.16.5 > > ruamel.yaml.clib 0.2.0 > > rfc3987 1.3.8 > > jsonschema 3.0.1 > > dtschema 0.0.1 at $HOME//dt-schema > > > > Debian Bullseye packages installed: > > python3-yaml/testing,now 5.1.2-1 > > libyaml-dev/testing,now 0.2.2-1 > > > > I was only able to run DTC after installing the libyaml-dev package, so > > I think it might be worth to add it to the project dependencies at > > https://github.com/robherring/dt-schema. > > Strictly speaking, it's not a dependency for dt-schema. It's > documented in Documentation/devicetree/writing-schema.rst. I've added > a pointer to that in bindings/submitting-patches.txt. I'm not sure how > else to make it more obvious. > > BTW, You will get a useful error message if libyaml is missing when > building 'make dtbs_check'. I need to make that work for > dt_binding_check. > > > apt-get install libyaml-dev > > You need the lib too, but that tends to already be installed. IIRC, > installing the headers doesn't install the lib automatically. > > In any case, I wanted to avoid putting in distro specific instructions > in the kernel. > > Rob > > -- > You received this message because you are subscribed to the Google Groups "Kernel USP" group. > To unsubscribe from this group and stop receiving emails from it, send an email to kernel-usp+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/kernel-usp/CAL_JsqLf8kpOu0MQN-TAhQkiZCGfMKWmztnHNo%2B2BAVqfX8yGQ%40mail.gmail.com.