From patchwork Mon Jun 20 03:50:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xinliang Liu X-Patchwork-Id: 70400 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp1321026qgy; Sun, 19 Jun 2016 20:51:52 -0700 (PDT) X-Received: by 10.36.14.71 with SMTP id 68mr13825060ite.98.1466394708951; Sun, 19 Jun 2016 20:51:48 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c133si30517130pfc.145.2016.06.19.20.51.48; Sun, 19 Jun 2016 20:51:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752647AbcFTDu5 (ORCPT + 30 others); Sun, 19 Jun 2016 23:50:57 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:35025 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752552AbcFTDui (ORCPT ); Sun, 19 Jun 2016 23:50:38 -0400 Received: by mail-pa0-f48.google.com with SMTP id hl6so46378707pac.2 for ; Sun, 19 Jun 2016 20:50:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NJh89Yx/CuhpQzXA6RkpPTakYFfp1Jm3Y4aZDktN+54=; b=VYse5lFhilFrPsfLmZjMIbltJ1BvgROrBQ619niyLd7hWQPHOS5iB7GdnZe3Pao/nt JX2Y7AeOSyUAgJffRPg0ML+iZYY/3y/lDtgLdLySMDP5VJg4BKBZFQGD/RmbpGd6n/8i 6vpM2K0Dmpd4gIBdpixVIz23iGfX9GUBgGYfk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NJh89Yx/CuhpQzXA6RkpPTakYFfp1Jm3Y4aZDktN+54=; b=HYBU/7tkYhGFEDTiQLZMtmSwR1O6QU8x+PGs4VYF2eZgIUEeeNV0JBcd05Zl9Lmb4h +JEyz4nMZZHTqlj0FhHML6Fb7aoaNUoRjMDzpkrIt5RpHqfJ8OV7Lr/YJ/aDvyoq5PAz sHbYo8wDZ46rFtVmTMH2OGQr2ScvzYnj2YDTVmah07m4HBiPaaaaMhnhejz/LIe7hJW4 BQYJyceZ7SnVxYp3fQlahv/U2BpWgBsB09yqBJsAiYAutkr/VyveE4zzAJaZTlZfXOCs 6xI1SrdnSsc0d182hf0MIe0sITHVaCpSD5sdYLl9cMark9gTZkd8704RT299zyqQJPlz CSPg== X-Gm-Message-State: ALyK8tKyYz38ou8y40M2DFcYBLk1HnOb0Mb0J1IxFaHmq3jLs6Aj+Kfisq/9Q4j8xRBDjtpk X-Received: by 10.66.138.110 with SMTP id qp14mr19354974pab.135.1466394637253; Sun, 19 Jun 2016 20:50:37 -0700 (PDT) Received: from HTSAT-OPENLAB-SERVER.localdomain ([14.154.190.136]) by smtp.gmail.com with ESMTPSA id i187sm50990403pfc.62.2016.06.19.20.50.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 19 Jun 2016 20:50:36 -0700 (PDT) From: Xinliang Liu To: p.zabel@pengutronix.de Cc: linux-kernel@vger.kernel.org, robh+dt@kernel.org, xuwei5@hisilicon.com, puck.chen@hisilicon.com, saberlily.xia@hisilicon.com, kong.kongxinwei@hisilicon.com, guodong.xu@linaro.org, Xinliang Liu Subject: [PATCH v3 2/4] arm64: dts: hi6220: Add media subsystem reset dts Date: Mon, 20 Jun 2016 11:50:05 +0800 Message-Id: <20160620035007.229629-3-xinliang.liu@linaro.org> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20160620035007.229629-1-xinliang.liu@linaro.org> References: <20160620035007.229629-1-xinliang.liu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add media subsystem reset dts support. Signed-off-by: Chen Feng Signed-off-by: Xinliang Liu --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 2 ++ include/dt-bindings/reset/hisi,hi6220-resets.h | 8 ++++++++ 2 files changed, 10 insertions(+) -- 2.8.3 diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 189d21541f9c..c19b82799a34 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -5,6 +5,7 @@ */ #include +#include #include #include #include @@ -252,6 +253,7 @@ compatible = "hisilicon,hi6220-mediactrl", "syscon"; reg = <0x0 0xf4410000 0x0 0x1000>; #clock-cells = <1>; + #reset-cells = <1>; }; pm_ctrl: pm_ctrl@f7032000 { diff --git a/include/dt-bindings/reset/hisi,hi6220-resets.h b/include/dt-bindings/reset/hisi,hi6220-resets.h index ca08a7e5248e..322ec5335b65 100644 --- a/include/dt-bindings/reset/hisi,hi6220-resets.h +++ b/include/dt-bindings/reset/hisi,hi6220-resets.h @@ -64,4 +64,12 @@ #define PERIPH_RSDIST9_CARM_SOCDBG 0x507 #define PERIPH_RSDIST9_CARM_ETM 0x508 +#define MEDIA_G3D 0 +#define MEDIA_CODEC_VPU 2 +#define MEDIA_CODEC_JPEG 3 +#define MEDIA_ISP 4 +#define MEDIA_ADE 5 +#define MEDIA_MMU 6 +#define MEDIA_XG2RAM1 7 + #endif /*_DT_BINDINGS_RESET_CONTROLLER_HI6220*/