Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp747220pxj; Thu, 27 May 2021 10:39:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcqXsai5XrGEkUiVdk6kC57KZQ/BrnruGwXv+49oWrs0MF5mo0AWm7ZOBMuEzYR127XXxw X-Received: by 2002:a05:6e02:ece:: with SMTP id i14mr3836868ilk.258.1622137177081; Thu, 27 May 2021 10:39:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622137177; cv=none; d=google.com; s=arc-20160816; b=MpwY3xYDdAvEOIqThBUKLyr3dqtDFw9UzrPz8of67VVE0RAtTj9KUkcQITweMrsGj2 PkG2g/thk9CCN+9u+duXw1dteMrjARTqAR71s9prlB00SvtcPjQ8R25FkhKK4PQSUkrO TXJvpBcHbDV7tZDbyBmLVZHK1Sf9kvblds2Bq5T4rnIyrPaA3Ri+qiQhMbfUezh1I6b0 p31PkRgpDfajxoU0ygcgJHRiQIzN6kX7frH6UaTTqnZR6axiasAq1gwlQbAZGaqoN8j+ 0bsCnSB6ZM9v1evlGv9zGqjpLf4uNjm1toXhlO0Huoii3ECxwcfsV4CwVAfT4sWBRUbk Qh4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Rke4zQwPvrSuSlZA5HEJuyAjP5qkfCV7I4D9cjIxs6c=; b=M3bsf4NQCuzhR5dKIJpjM0sVTq87jLWiATwsm3wBTYdR7TLJZMVgXupdI0OEBTXVKw oB2u2sS/coQGuiftZgbRPy5zq6HJSkvc/R/go3x4CNN/S11mCtfdkOtxapvTU3DhmP/0 w8zq1iK3qmwAv6eWq0JtZOsMToiYLXkUY++WbyhIXGJdXEwZe3C5ViNmae7pGG2Gq85O iAIItQ6cFl/eO/sZrLp+x0fenDvsvAylIVkJHqnpdpuJIXHS0u9/BSUIr6jB7tBkf1/S QvzkL8yGTnpJfQ6bERjGOwtcGffz+WRJoLzx66yu8GCyx6vUycHeZY7x7UgOU8M92+TQ DnMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IhhLJkbk; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t2si2603051ilq.112.2021.05.27.10.39.23; Thu, 27 May 2021 10:39:37 -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=@gmail.com header.s=20161025 header.b=IhhLJkbk; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236704AbhE0PrO (ORCPT + 99 others); Thu, 27 May 2021 11:47:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235641AbhE0Pq5 (ORCPT ); Thu, 27 May 2021 11:46:57 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2450C061574; Thu, 27 May 2021 08:45:20 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id h20so873031ejg.1; Thu, 27 May 2021 08:45:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Rke4zQwPvrSuSlZA5HEJuyAjP5qkfCV7I4D9cjIxs6c=; b=IhhLJkbkySu4cWqS/Z/H/bB43kxmugCm8uX3SDcB3PMk2zlyRWdOPl294qaSyXcV1O Tnvo76yHG68UM2kWcagmaTUeM/nPwpueD4DPDJxgR8lO4TjE596+77kIMHDBL7Psu7DY w4UL3X3/4x6wbVkRD1CiU+TWL2K0r8E671J6TojDcLIKyjgsgvYMZvq/hdDhTILx0uTw HLaMoZgpG5UF3JPJOzUKw8bY/eGktXDu3tGuxwbbur/4IXj5zJ00D53vL5EIuZ+1Pzuy 9ld8KCmw0KQY+KGPIDL05NUYPKZAK487zuL4HacIqM+OilwsYHsVes+2VTp6rUu4Ym4N TITA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Rke4zQwPvrSuSlZA5HEJuyAjP5qkfCV7I4D9cjIxs6c=; b=nCWc7C+tnv1jLnnMtwMYw/Nbp52hYYLmv2wi7szgoWAvciUkxKrR0eIJo8lqevoP7q H0/dzqMbKVF9hQLYUlHeNKm9DbDsCm/FUw9puP99DJbBqFJ+ALj02MBrb3j6JEFe2xua lQAUumKGbqeCUfJ2gzm/lYgZcNN96uYxqUuZ0B1bbhVOm3yi6p+hky5ehbNk8racuuvI XNibCig40SuNFjDQwAWON82eqaT2tpFXWCe1WgUOpobXZmYwsqZ7qcy+C22ao2QbXCiV ZjT/zm6sRMAszKkAOWm4dpVQNUaUqyRzyxkHk5mxRlxt7UxMeTH8LiTxGQqICzqZAmc8 R2Ww== X-Gm-Message-State: AOAM531KTfiIOxJ6tkPtg1QJctyYBfWZyTX9speS0hxUL8oCk5wR7rBX C0NY5JabTXfC8snjuKKfYQRrzMLSPdKh X-Received: by 2002:a17:907:7747:: with SMTP id kx7mr4525224ejc.400.1622130318547; Thu, 27 May 2021 08:45:18 -0700 (PDT) Received: from localhost.localdomain ([2a02:810b:f40:e00:fefd:4d98:c981:7f97]) by smtp.googlemail.com with ESMTPSA id u6sm1178826ejr.55.2021.05.27.08.45.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 08:45:18 -0700 (PDT) From: Alex Bee To: Ezequiel Garcia , Mauro Carvalho Chehab , Rob Herring , Heiko Stuebner , Philipp Zabel , Lee Jones , Greg Kroah-Hartman , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org Cc: Alex Bee , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 02/12] dt-bindings: media: rockchip-vpu: add new compatibles Date: Thu, 27 May 2021 17:44:45 +0200 Message-Id: <20210527154455.358869-3-knaerzche@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210527154455.358869-1-knaerzche@gmail.com> References: <20210525152225.154302-1-knaerzche@gmail.com> <20210527154455.358869-1-knaerzche@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add compatibles for RK3036, RK3066, RK3188 and RK3228. Also reflect the changes to the additional clocks for RK3066/RK3188. Signed-off-by: Alex Bee --- Changes in v2: - fix order - fix indentation .../bindings/media/rockchip-vpu.yaml | 33 ++++++++++++++----- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml index c81dbc3e8960..b88172a59de7 100644 --- a/Documentation/devicetree/bindings/media/rockchip-vpu.yaml +++ b/Documentation/devicetree/bindings/media/rockchip-vpu.yaml @@ -15,10 +15,19 @@ description: properties: compatible: - enum: - - rockchip,rk3288-vpu - - rockchip,rk3328-vpu - - rockchip,rk3399-vpu + oneOf: + - enum: + - rockchip,rk3036-vpu + - rockchip,rk3066-vpu + - rockchip,rk3288-vpu + - rockchip,rk3328-vpu + - rockchip,rk3399-vpu + - items: + - const: rockchip,rk3188-vpu + - const: rockchip,rk3066-vpu + - items: + - const: rockchip,rk3228-vpu + - const: rockchip,rk3399-vpu reg: maxItems: 1 @@ -35,12 +44,20 @@ properties: - const: vdpu clocks: - maxItems: 2 + oneOf: + - maxItems: 2 + - maxItems: 4 clock-names: - items: - - const: aclk - - const: hclk + oneOf: + - items: + - const: aclk + - const: hclk + - items: + - const: aclk_vdpu + - const: hclk_vdpu + - const: aclk_vepu + - const: hclk_vepu power-domains: maxItems: 1 -- 2.27.0