From patchwork Thu Apr 2 11:41:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1060 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8B27C3F0D3 for ; Thu, 2 Apr 2020 13:41:41 +0200 (CEST) Received: by mail-pj1-f69.google.com with SMTP id l12sf2976833pjh.3 for ; Thu, 02 Apr 2020 04:41:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1585827699; cv=pass; d=google.com; s=arc-20160816; b=rpRqMwufBZC5W5nMoV31z/9NWOw640vn6P9N7PdzMOHIrlfdf++zumx/VYWdxtUCrP AlU/M9L5MK9SoDuC1glb8UUXhPMbc7LXkt4+MTv00dVKTeE+M+yqcDsskSLN/VJLSj27 /gUXeLvffhc2PgGyPHliyEgL4RPuzN3c7I2CDk+Ks1lrxN4z1tKlIBgvNZXhkgeGl+Uj ujQgyaQgRRpRlIx15Zz7c1nb6OYTJSvxeVhAy+WZ3rYTQCCPhlX/YgI97iEFg12lwed5 y/PMVpXSC5RR2fw6xsAjpf+yhYkq8eF3AtbPSMp60Ja6QeLv8kpuKYG8UVybMPhrT2/Y 84pQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:message-id:date:subject:cc:to:from :mime-version:dkim-signature; bh=QfD0evQdGBq0SWp+BMXIX7bbLjvYH4JoPngvSMVsWlQ=; b=oQohOK/kuYa6w8oDDZSuIPwgaQhaR770Hle696yQUHX1UcfRNg0v919nCY/L++Iq2N sv40JJN5YceFZthkoKODSlByuDRqXDiQ0G3UYw2IGpabobVKCqpBzsePvSKE25NCO0Fc ZBAOD0F1NQ0HzrwhcCv69ozOOXxYtigwW2vLJz1w2XKNZwnWv3IqmKVcVX6GF8LIurym Z3PEZimOA7h5VYjWgwv7tBoDxcGCFY/q3Emlt4Oz6YRozBTAsIocv6XvsEcz0zBKmWo1 W96kv0FrDx/q0L+cqPoBK//jHSkbZxDQImzLFfV7QQfZmJ2aLkwhP3cgf1tGcnFBkuaf dP2w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HgV+r7Ma; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:from:to:cc:subject:date:message-id:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=QfD0evQdGBq0SWp+BMXIX7bbLjvYH4JoPngvSMVsWlQ=; b=fxSQIIsVWax3vPLGk0L3CHLqsUv2qGeNWOtDtSchyb8O+YZEz10RGwgwydHLjhnh4Q Dwk81wXi+s4X92jzhy+0uWZ0T/OJFUCPAxY9Ep3qoX0XSxJ8+sKbY0zVipznPssPYsw5 PR0WrM0yH+FWgqwIbSHDppxX4Cu7ImVsiSPRI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=QfD0evQdGBq0SWp+BMXIX7bbLjvYH4JoPngvSMVsWlQ=; b=YQ6Rfna3bsskfyyO7d+f6nZcAHuur+7rJloGNdhpSr21FriDe52heckMfJ0aFiydTT rCbLqf+TkbCNefUewwjL6juDTQr8EyJpVxdoIOy/5m2L13FJB/kuMntSaaVsj7G2G2nK So1NRo0Nwzm5HT0BzyFRgi8FXEJj2WW/9Ig9mpBOFu5jqThdL/UAt0gE32X0JubaJmrk EK5JJP5Q31dqCqeG55gAn3b1SV4k/eaZA2ShDKDpBf2GAHTq3Cu9RbRCXIhnWDxu5lPB REFy+KQjkI71Bkkk4ybaxhB3XBlBkLrmcMtiNnB2X8yLgeXlt74qpQytq+FHS2Afj7J1 aJ1w== X-Gm-Message-State: AGi0Pua3okRa2J8GWPYjBOEFyWzY81Oi2+J9dlkhGfo3h89NKMkFYUW8 qxJtXASbvJq0o8IBONA7PuKSR97i X-Google-Smtp-Source: APiQypKpoJuiH2AAigqmDRi/BWXD+sJ1msKrKwwE5GYK02rIMKhSSHd2/SO9pe6gr2AxvF6TOuGH8g== X-Received: by 2002:aa7:8ecc:: with SMTP id b12mr2954038pfr.56.1585827699304; Thu, 02 Apr 2020 04:41:39 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:fd82:: with SMTP id cx2ls2947613pjb.1.canary-gmail; Thu, 02 Apr 2020 04:41:38 -0700 (PDT) X-Received: by 2002:a17:902:bd45:: with SMTP id b5mr2487372plx.185.1585827698739; Thu, 02 Apr 2020 04:41:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585827698; cv=none; d=google.com; s=arc-20160816; b=Z8OveZtCcplNx9yDKyewWq3reobRbUkA3SuGvpXbOSoKXccs1VJOrPB3D/uP3E+tS4 4wqUgA3zKswlsAkcz73ZF6WLy99F5sSe9HGwS20jpQQVNgTMmEAoWtWoluygGXyjxwT3 RbTi7j/14gXC7jWvgNng53qeumQiHGtF5jW31JdhGm0pfyHQZElu9DB4qYu/avCbIa6O gk58yDuwslNE1c7O+4Sc23Eco34z8KlfqL/+x6PzL4Wv8AhV92XPKq0Gmkfe/kpdXeoD nFxLbwFSnxEnuO0UemXlGCozqQLEfNqDaSzkNJrIciVPCWLu7lhwgTbaMDuNrPLqGlJw 6Z4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=2ENfbLtQlJ1RmgZwwBaezgCh5zALam8o7iCVSptAu7Y=; b=LYtYA9p4vm1c022KCgjgFjAzdcK8+ZkF3RijFIrRjHp5JxZI9b/Ko1MsOZd1YWb/rL adriOECH4xyieLx2cQTenVrbTUxk7hqvFjxe+f1R5tlbDNjlhnrygumqQWt4x+Shgg7N sIYFoIVwkxyzPrbqeAl9ADNB5CzmepNQTrVT1r0QwF//dDDR7QrYyKl3Ssz/1mAnNhTx Y8ZGmGpY/gwIkuItx1J7p+9YPdLKDVnVCkn0NQcxlknAUdIyrMUbUHYln8ZV5nHxOZFF bINZgYU8IYmB+ZNttJSsCZlChou2kH6w7woKLWUtctTn5yR4I8CtQhZvUxschiO8LGk+ Q8Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HgV+r7Ma; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id j9sor6211088pfa.100.2020.04.02.04.41.37 for (Google Transport Security); Thu, 02 Apr 2020 04:41:37 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:170f:: with SMTP id 15mr2698071pfx.12.1585827697499; Thu, 02 Apr 2020 04:41:37 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3532:519d:ba6d:25e1]) by smtp.gmail.com with ESMTPSA id i4sm3618107pjg.4.2020.04.02.04.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Apr 2020 04:41:36 -0700 (PDT) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich , Anatolij Gustschin Cc: Mark Kettenis , sunil@amarulasolutions.com, u-boot@lists.denx.de, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v3 0/5] rockchip: rk3399: Fix HDMI out Date: Thu, 2 Apr 2020 17:11:20 +0530 Message-Id: <20200402114125.2501-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HgV+r7Ma; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Due to recent Linux dts(i) sync for rk3399. the existing vop driver is not working with HDMI out on RK3399. This is v3 patchset, for previous version fixes[1]. Changes for v3: - handle vopl clks in clk driver - drop dts changes - fix 4K display out for rk3399 Changes for v2: - use usbkbd as stdin - enable USB Keyboard [1] https://patchwork.ozlabs.org/cover/1264187/ Any inputs? Jagan. Jagan Teki (5): clk: rk3399: Set empty for vopl assigned-clocks video: rockchip: Fix vop modes for rk3399 rockchip: Enable pre console for rk3399 rockchip: Enable HDMI output on rk3399 board w/ HDMI video: rockchip: Support 4K resolution for rk3399, HDMI arch/arm/include/asm/arch-rockchip/vop_rk3288.h | 11 +++++++++++ arch/arm/mach-rockchip/Kconfig | 1 + common/Kconfig | 1 + configs/nanopc-t4-rk3399_defconfig | 7 +++++++ configs/nanopi-m4-rk3399_defconfig | 7 +++++++ configs/nanopi-neo4-rk3399_defconfig | 7 +++++++ configs/roc-pc-rk3399_defconfig | 6 ++++++ configs/rock960-rk3399_defconfig | 7 +++++++ drivers/clk/rockchip/clk_rk3399.c | 7 +++++++ drivers/video/rockchip/Kconfig | 2 ++ drivers/video/rockchip/rk3399_vop.c | 2 -- drivers/video/rockchip/rk_vop.c | 4 ++++ include/configs/evb_rk3399.h | 5 +++++ include/configs/rock960_rk3399.h | 5 +++++ 14 files changed, 70 insertions(+), 2 deletions(-) Tested-by: Peter Robinson