From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35EF6C433EF for ; Thu, 7 Apr 2022 21:03:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230383AbiDGVF3 (ORCPT ); Thu, 7 Apr 2022 17:05:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230024AbiDGVF2 (ORCPT ); Thu, 7 Apr 2022 17:05:28 -0400 Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FC98170099; Thu, 7 Apr 2022 14:03:27 -0700 (PDT) Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id E9F1F80209; Thu, 7 Apr 2022 23:03:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1649365406; bh=DFldO1xQANEedL9KLEQH7/3oHSrNuTxg/a7RicxjUkw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ds36vfm+tOD8CksRyi7Sx9ES6A1ls7aAU0Jh0g1EqEfqOv+6HecvDCuFrav6lA+HZ FHOg63vJsvPzyvJIm+2HfCeXFjIeOnNRWvXJziSxvwJ8LmMmZQPO702aIw6kawKK8P //aL3uA8TpipWJiirA8P8r3dzdfGDCVgqt199zT7hLoLiAaTOsD6bUI4z5B3HgL+H5 ywCzj/Ufy3EcZZMMLE53GDPRiEt4dLZpBFhyFOg/GW1mMP3ydk9lG+T/piLpbwBgSe hltflTlONeQZLF+ZNgXA2DQUgLGQb0tCWSu289+Q+opwC+7kScp/HNcOeQ4TyyVhEk JVM6FnbTJkXsA== Message-ID: Date: Thu, 7 Apr 2022 23:03:25 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] dt-bindings: spi: Add YAML DT binding document for trivial devices Content-Language: en-US To: Rob Herring Cc: linux-spi , Mark Brown , devicetree@vger.kernel.org, Lukasz Majewski References: <20220407194936.223041-1-marex@denx.de> From: Marek Vasut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 4/7/22 22:35, Rob Herring wrote: [...] >> +$id: http://devicetree.org/schemas/spi/trivial.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Trivial SPI device DT bindings >> + > > Add 'description' and describe what devices do and don't qualify as > trivial. (And you can't say 'spidev' :)). I got as far as here and then realized all the devices I need to document do fit the trivial-devices.yaml ... so, patches are out, please drop this patch for now. >> +maintainers: >> + - Marek Vasut >> + - Mark Brown >> + >> +properties: >> + compatible: >> + enum: >> + - cisco,spi-petra >> + - dh,dhcom-board >> + - lineartechnology,ltc2488 >> + - lwn,bk4 > > This one is a *board*!. Wait, and a device... I suppose that's > possible if the board can be a device in another system. Except both > are used in the same dts file. That should create some nice warnings, > but I'm not sure anyone is paying attention to fsl.yaml warnings. > > In any case, we're left with > Documentation/devicetree/bindings/misc/lwn-bk4.txt. That and any other > cases need to be deleted. +CC Lukasz.