Received: by 2002:a19:651b:0:0:0:0:0 with SMTP id z27csp3757031lfb; Mon, 9 May 2022 03:26:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzg2sbxjJNxjW6GUTwob6pLqYNj16MKWKW5LNeSOTdwHmMwYtxb1rTu8QqEnqFb/tMVr76W X-Received: by 2002:a17:90b:33cd:b0:1dc:c9b9:2a6e with SMTP id lk13-20020a17090b33cd00b001dcc9b92a6emr20556366pjb.86.1652091972104; Mon, 09 May 2022 03:26:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652091972; cv=none; d=google.com; s=arc-20160816; b=Ihf+oVFk/1F6lAkC/+ynbQyRqapka+aQ3c7jMHhs8w6djs2ggC+OGlXcL9yytP5ih2 SeA9yCTjHdu4Y/3ZAU0PCFTbtrnrTg0QcIkDpWx79Yzq2psQkx40vLd2tsgj04gF45U6 swSsseIZH1gFs3B3c39sp2MLfifgsMu/EbpIIqM8psb6u8eGRQbd2YHef2rRuwODaghw kO34Kk672O3cON53oR+L3q2ql8xZe2DxZw4tAyZbA8Smlt22x2YlMC9uRQkvccOBzr8b 5H6DXoZTpXehSlDq24vHN8Abf19ja+rKZPv8kFSTI0t0A2BAUbSXBCdR4dTWRcxIgqQ3 3Rkg== 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=ffn9G0lVjAVw7VY7Gf2gVJa9bJPx61VNfBkBP4QKUhg=; b=QKwT99EraMEen/N6EPOxftMzJzYHwGgsszsgyEsi/Og7IqUol477dFwC1LRXcC2Ovj yiHa9PZSjR6qCOxTyLz4cNOzPzfK86SwgkFMeNUtS4zXqkyZ25SMwtSI09D7+sxBmI3Z oEgAKfgz9l1/i6AaPUsMTcXVsW2fZDtbOIvFgeCE6bLycBZlCBh1F2ru0d3stqbnrBRA xW2rW1V18iOFkMxu8vCGuFQjhyqr+X4hrgd3tSqLxbLVdWeb8EmPO4w9wLJkAMZYeSql ShFT8sSObOeKGluMnbGiNnyH+6xIzunMOYNEsZVvdi0Dsi3hf2vCPdXgZDzxqsBd/Ih3 KUQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=k5iU4+wp; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id l7-20020a056a00140700b004faac3a73f4si14904559pfu.17.2022.05.09.03.26.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 03:26:12 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=k5iU4+wp; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 39B6E1B7929; Mon, 9 May 2022 03:00:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236163AbiEIHb0 (ORCPT + 99 others); Mon, 9 May 2022 03:31:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236268AbiEIH3U (ORCPT ); Mon, 9 May 2022 03:29:20 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95BA21ADAB for ; Mon, 9 May 2022 00:25:26 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id d6so15173305ede.8 for ; Mon, 09 May 2022 00:25:26 -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=ffn9G0lVjAVw7VY7Gf2gVJa9bJPx61VNfBkBP4QKUhg=; b=k5iU4+wpkI+gckTEyQH4UBbPHXsLPXH18PiLYdBl7uzRbx2ZqyT2op2yR7RabsO5sl cq/bJYUju0o/GmAfREaayXamQwFhL8YqhzC8DWuq+eeOORl9FqAOQrIUl0wSMy6QuNuc iCvDsShVxcJiy1+NWH8xT+RMYngLYWvMHgMf4T6He/YIjjmMr+GXNdUTS8MV2X/EASlh nI/w+Dku3ZrXh/CItkCZ/o8/8JNmYxJub6JtAvkEDKQto1EtwhpHVglffKEsfoUaLAOJ cfhzmwTtP7fGOFtHVo/RKo036vEwgSqEEAWJjKEu4dvGD7VA/OpiP7QaLMUXH9j60IjC QZ+w== 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=ffn9G0lVjAVw7VY7Gf2gVJa9bJPx61VNfBkBP4QKUhg=; b=ZqC06+1ulFLAPdHVeYK1ngWu+h1TD+u8yIlwkqIwwD2VZX93wxZ+0IiI+gFlpmJBul 3O1reAWeOxY6EqCe6EyYIq+2rJWu9fm6boykp8zDUfHZJL4r0+LVTigF8qyfkQIVSNy5 HWlTveJ0XnJw4+aFW0IT6SdyZeaUmoMfzpN+Ac7EitSXhpxHi6xkuZxTjH12jC3AjD1C A1gvX04skbS6w3xl4O3PhbMPQ7QYnZdcpXHVaIkIUj3UnPEcW4800CH0T60EJkYaykqN ho9rKV7io8DpM1XaMupwoxxdBVrRf/Pi4+qIc1BhBTmHtGM3SOSRWJ862u6yWyZSBrjC SlTw== X-Gm-Message-State: AOAM532X/QKcDJJYjSsnV120fV7ziDCE+LglI7f6VF6HMGOZ2oE9VjcY B0eEk57W3gH2WzQNHyzlmNW6bQ== X-Received: by 2002:a05:6402:50d2:b0:427:f49e:71a0 with SMTP id h18-20020a05640250d200b00427f49e71a0mr16020611edb.211.1652081125192; Mon, 09 May 2022 00:25:25 -0700 (PDT) Received: from [192.168.0.242] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id q10-20020a1709064cca00b006f3ef214dd7sm4788853ejt.61.2022.05.09.00.25.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 May 2022 00:25:24 -0700 (PDT) Message-ID: <422bf3bc-7787-97dd-6ab4-7570e5ce2ed8@linaro.org> Date: Mon, 9 May 2022 09:25:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v2 1/3] dt-bindings: media: rockchip-vpu: Add RK3568 VEPU compatible Content-Language: en-US To: Nicolas Frattaroli , Ezequiel Garcia , Philipp Zabel , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner Cc: Ezequiel Garcia , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220508202544.501981-1-frattaroli.nicolas@gmail.com> <20220508202544.501981-2-frattaroli.nicolas@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20220508202544.501981-2-frattaroli.nicolas@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 08/05/2022 22:25, Nicolas Frattaroli wrote: > The RK3568 and RK3566 have a Hantro VPU node solely dedicated to > encoding. This patch adds a compatible for it, and also allows > the bindings to only come with a vepu interrupt. > > Signed-off-by: Nicolas Frattaroli > --- > Documentation/devicetree/bindings/media/rockchip-vpu.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml > index bacb60a34989..4045f107ca4e 100644 > --- a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml > +++ b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml > @@ -22,6 +22,7 @@ properties: > - rockchip,rk3288-vpu > - rockchip,rk3328-vpu > - rockchip,rk3399-vpu > + - rockchip,rk3568-vepu > - rockchip,px30-vpu > - items: > - const: rockchip,rk3188-vpu > @@ -40,6 +41,7 @@ properties: > interrupt-names: > oneOf: > - const: vdpu > + - const: vepu This should be enum (for both lines above) and you should add allOf:if:then with a constraints which variant can have which interrupts. Best regards, Krzysztof