Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/rockchip IT66121 HDMI transmitter GPIO setup



details:   https://anonhg.NetBSD.org/src/rev/85af3f5da5ac
branches:  trunk
changeset: 335284:85af3f5da5ac
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Jan 01 18:25:52 2015 +0000

description:
IT66121 HDMI transmitter GPIO setup

diffstat:

 sys/arch/arm/rockchip/obio.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 0b9bb16782c8 -r 85af3f5da5ac sys/arch/arm/rockchip/obio.c
--- a/sys/arch/arm/rockchip/obio.c      Thu Jan 01 17:59:18 2015 +0000
+++ b/sys/arch/arm/rockchip/obio.c      Thu Jan 01 18:25:52 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: obio.c,v 1.6 2015/01/01 13:32:24 jmcneill Exp $        */
+/*     $NetBSD: obio.c,v 1.7 2015/01/01 18:25:52 jmcneill Exp $        */
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -38,7 +38,7 @@
 #include "opt_rockchip.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.6 2015/01/01 13:32:24 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.7 2015/01/01 18:25:52 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -241,6 +241,10 @@
        obio_swporta(ROCKCHIP_GPIO0_OFFSET, GPIO_SWPORTA_DD_OFFSET, __BIT(3));
        obio_swporta(ROCKCHIP_GPIO2_OFFSET, GPIO_SWPORTA_DR_OFFSET, __BIT(31));
        obio_swporta(ROCKCHIP_GPIO2_OFFSET, GPIO_SWPORTA_DD_OFFSET, __BIT(31));
+
+       /* IT66121 HDMI */
+       obio_swporta(ROCKCHIP_GPIO3_OFFSET, GPIO_SWPORTA_DR_OFFSET, __BIT(10));
+       obio_swporta(ROCKCHIP_GPIO3_OFFSET, GPIO_SWPORTA_DD_OFFSET, __BIT(10));
 #else
        /* ChipSPARK Rayeager PX2 */
        obio_swporta(ROCKCHIP_GPIO0_OFFSET, GPIO_SWPORTA_DR_OFFSET, __BIT(5));



Home | Main Index | Thread Index | Old Index