Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2359550pxb; Sun, 24 Apr 2022 12:12:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7+hWjiekB7hAxG5I99st9MMPehjJoOUO1385VC9pAltxpFobv4GEISUY3gkPwJMhf4LDn X-Received: by 2002:a17:907:961c:b0:6ef:f0c6:a29d with SMTP id gb28-20020a170907961c00b006eff0c6a29dmr12671639ejc.246.1650827566382; Sun, 24 Apr 2022 12:12:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650827566; cv=none; d=google.com; s=arc-20160816; b=h342rHjegU6H11KT0iBj6ekPP57dN1ZZ2hscS5cfPF/uU8TUom+2BfqcvcN9qw/jOa Ya3guBeeSLxPPG9Zobld21a8x4+GmiVcy1P7bwndofSlH7/fSqyU1TYKeIYY87YZEru9 +8uMxJyWqyCK/PILvZrLvOzb815a30LeVVBUX+p0iB2q+tN4FVLaRwqAivmD4s9VcKoF DG0YSCWS8+VZToCmJjz1xS21yTpgV/4eeRNIRbj+haD/BubyzBoTX5rQ//DOte0eVbjI tUYr9Gu5I0k5IuRac1pv4JE2IfaduKXWueXGC81tCH/xHQSXc1+ebN6b3lFuaE2Lw2NX 1JyA== 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=cn6XbdSV75AzJUqDkArX7N9Qwi67g268+E4pm2dewqo=; b=hOX02YM8uK6qlLGqbJqp6Ikc9XimHussvm5ZpwwnY96nRkoo1bCHpE3Nv3CxK0QoNc WBVK22KH3N1XAAgzihQ/Jqf7e8/w/AT9fUmnrmFhAD6yE2j1/VNYc6ztbUZTdk315Y8n 8gz5QZvwdb6uOm/xPshbFaUebv7K9PA0MIMfAUQHtTLsHYbuX4W2ph22uXxEK9pb9qbw Ky1W3DxGO4ImHXlL9mQqkyqIS/6Dcwr3C25oEkU6vE87BdCzH4y9vv3NQjhDVkeNpDyL q9LFI55WQPd+HVhCt6YhE2Az9/ewZ/hC/58HL14C0zx3NVJ98oa5k+m1eguhqDRNtUV1 FwWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nll2PAJt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g8-20020a056402090800b00423f6b13d94si13439298edz.565.2022.04.24.12.12.23; Sun, 24 Apr 2022 12:12:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nll2PAJt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236808AbiDWSv4 (ORCPT + 99 others); Sat, 23 Apr 2022 14:51:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236806AbiDWSvx (ORCPT ); Sat, 23 Apr 2022 14:51:53 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4B371C5E34 for ; Sat, 23 Apr 2022 11:48:54 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id z99so14066035ede.5 for ; Sat, 23 Apr 2022 11:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=cn6XbdSV75AzJUqDkArX7N9Qwi67g268+E4pm2dewqo=; b=nll2PAJt9YMO/U59Hz37tDWVllasTrAyD3eCrwHBbN7g69GupF5QvhZK7r47s73zmv lKM4M1IM0d6ouCQjoWcZ1EoMFOjNhw1IeQBYzMihZv+a/tL2BUhoZsokr1KtK4ydPrAX fl2txqmjV93IWaFB0D2Ed3IwG/ZIaoM7ekdzjWGlK1X35Cm2dWCJtH1EWaIVquFWTMfy BetrPYvG9XNYTs6dKEG8M0Msy8Um5erafxbhRp0dtjazpFdSBXfTpMU7SxeCfPVWexVI oFN9xoJ3h+FV4xTYC5tur8a0iPICcTpTC+qpQbCoWsHI61wxqTDriiRf9iZ7n1bbk6hY BGFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=cn6XbdSV75AzJUqDkArX7N9Qwi67g268+E4pm2dewqo=; b=QQeJZkkNMEpyAdscd/zoxOhaRQnISD5WPUIm75eEEIJBvvBfv/O3rIYfMJkroIflaI InAHY3cjNYk9xvOY+fA8YnL8Qy2ur/2oMQENiOX981q6t8mhsSyAJ+GtX79NOtfqKaMa hRCS/cJP9xnPFgKJQnRQpZgmBBohUDgf5cQIXBEhvMrRbn6Cs9RXbTdfATu6qgymGDEx IfrOBn4W+NHEi6LxWgib0x2l5dH+DRK7OEubTh8D9BcEgpAaUxNmbprHWcCdEKoCJbPv 5LGYPY8nxtkpgSHzN4uZwTy6bvgZP7BGKpCMTnDttHFQcS3GKiEEMBo5imaJsAz6mTpb aDeg== X-Gm-Message-State: AOAM532mPLaLCCmVIzPj4ztXquopsjwwmgBHqPUmmiGxoHZe3xoW44Dm 7OqneKiVBRZHT0Za0tYPJ8cSKPVD1HU+1Q== X-Received: by 2002:a50:e70f:0:b0:425:da3c:4731 with SMTP id a15-20020a50e70f000000b00425da3c4731mr683754edn.223.1650739733391; Sat, 23 Apr 2022 11:48:53 -0700 (PDT) Received: from [192.168.0.234] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id l2-20020a50c102000000b0042423e1328fsm2445889edf.26.2022.04.23.11.48.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Apr 2022 11:48:53 -0700 (PDT) Message-ID: <24d1c786-17e5-bd70-df7f-55cff045df7f@linaro.org> Date: Sat, 23 Apr 2022 20:48:52 +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: i3c: Convert cdns,i3c-master to DT schema Content-Language: en-US To: Rob Herring , =?UTF-8?Q?Przemys=c5=82aw_Gaj?= , Alexandre Belloni , Krzysztof Kozlowski , Boris Brezillon Cc: linux-i3c@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220422192224.2594098-1-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20220422192224.2594098-1-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/04/2022 21:22, Rob Herring wrote: (...) > diff --git a/Documentation/devicetree/bindings/i3c/cdns,i3c-master.yaml b/Documentation/devicetree/bindings/i3c/cdns,i3c-master.yaml > new file mode 100644 > index 000000000000..cc40d25358ec > --- /dev/null > +++ b/Documentation/devicetree/bindings/i3c/cdns,i3c-master.yaml > @@ -0,0 +1,60 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/i3c/cdns,i3c-master.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Cadence I3C master block > + > +maintainers: > + - Boris Brezillon > + > +allOf: > + - $ref: i3c.yaml# > + > +properties: > + compatible: > + const: cdns,i3c-master > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 2 > + > + clock-names: > + items: > + - const: pclk > + - const: sysclk > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - interrupts > + > +unevaluatedProperties: false > + > +examples: > + - | > + i3c-master@d040000 { > + compatible = "cdns,i3c-master"; > + clocks = <&coreclock>, <&i3csysclock>; > + clock-names = "pclk", "sysclk"; > + interrupts = <3 0>; There is a chance this is IRQ_TYPE_NONE and should be something more reasonable, but without DTS example we might not know. Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof