Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 63EFDC433F5 for ; Thu, 25 Nov 2021 17:40:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A78DE8365E; Thu, 25 Nov 2021 18:40:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="X/orPHoC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B9F35834B9; Thu, 25 Nov 2021 18:40:00 +0100 (CET) Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 20B7D82F89 for ; Thu, 25 Nov 2021 18:39:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=alpernebiyasak@gmail.com Received: by mail-ed1-x534.google.com with SMTP id t5so28846065edd.0 for ; Thu, 25 Nov 2021 09:39:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/WlZVLk0vS032+MqAbdejTe+TWypJjh1lHR48b3KWbc=; b=X/orPHoCzDghZYhVqXoavaoEzS98fH9jg1HoCGenhJqzIREPkvMS9w4GDrl02nLp/K i5r/j1/vbESnhG0h+53m78gstJmkiB4oWy3NJvvg98D1Dm8Zer4YGsbmjCmpSORwm0zj 1CxMxKtCPjsZzFGQIuBMGisVzHwu9+F3fV5ocVkYCk1TgMQlcAN92gmWWpLKcywgyAg4 ll0Xk+SI3h9Rn6Ru6T5G2SSNHOGVoWSzHkzD3HTZ1cue6D3C55nHjpf2mkOYpzqlS4np WCpmoAeoeYQk+AvrOpADx+WU9sEeO5RZdgALGuQ1NYpwRUpAg0j87f3QJfL4geuLdZy9 NM/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/WlZVLk0vS032+MqAbdejTe+TWypJjh1lHR48b3KWbc=; b=WvYPXz7deh1C+/WiOpq02uWoDpnOLt9oYRso3WX59XrsSVheQxtAGeAL0s9iS9/gc9 531jOBkvk+bvGLvXoMuU+nECYi1/nVmBEM4yLpmRyp00y2Ee/86/SrTOO8NpkJ93lBI5 UoxStJErYkP5TaS8jedbw7T+/pTBjkgvPJDfX3YEKEFi81d2WYZ9m/e5HymxyoI91zdo fICqwTezbmoHIzHXF0uLusvGDNsndqfgBU4sIxxIoUlf+9AUSdFRqMNIEuoYGEMMD4CT N03kKC6mxVPnWtRVz7NHEUaahxHLK+g786l0wEHFgUewRBvjR2RB6pZEMtEmLsUa+zF8 H7Kg== X-Gm-Message-State: AOAM533WI7o372TiyqCmzyVYQXmW5UIwtEnNHiKxAWs+V0tN6o1GPt7l EZdUrWIvbr4TZrKQqvk0w72sgPw3ZNQqVwJs X-Google-Smtp-Source: ABdhPJxLUkS1a0ILHYLQgd3zhqnPEXVMNqr4D+80Y2zxnW3TdRNAMv8jP4morarOE5E+jMOEAVsk0A== X-Received: by 2002:a17:907:94c2:: with SMTP id dn2mr32760223ejc.325.1637861995762; Thu, 25 Nov 2021 09:39:55 -0800 (PST) Received: from localhost.localdomain ([178.233.26.119]) by smtp.gmail.com with ESMTPSA id sb8sm2226107ejc.51.2021.11.25.09.39.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Nov 2021 09:39:55 -0800 (PST) From: Alper Nebi Yasak To: u-boot@lists.denx.de Cc: Peter Robinson , Tim Harvey , Jagan Teki , "Marty E . Plummer" , Simon Glass , Heiko Schocher , Alexandre Vicenzi , Artem Lapkin , Christian Hewitt , Fabio Estevam , Philipp Tomsich , Andre Przywara , Neil Armstrong , Johan Jonker , Kever Yang , Alper Nebi Yasak , Priyanka Jain Subject: [PATCH 0/4] rockchip: Improve support for Bob chromebook and add support for Kevin Date: Thu, 25 Nov 2021 20:39:36 +0300 Message-Id: <20211125173941.3038-1-alpernebiyasak@gmail.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean I have recently started testing booting U-Boot from SPI on my gru-kevin (as opposed to chainloading it from vendor coreboot + depthcharge) and brought it to a better working state based on an initial support patch from Marty [1][2] and some follow-up work by Simon [3]. I tried to keep them as the git author when I took things from their work, but squashing other changes into those and rewriting commit messages makes things a bit weird in my opinion, especially for keeping their signoff. Do tell me if there is a better way to that. As the Kevin and Bob boards are very similar. I assumed the config and devicetree changes will be appropriate for Bob as well, and applied them to it first. I do not have a Bob, so could not test on one myself, but Simon did test an earlier version of this and it appears to work [4]. Other useful things for these boards: - Patch to fix a hang when usb controllers exit [5] - Series to support HS400ES mode as HS400 training fails [6] - Hack to skip eMMC reinitialization so it keeps working [7] [1] https://patchwork.ozlabs.org/patch/1053386/ [2] https://patchwork.ozlabs.org/comment/2488899/ [3] https://github.com/sjg20/u-boot/commits/kevin [4] https://lore.kernel.org/u-boot/CAPnjgZ23jD92y9Ni8YW1FTL0a1sjhGOUoaKx13ZkoKN6t-SCKw@mail.gmail.com/ [5] https://patchwork.ozlabs.org/project/uboot/patch/20210406151059.1187379-1-icenowy@aosc.io/ [6] https://patchwork.ozlabs.org/project/uboot/list/?series=269768 [7] https://patchwork.ozlabs.org/comment/2779784/ Alper Nebi Yasak (2): rockchip: gru: Set up SoC IO domain registers rockchip: bob: Enable more configs Marty E. Plummer (1): rockchip: rk3399: Add support for chromebook_kevin Simon Glass (1): rockchip: gru: Add more devicetree settings arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3399-gru-kevin-u-boot.dtsi | 11 ++ arch/arm/dts/rk3399-gru-u-boot.dtsi | 55 +++++++++ arch/arm/mach-rockchip/rk3399/Kconfig | 11 ++ arch/arm/mach-rockchip/rk3399/rk3399.c | 4 +- arch/arm/mach-rockchip/spl.c | 3 +- board/google/gru/Kconfig | 16 +++ board/google/gru/MAINTAINERS | 8 ++ board/google/gru/gru.c | 56 ++++++++- configs/chromebook_bob_defconfig | 27 +++- configs/chromebook_kevin_defconfig | 116 ++++++++++++++++++ doc/board/rockchip/rockchip.rst | 1 + include/configs/gru.h | 3 + include/dt-bindings/input/linux-event-codes.h | 3 +- 14 files changed, 309 insertions(+), 6 deletions(-) create mode 100644 arch/arm/dts/rk3399-gru-kevin-u-boot.dtsi create mode 100644 configs/chromebook_kevin_defconfig -- 2.34.0