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 AD53CC4332F for ; Tue, 7 Dec 2021 20:31:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BEB5D80FD6; Tue, 7 Dec 2021 21:31:48 +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="TwYp22G6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F04ED82A59; Tue, 7 Dec 2021 21:31:46 +0100 (CET) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (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 5615A80F90 for ; Tue, 7 Dec 2021 21:31:43 +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-x529.google.com with SMTP id x6so720225edr.5 for ; Tue, 07 Dec 2021 12:31:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=Lq3T/5eDtlWLDC2XYYTBZ2NNC9WMWPjN5q6Ac8cibmI=; b=TwYp22G6xiBjVWyTyWhJE2g36XwepjBuinHTuvzySjnJZVslMrg8/TEqrbbYPeOMb2 eBQJ0KxhnlF38itvV6KRtEd7rmFBSPXdzsR3jjuD6xRbaDYpQZE1s6bLHXDNBR3iwq99 T6si5vbcn37qfwBf0Z+N4TLfiAdbMth/vAztJmZrKQngZ4EphRW3LpqTa2bHpi446j1N ZcIL68I8BlXC8lcrRmyKqZbVGfbVEJnGrRkyIU1vnR1RO6+wQIXNQO/pdRjb5xCR2VkC xEIDrmFZDE7seJqyWS+CZJT2haiMqpHKhxIqdxxBHZoxqI4X1W/cTHXJiUwHj2giy9jr JGXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=Lq3T/5eDtlWLDC2XYYTBZ2NNC9WMWPjN5q6Ac8cibmI=; b=aFxxXN/14KuwEaEspoGpO7zBVLG6ry8Rgmb9s8Zrb7ULmETVkSeWxotiGU4Gf30v3p MCrhFDo1/599CeILlfdpAl8N0eQ5qxwNYoUQbxlTEbJzUaZZZ3BOTC/Ir8tN4OvkSgjL VxaFGeW9N6bUXm2lf6NmzrsLYHtjEYt2PfxZZdW125aMkP64sCv1DRyd3vQU8XKexbTg 7ml3XtJY4KSJoJ7SqmwOgpQvQi4NjlSC70tENxfRXTdUlO8FC5BVOe+11oXMIhd+9nV5 7A4sjcE6RlCgthLewpY6gZwDGLfrge328uRBaXKBBnWirI5TnikzqX+Yc97aIb8A1ZH5 2Itw== X-Gm-Message-State: AOAM531b7s42Km5AcV0/qAgJS8ReFVMimbQEPDSPeTN0EGx1Cg8qS8R9 HPEonPzuBR0/w7CkO+r3SY5whw7vBGA= X-Google-Smtp-Source: ABdhPJyhLwtZwCjzt4B7RnNRvzlwV0aR5AnyS6FpJLTNc1kt90Szbt5HX1Qaujv7RTzkVKApWvbSUg== X-Received: by 2002:a17:907:2cc5:: with SMTP id hg5mr2025493ejc.138.1638909102932; Tue, 07 Dec 2021 12:31:42 -0800 (PST) Received: from [192.168.0.74] ([178.233.26.119]) by smtp.gmail.com with ESMTPSA id l26sm537918eda.20.2021.12.07.12.31.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Dec 2021 12:31:42 -0800 (PST) Message-ID: <69a6472c-2cae-f744-2d54-6f3cb195efce@gmail.com> Date: Tue, 7 Dec 2021 23:31:35 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: [PATCH 1/4] rockchip: gru: Set up SoC IO domain registers Content-Language: en-US To: Simon Glass Cc: u-boot@lists.denx.de, Peter Robinson , Tim Harvey , Jagan Teki , "Marty E . Plummer" , Heiko Schocher , Alexandre Vicenzi , Artem Lapkin , Christian Hewitt , Fabio Estevam , Philipp Tomsich , Andre Przywara , Neil Armstrong , Johan Jonker , Kever Yang References: <20211125173941.3038-1-alpernebiyasak@gmail.com> <20211125173941.3038-2-alpernebiyasak@gmail.com> From: Alper Nebi Yasak In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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 On 03/12/2021 06:31, Simon Glass wrote: > On Thu, 25 Nov 2021 at 10:40, Alper Nebi Yasak wrote: >> The RK3399 SoC needs to know the voltage value provided by some >> regulators, which is done by setting relevant register bits. Configure >> these the way other RK3399 boards do, but with values set in coreboot. > > What do you mean by values set in coreboot? We don't need that to run > here, do we? I meant that I wasn't blindly copying from other boards which have the same block (e.g. Pinebook Pro), but was using known-good values for Gru boards that coreboot also uses [1]. I tested again and it looks like my Kevin works just as good without this patch, so I'll drop it. [1] https://review.coreboot.org/plugins/gitiles/coreboot/+/refs/heads/master/src/mainboard/google/gru/bootblock.c#19 >> Signed-off-by: Alper Nebi Yasak >> --- >> There is a driver for this on Rockchip's repo, I managed to forward-port >> it and get it working. If that's more desirable than doing it per-board >> like this I can send that upstream (but I'd prefer to do it after this). >> >> board/google/gru/gru.c | 54 ++++++++++++++++++++++++++++++++++++++++++ >> 1 file changed, 54 insertions(+)