Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp504364pxf; Thu, 8 Apr 2021 07:30:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzr7cLqJqyKnyXdemCDkNvf+W7P/TLU1EimPprbwo7myHi7UTZVT+435dX+trV4LsMXWBEF X-Received: by 2002:a17:906:3886:: with SMTP id q6mr10565896ejd.118.1617892217912; Thu, 08 Apr 2021 07:30:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617892217; cv=none; d=google.com; s=arc-20160816; b=xZyGenCrwiVrrm+pMsrs0DzF7qwHPAMDkFtPlfaNKsZHQ0V77/9q10b8eMyBNtS6IT hLNvEjTJt0yQnDv3ct3zniKJRBXbu7xuRd9RjCYs+qwKWcFyld3W0tKszcA1e0tBvxOp FR3AqDbYheIOYPaTlo2Vg20NWEyGXT0Qm8/zX78vNxqNd+eHBQf3XnDfWslvAP18MMyn rwvGX8sPpepmn+gJXxY3U3cCJBYOSKoB/6gtsX167AHURZJbkgtjrbIcWTRs4nCdjNcE agRfr9BtBP0AivaywleVJC/leaIPESBUVF1YTxvsOivSi7kT7fxkI6lbhBXf5YMvs9Xq Aw4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=CsLtvM8ge42m6oHnN72Jx/lC140KrlVSLSA3D0oRC0s=; b=TIT+kio3CCjAupCzEKNlrXZummqmAX9ok2bSpPlTTpdhaWwXSxgJXwvxTYzD4qz+qg 6up8KMqYRCur68OFFFPOc/okUYkWhqdtY8+/zCsrsyqbgYS7eOa4qwS/Y0OJeT6ttBdQ WP68676s+U3I7jDI5yb7tX5+Xj2lkwJB/2dml6WgrwkhAzSc0r/xVMlAgQDmyRXzDfcX oBJkX8ZreZavluxrhNcOwPhk6RoflfLYmut9ltd0sXl9aC4XKwiD88hNktM4/eol1r11 +L2uEQQvm76Wzf3D8RLVvNMUPcHEwgV7D4JkS8FRrb7Anq48ph1n7NnY8+S0i6ZyEiQ5 HxFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q4+2HCpc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hc40si21236447ejc.276.2021.04.08.07.29.53; Thu, 08 Apr 2021 07:30:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q4+2HCpc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231779AbhDHO3B (ORCPT + 99 others); Thu, 8 Apr 2021 10:29:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:35718 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231659AbhDHO3B (ORCPT ); Thu, 8 Apr 2021 10:29:01 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D91EE6113D; Thu, 8 Apr 2021 14:28:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617892130; bh=2FuIUpNq5FIFplx4EeFCO4ieAf4OaROCW1udvxA38HM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=q4+2HCpcV+rS5tQbc0ehHIFcU43mYM92ygvDGNdO61ec7U7uxl6z/g5VUuCahu1d7 tclDT/WHqPdalS2H/kvCw59rIEj1o0/NyKCgLxrewa2mIEtUgBjdtsKK2x81FzjliN uw+jo1d/K4o/DLj5Xy+jU/mH+yercmiEO/1QVp6bBQaQnRHe+J7+YaOT0+95DCEF+J cASgDaHb2prTzoCruYIXU+2JIyHemzG79APBJ3AyPtiBdDo1GAWEuaaV3V/Ci1JOum qSBa6ANdwyb4B26pLZ/tFa1b2RZBtpfnmixCCsdP9XolNJxUCMuBNpZeja4RZb/2Cn Zh+P3eorDIV0Q== Received: by mail-ed1-f53.google.com with SMTP id f8so2657838edd.11; Thu, 08 Apr 2021 07:28:49 -0700 (PDT) X-Gm-Message-State: AOAM532z3GWc8H9CFlDJGH3d7jyujc0DqC59rp/ImRAtx8Cvm6NAG0jB ooKDuKv1w3VGCXYww3Xikj0LyN33OXpSa/Dwyw== X-Received: by 2002:a50:fd12:: with SMTP id i18mr6127269eds.137.1617892128439; Thu, 08 Apr 2021 07:28:48 -0700 (PDT) MIME-Version: 1.0 References: <1615447798-6959-1-git-send-email-skakit@codeaurora.org> <1615447798-6959-3-git-send-email-skakit@codeaurora.org> <86f8d5dbdb8d5d6627b9deece1978d07@codeaurora.org> <20210408023656.GM904837@yoga> In-Reply-To: <20210408023656.GM904837@yoga> From: Rob Herring Date: Thu, 8 Apr 2021 09:28:36 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/3] dt-bindings: mfd: Convert pm8xxx bindings to yaml To: Bjorn Andersson Cc: satya priya , Alessandro Zummo , Alexandre Belloni , Andy Gross , Lee Jones , "open list:REAL TIME CLOCK (RTC) SUBSYSTEM" , linux-arm-msm , "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org, Kiran Gunda Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 7, 2021 at 9:37 PM Bjorn Andersson wrote: > > On Wed 07 Apr 10:37 CDT 2021, skakit@codeaurora.org wrote: > > > Hi Bjorn, > > > > On 2021-03-11 22:33, Bjorn Andersson wrote: > > > On Thu 11 Mar 01:29 CST 2021, satya priya wrote: > [..] > > > > +patternProperties: > > > > + "rtc@[0-9a-f]+$": > > > > > > Can we somehow link this to individual binding docs instead of listing > > > all the possible functions here? > > > > > > > you mean we should split this into two: > > qcom-pm8xxx.yaml and qcom-pm8xxx-rtc.yaml > > Please correct me if wrong. > > > > Right, I'm worried that it will be quite hard to maintain this document > once we start adding all the various pmic blocks to it. So if we somehow > can maintain a series of qcom-pm8xxx-.yaml and just ref them into > the main PMIC definition. > > @Rob, can you give us some guidance on how to structure this binding, > with the various PMICs described will have some defined subset of a > larger set of hardware blocks that's often shared between versions? How you suggest is good. The only other thing is just 1 complete example rather than a bunch of fragments. Rob