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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4D563C433FE for ; Wed, 23 Mar 2022 18:36:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nD6wtJRbpiv0JwkJzDkNbz0pdkB7rmFvwqs+/7HBPXY=; b=Hoq5YWsKWeOMAE qKRXQ7nNRhZWJ7ZtnxkuWp8tD9b1/w7G3HP8yE3M0Ph8wkT8ShMHkPnjGybCEDBWH6rWKbOlqxE70 XeKwd3udkxnzfUxRbxmpTj69E21M5kNndDzQ6NB+D8lCD4ocwsfWlFxXtw6WTKYTiTHM2Z+3FH5hm 4sGbzaQiuPtF93FEN92Cs7fkA7DlGNBoIDXS506r3wHP9kaisQVeI/clCq2sGd5qsCwikr+dFnOKn TamOeLkQNwTInW0bRCw/r869bS5LYqGTxnq59sCCR1SHW7HplLmYiakqYfqwHZfcRN2M4uWmMwZzX ENikwQuSJ7hku9TuDuoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nX5oS-00Ea2N-GZ; Wed, 23 Mar 2022 18:34:28 +0000 Received: from mail-oi1-f170.google.com ([209.85.167.170]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nX5oQ-00Ea1G-48 for linux-arm-kernel@lists.infradead.org; Wed, 23 Mar 2022 18:34:27 +0000 Received: by mail-oi1-f170.google.com with SMTP id e189so2514757oia.8 for ; Wed, 23 Mar 2022 11:34:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=41lt9wO4XOxtae4ixgjybXOjCGsLCMvP6pxSnzHlc2U=; b=J3XloyxinENO2EPLz0oDONJPzEGIbZpeQr6qLccMRHhreyKKvHzGvMqSMP53+GvdG/ c57qbdg2fxMBX9qGzAui7SRdjGVXZM2rOHBBngqDnoZQr2JPLwCVc5cP8CUmAjOGifvU frYr8TIc1WORnaR7OnRrVlhtslIcbS8TUTHnZ5BKAyKqsenhIm183FCXIg+soFS1lrTr DoS23gghR+pU7O7SbtyrRPPqgL8usY3sdaRB6jRzFzQAkYRDVwZwQ78s1MNM1ukklGia YGFHXodBFfRC8HUHe+mvzrwf1ikZ0dUsewLOsc4pR3qLnh+bJ77zxxsSdc5u7xztS5hy Ga3A== X-Gm-Message-State: AOAM533LVMv9hRdGojGGD9oka878G7KAe6DVoyi+mhCxaM3GOUZm2AZk nN8j8HuSGl+7V6GqGVXGoA== X-Google-Smtp-Source: ABdhPJzEHUUE48Om5qA2PfSnOF4hpP7NVTqs6dal5024vnutRjT370DO2aHoDKzq8MOGAbO5mihgeQ== X-Received: by 2002:a05:6808:118d:b0:2cc:ef90:3812 with SMTP id j13-20020a056808118d00b002ccef903812mr5383988oil.48.1648060464775; Wed, 23 Mar 2022 11:34:24 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id s82-20020acadb55000000b002d9ce64bea0sm263151oig.48.2022.03.23.11.34.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 11:34:23 -0700 (PDT) Received: (nullmailer pid 221555 invoked by uid 1000); Wed, 23 Mar 2022 18:34:22 -0000 Date: Wed, 23 Mar 2022 13:34:22 -0500 From: Rob Herring To: Andrew Lunn Cc: Chris Packham , "huziji@marvell.com" , "ulf.hansson@linaro.org" , "davem@davemloft.net" , "kuba@kernel.org" , "linus.walleij@linaro.org" , "catalin.marinas@arm.com" , "will@kernel.org" , "gregory.clement@bootlin.com" , "sebastian.hesselbarth@gmail.com" , "adrian.hunter@intel.com" , "thomas.petazzoni@bootlin.com" , "kostap@marvell.com" , "robert.marko@sartura.hr" , "linux-mmc@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-gpio@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v2 1/8] dt-bindings: pinctrl: mvebu: Document bindings for AC5 Message-ID: References: <20220314213143.2404162-1-chris.packham@alliedtelesis.co.nz> <20220314213143.2404162-2-chris.packham@alliedtelesis.co.nz> <16fa529e-b1ca-11d0-f068-628c7f25a7fa@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220323_113426_203163_FF973172 X-CRM114-Status: GOOD ( 18.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Mar 15, 2022 at 01:27:48AM +0100, Andrew Lunn wrote: > > I think it can. I vaguely remember seeing conditional clauses based on > > compatible strings in other yaml bindings. > > > > I started a new binding document because I expected adding significant > > additions to the existing .txt files would be rejected. If I get some > > cycles I could look at converting the existing docs from txt to yaml. > > > > I'm not sure that there will be much in the way of a common > > mvebu-pinctrl.yaml as you'd end up repeating most of the common stuff to > > make things conditional anyway. > > We should wait for Rob to comment. But is suspect you are right, there > will not be much savings. It's always a judgement call of amount of if/then schema vs. duplicating the common parts. If it's the function/pin parts that vary, then that's probably best as separate schema for each case. Otherwise, I'm not sure without seeing something. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel