Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1126334pxb; Wed, 3 Nov 2021 18:57:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuYVIPeGmuhGrCJvYrNAesHI2KMz+K4KBGfyhQSqze3+aQeKVSDceFIo04nskdyrov9Mrk X-Received: by 2002:a05:6e02:1a07:: with SMTP id s7mr3782598ild.290.1635991026296; Wed, 03 Nov 2021 18:57:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635991026; cv=none; d=google.com; s=arc-20160816; b=mYkg5vyp/JL6hBpybfpcF7LTwLjF3CH3xUUFYwn5z2OlpiJ6HsOtUCAOoNGCtNr1JA 8XAp3Leim6mlUgaRmsKVeqeFz5Jb/9dbagEk+G/dU9muXXA6rLw4OdHBY83htxiTzu+f j9VaUvzyGRX3oIc4VlJdNkTXAeIZq851o4JSiv09tunn/uloZ6nWzgeUdCYoaZOu14mE PU4/Hbc4VktHjYkHfvpRZr2ove/M6oDY3647Ff/6xxHjhXrYfxBmlPq6LppgQBThmS1J a4OAHBNsxCuUiX6mBBQ2yP8ksqT01y1oY8ITvEeS4Pxh9bQpELSiQMLBBU278+Z8lngo JSyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=xHDRhxBwYvWNSiLaJE2QebAyd+xmjgZ4zT973gaed6A=; b=Qhuuei1O5iGMvr/inixSCKY7QGFSomLR5VU6tGrKWQwOZZxS3ewwgtFl24o7U2H6vf Bwg30wXx79SWI1z6qrivB/5s7xJLE7yG/SyyiVggO4FwHOglbCFwgxJ0Qo8qezZCL+Ie 1cfhCNLxyej1o3pSBNBnWnTpGLoSfJa6ruGSTlazYFCuaL+Qhh9YCVo2PhU6eT2SFXCe XEJW0INly8yBBUMVfbKchPOmQDv30Q427ao1KQx0czH6i0B/p+SqoW9iUJuk6wloCsRH he5yl5axJXOqt/mUwkTgiUP1ATwQl1H60EENf5vBD9OuRjNfSK60q3UaAr65O43kGlbw dmDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=yycPZc36; 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=quicinc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f11si7966704ila.39.2021.11.03.18.56.52; Wed, 03 Nov 2021 18:57:06 -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=@quicinc.com header.s=qcdkim header.b=yycPZc36; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232949AbhKDB4z (ORCPT + 99 others); Wed, 3 Nov 2021 21:56:55 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:18668 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231945AbhKDB4y (ORCPT ); Wed, 3 Nov 2021 21:56:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1635990857; x=1667526857; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=xHDRhxBwYvWNSiLaJE2QebAyd+xmjgZ4zT973gaed6A=; b=yycPZc367/5yb5t19o+0AqfXwiO4UTtyPXv+Jdr852yuPTp5NwDC7oUm FkTAanEV/iotPZavDUpcRjt8JgP8DWWyfMFgl8Dd0Y1pUiskR4GFO3ZlM nNaadlE30KZvsCQklmEqOgt48sh3PzzSsIZSt+4ZGl+BVj2Bs3DJ8eqsB g=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 03 Nov 2021 18:54:17 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2021 18:54:16 -0700 Received: from nalasex01c.na.qualcomm.com (10.47.97.35) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.7; Wed, 3 Nov 2021 18:54:16 -0700 Received: from [10.231.205.174] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.7; Wed, 3 Nov 2021 18:54:13 -0700 Message-ID: <8be3ee89-7fa9-4611-3fda-c152ca9fa444@quicinc.com> Date: Thu, 4 Nov 2021 09:54:11 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH v1] dt-bindings: convert qcom,spmi-pmic-arb binding to YAML format Content-Language: en-US To: Bjorn Andersson CC: , , , Andy Gross , Rob Herring , , , References: <1635836275-8873-1-git-send-email-quic_fenglinw@quicinc.com> From: Fenglin Wu In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/11/4 6:20, Bjorn Andersson wrote: > On Mon 01 Nov 23:57 PDT 2021, Fenglin Wu wrote: > [..] >> diff --git a/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml b/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml >> new file mode 100644 >> index 0000000..05bb114 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml >> @@ -0,0 +1,122 @@ >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/spmi/qcom,spmi-pmic-arb.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Qualcomm SPMI PMIC Arbiter >> + >> +maintainers: >> + - Fenglin Wu >> + >> +description: | >> + The SPMI PMIC Arbiter is found on Snapdragon chipsets. It is an SPMI >> + controller with wrapping arbitration logic to allow for multiple >> + on-chip devices to control a single SPMI master. >> + >> + The PMIC Arbiter can also act as an interrupt controller, providing >> + interrupts to slave devices. >> + >> + See Documentation/devicetree/bindings/spmi/spmi.yaml for the generic >> + SPMI controller binding requirements for child nodes. >> + >> +properties: >> + $nodename: >> + pattern: "^qcom,spmi@.*" > Node names should never contain "qcom,". Seems the agreed upon node > named should be "spmi@.*". > > The rest looks like a reasonable conversion to me. > > [..] Thanks, I will update it in patch V2. >> +examples: >> + - | >> + qcom,spmi@fc4cf000 { > Regards, > Bjorn