Received: by 10.223.164.202 with SMTP id h10csp1463232wrb; Thu, 23 Nov 2017 18:40:56 -0800 (PST) X-Google-Smtp-Source: AGs4zMbuuVrEYUn+qOz1pfp2KRGiPb0fMUDXhN6ak225czl07HfH0NQA8BTOHMnJx2YkafyItTSs X-Received: by 10.159.195.69 with SMTP id z5mr27111982pln.183.1511491256012; Thu, 23 Nov 2017 18:40:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511491255; cv=none; d=google.com; s=arc-20160816; b=k47J1Y0rRZPEQGokvYSrdxFShrNu6tguUMtINHin3HgiwG9KxclqjLBNGUTnhdNVXX R/d/y2Jr1NXQLaNF7uyDdY2ifwS2eQsATs3y+fLGGJLsPfG2ggWDKNZKVxMLcBWTIwWW 9smPG0GogVXY522tValqjj+cdoj6VEG89e64p5E7vxYZW1w5r9N7e+kzGaV0809Z0hoC iQrDb2AS6Q7ayt0naIQJ0PI2E/+oouOaeWyNMcVytzuJZid5xiHJcFwJEMTgyd2S/igW q0dQs36HdWs4lvjAUE1JwvAtNEh+wSLziBKUb1XWZXeoz1uVd56xcEw3SU3kiB4GaSI9 xxYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=wqmiztOBeIUMdO4QAYVn/1rzE9nYxPCFYeNhpfph6PY=; b=BUmHM3fA9FcN4U/OX3moGIvUx382XPXxsXdwCGyUCZ8AdU20kZVDMugYqnQIKbOUkB cbegMDclkIK4CKbyWQAjplolUe5Py7nJfp9rurTw0siCs7zk3pfnccu48fGh9iYH4xd5 AMFXz+lHcMpGZM+TXP8eHgPACOYalN0WNXH/HKhcJpkbd+mLV5kjKKOOGMxkxOfi/JBN LWJ7uHy4kfXsoG2Y92cvKFLzagarslZKJi3rP/qfuA+7llO16IxCOctvRZFgADmOT6BD s+L73aTfeT2++1ZCl7gdNZHOwY7iGFpZihGN1YX0wnPgJ2YqI+bP2BbkcAnIwgeNQoSh Wthw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o13si13576713pgq.475.2017.11.23.18.40.44; Thu, 23 Nov 2017 18:40:55 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753425AbdKXCiB (ORCPT + 74 others); Thu, 23 Nov 2017 21:38:01 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:38187 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753395AbdKXCh4 (ORCPT ); Thu, 23 Nov 2017 21:37:56 -0500 Received: by mail-pg0-f65.google.com with SMTP id s11so14697689pgc.5; Thu, 23 Nov 2017 18:37:56 -0800 (PST) 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; bh=wqmiztOBeIUMdO4QAYVn/1rzE9nYxPCFYeNhpfph6PY=; b=BVlBhWP4fwTLsgeHoE27FTJPdGOVIHVPEysMVMGyDqLr7yRJbz7msmAC3BwuRyvkUQ wHSYmg7E5phhbELQuDN9lg0VLe2UuluAQGzrENMfq+W3QgAWJEHjOBsUd2CfsFbiT/UL KQvGfgDIPm3f+3TrQ+nVuHEVOoJ9fpuMBejSIG9ACFCwHFI6J4Bu3aD6bJiqm/oA8GRs KeYsCJEia6Mssjee4vikMyxON7+VfXCZmHiDAKLnlfbl+92cqWN1QjE/Gun/RamrtrtN oY/xH/j/ZgY6x41aTE3tsNyljLAbPB324mCuZNYkDDv6oULbseLWc1OVSDx/AEXyzThk +3Hw== X-Gm-Message-State: AJaThX6wSIog1lAsyXr8MKHPsLFgm9Tv4GlY1MfEM5A59Kq+IrbJ5iWg 2Hy+krrIxUUfS+jR6db33IE= X-Received: by 10.98.162.20 with SMTP id m20mr15295180pff.6.1511491076302; Thu, 23 Nov 2017 18:37:56 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id i8sm29440653pgq.67.2017.11.23.18.37.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Nov 2017 18:37:55 -0800 (PST) From: Jacob Chen To: linux-rockchip@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mchehab@kernel.org, linux-media@vger.kernel.org, sakari.ailus@linux.intel.com, hans.verkuil@cisco.com, tfiga@chromium.org, zhengsq@rock-chips.com, laurent.pinchart@ideasonboard.com, zyc@rock-chips.com, eddie.cai.linux@gmail.com, jeffy.chen@rock-chips.com, allon.huang@rock-chips.com, devicetree@vger.kernel.org, heiko@sntech.de, robh+dt@kernel.org, Jacob Chen Subject: [PATCH v2 05/11] dt-bindings: Document the Rockchip ISP1 bindings Date: Fri, 24 Nov 2017 10:37:00 +0800 Message-Id: <20171124023706.5702-6-jacob-chen@iotwrt.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171124023706.5702-1-jacob-chen@iotwrt.com> References: <20171124023706.5702-1-jacob-chen@iotwrt.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jacob Chen Add DT bindings documentation for Rockchip ISP1 Signed-off-by: Jacob Chen --- .../devicetree/bindings/media/rockchip-isp1.txt | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/rockchip-isp1.txt diff --git a/Documentation/devicetree/bindings/media/rockchip-isp1.txt b/Documentation/devicetree/bindings/media/rockchip-isp1.txt new file mode 100644 index 000000000000..5e5b72edcf81 --- /dev/null +++ b/Documentation/devicetree/bindings/media/rockchip-isp1.txt @@ -0,0 +1,61 @@ +Rockchip SoC Image Signal Processing unit v1 +---------------------------------------------- + +Rockchip ISP1 is the Camera interface for the Rockchip series of SoCs +which contains image processing, scaling, and compression funcitons. + +Currently device tree nodes for the Rockchip ISP1 driver includes: +MIPI D-PHY, ISP. + +Required properties: + - compatible: value should be one of the following + "rockchip,rk3288-cif-isp"; + "rockchip,rk3399-cif-isp"; + - reg : offset and length of the register set for the device. + - interrupts: should contain ISP interrupt. + - clocks: phandle to the required clocks. + - clock-names: required clock name. + - iommus: required a iommu node. + +The device node should contain one 'port' child node with child 'endpoint' +nodes, according to the bindings defined in Documentation/devicetree/bindings/ +media/video-interfaces.txt. + +Example: +SoC-specific DT entry: + isp0: isp0@ff910000 { + compatible = "rockchip,rk3399-cif-isp"; + reg = <0x0 0xff910000 0x0 0x4000>; + interrupts = ; + clocks = <&cru SCLK_ISP0>, + <&cru ACLK_ISP0>, <&cru ACLK_ISP0_WRAPPER>, + <&cru HCLK_ISP0>, <&cru HCLK_ISP0_WRAPPER>; + clock-names = "clk_isp", + "aclk_isp", "aclk_isp_wrap", + "hclk_isp", "hclk_isp_wrap"; + power-domains = <&power RK3399_PD_ISP0>; + iommus = <&isp0_mmu>; + status = "disabled"; + }; + +Board-specific: + isp0: isp0@ff910000 { + port { + #address-cells = <1>; + #size-cells = <0>; + + /* mipi */ + isp0_mipi_in: endpoint@0 { + reg = <0>; + remote-endpoint = <&dphy_rx0_out>; + }; + + /* parallel */ + isp0_parallel_in: endpoint@1 { + reg = <1>; + remote-endpoint = <&ov5640_out>; + }; + }; + }; + +The MIPI-DPHY device binding is defined in rockchip-mipi-dphy.txt. -- 2.15.0 From 1586145701386598485@xxx Thu Dec 07 17:06:57 +0000 2017 X-GM-THRID: 1586140794104972795 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread