Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2630300imm; Thu, 16 Aug 2018 12:46:21 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzfkyyKgv3Q5Hu8flfIV/ueEHsMCeXqc6v1B9pqvuzD2EdsEwyTeMVklvcF20Dh38QJRKdk X-Received: by 2002:a17:902:d24:: with SMTP id 33-v6mr30021443plu.211.1534448781020; Thu, 16 Aug 2018 12:46:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534448780; cv=none; d=google.com; s=arc-20160816; b=di3g+aw7/J9ykit2QEQd387CyIHr4AcKG08KEjRitKU3plizVPlSVpI5Kqzd9VSP3Z qOUmyvb0hLf0BssuWu89bsHQJHB/9PwvZ4nuHRTpEshosapDI50JVGkfQf/X6QPIt4iX 3x4i9S9vTGH870xA1N2m+jjImgz2kqMLMMRKniOVyyEJv0Y+APOS6Q/dgEaYwdhLXNEo mYeOcNYcwJFLVId7WkpuLV6jIvaEV+03t6RhxFCALaq8NcdMIf/V5oUXM3ItaQZesjRf D++EsNz6bcTYh2P2QED70NKOvL6IKK5OFK8Oc2MT9Iw18ufaPYW8OO9rR37I07M2FVc7 1kUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from:arc-authentication-results; bh=I7PTJS5b1BACRoo8fNJ+3GFgI1VuoM+lMiQ3Ubc3UEY=; b=HULbA/6F52DANerY6TRCJPoWjpA0O9+i8BmhNQlFbSeKdYFU0+niTqQyxO1/BI8m4y /k/2S5+HpbmEgZFKvgRAY+KxJO52nE+0RYQhDN/mkbINWOUx5oXMpYHf1SPFtFem/mIj 7re5wu21z+Wj3qtr17DG/7ceyg+cclm32vmVnIBD1s0T8krGMnDPFBqxzVLQBrX0N0kS 1qxTFSiNB9LZUM1O6nNZqA44AuMCZI7fzgpZDRMt/tFhrHRSziMZP9kxjWYzxKeQ2Cnt 1bQ2xdFjD2JUeC+oatzxaP1xBtd68pDDlvWWr3dQ76dL3KzF88QqglnJULE61+zePoOY y3Dg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 15-v6si178735pld.157.2018.08.16.12.46.06; Thu, 16 Aug 2018 12:46:20 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726168AbeHPWny (ORCPT + 99 others); Thu, 16 Aug 2018 18:43:54 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:47332 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726008AbeHPWny (ORCPT ); Thu, 16 Aug 2018 18:43:54 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w7GJO7Ka041926 for ; Thu, 16 Aug 2018 15:43:30 -0400 Received: from e11.ny.us.ibm.com (e11.ny.us.ibm.com [129.33.205.201]) by mx0b-001b2d01.pphosted.com with ESMTP id 2kwd5gp29p-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 16 Aug 2018 15:43:29 -0400 Received: from localhost by e11.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 16 Aug 2018 15:43:29 -0400 Received: from b01cxnp23034.gho.pok.ibm.com (9.57.198.29) by e11.ny.us.ibm.com (146.89.104.198) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 16 Aug 2018 15:43:27 -0400 Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w7GJhQnU10879310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 16 Aug 2018 19:43:26 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 01AE928059; Thu, 16 Aug 2018 15:42:04 -0400 (EDT) Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6109E28058; Thu, 16 Aug 2018 15:42:03 -0400 (EDT) Received: from oc6728276242.ibm.com (unknown [9.80.207.203]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP; Thu, 16 Aug 2018 15:42:03 -0400 (EDT) From: Eddie James To: linux-kernel@vger.kernel.org Cc: linux-media@vger.kernel.org, linux-aspeed@lists.ozlabs.org, andrew@aj.id.au, joel@jms.id.au, mchehab@kernel.org, openbmc@lists.ozlabs.org, Eddie James Subject: [RFC 1/2] dt-bindings: media: Add Aspeed Video Engine binding documentation Date: Thu, 16 Aug 2018 14:43:20 -0500 X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1534448601-74120-1-git-send-email-eajames@linux.vnet.ibm.com> References: <1534448601-74120-1-git-send-email-eajames@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18081619-2213-0000-0000-000002DCD4B6 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009556; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01074480; UDB=6.00553720; IPR=6.00854437; MB=3.00022761; MTD=3.00000008; XFM=3.00000015; UTC=2018-08-16 19:43:29 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18081619-2214-0000-0000-00005B39E1BB Message-Id: <1534448601-74120-2-git-send-email-eajames@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-08-16_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808160199 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the bindings. Signed-off-by: Eddie James --- .../devicetree/bindings/media/aspeed-video.txt | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/aspeed-video.txt diff --git a/Documentation/devicetree/bindings/media/aspeed-video.txt b/Documentation/devicetree/bindings/media/aspeed-video.txt new file mode 100644 index 0000000..91a494e --- /dev/null +++ b/Documentation/devicetree/bindings/media/aspeed-video.txt @@ -0,0 +1,25 @@ +* Device tree bindings for Aspeed Video Engine + +The Video Engine (VE) embedded in the Aspeed AST2400 and AST2500 SOCs can +capture and compress video data from digital or analog sources. + +Required properties: + - compatible: "aspeed,ast2400-video" or "aspeed,ast2500-video" + - reg: contains the offset and length of the VE memory region + - clocks: pointers to the the "vclk" and "eclk" of the syscon + - clock-names: "vclk-gate", "eclk-gate" + - resets: pointer to the VE reset of the syscon + - interrupts: the interrupt associated with the VE on this platform + - reg-scu: pointer to the syscon itself + +Example: + +video: video@1e700000 { + compatible = "aspeed,ast2500-video"; + reg = <0x1e700000 0x20000>; + clocks = <&syscon ASPEED_CLK_GATE_VCLK>, <&syscon ASPEED_CLK_GATE_ECLK>; + clock-names = "vclk-gate", "eclk-gate"; + resets = <&syscon ASPEED_RESET_VIDEO>; + interrupts = <7>; + reg-scu = <&syscon>; +}; -- 1.8.3.1