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 5289AC433EF for ; Thu, 9 Dec 2021 20:56:49 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 83AA7831E9; Thu, 9 Dec 2021 21:56:46 +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="fg1FW+rf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 517A7833C3; Thu, 9 Dec 2021 21:56:44 +0100 (CET) Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (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 212F4830C3 for ; Thu, 9 Dec 2021 21:56:41 +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-x52c.google.com with SMTP id w1so23448319edc.6 for ; Thu, 09 Dec 2021 12:56:41 -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=3eKXmSncyHl8nffWNdjlESyu1S/aiesLxdpfGV7k5/8=; b=fg1FW+rfDqSs1GcSlh17BfvnpzQh4KSOtfiY94Npy+ISBcdnAtTCKzLFRLb/UAxOhV ziWqUTYm8ZjJWl4mCIs9VanNI8kaMqOKAQZL8S4nB24MTrqjhOnv43dborEa3ITSESll /DLJf0bD0/VzxdTPKIcIgCuADggY0WbGq7xe5tJCtVJC/lzoKBgZV9PjE4N2AYW8WnOD 1gakO673+h2U1FDFSWlLH44D22vwu/WtYjK5m6iKfJmV5q+sM7lvKyljRx+TqTDJRvEB /Ii0LBytwPdgLeswHP9cWGwTDylffx24UL0BnrOPX3xWP9aqaZyPcFjYXri7Fnmjd9wB jDIA== 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=3eKXmSncyHl8nffWNdjlESyu1S/aiesLxdpfGV7k5/8=; b=4FRqgSeLYHr/3cH9RDJuwqdqxvvldySQ51Xv4rgnimTZZX8jDAHaho3d+xO/P7S7Pg C6FIWuI+DvYWS7Ycrrt9DeI5d9CN46MFLqydQmeRXCcaSGGiS+yi22q5bRThzoHCGv+2 HqJISjxvl4x2jskGpeRH4s2+UqL5sGMzHycv8AmwpRI6SX2Cw7sf1eT7Kq8k35m8Ex3t 9C2AdGmZI+dE8Ee6mQvCW7n/ngc7BGE+cQRPjHnq0cUZU8DAI/PrSojEZRMDX36Er0cU 88wtX4MWih2Rx3rqTKXbR5jEToD7t7lTlb0a+SWa5BXIk28Fa3jVL75LqdWLWShoYFhc fE/A== X-Gm-Message-State: AOAM532Pc/QUxsMpGiO2hg9XAF59qD81J89//MExUUboBNXedHW8uZ/W ArTy5cCvuoaPcZugiiqIiVY= X-Google-Smtp-Source: ABdhPJzlmS0FGsjnnCsq696aPu0xiUSGcYsqg5dDJlfaBrn5lCqrmixq6XfYdANvPYAwDYhmyWq+Bw== X-Received: by 2002:aa7:d8da:: with SMTP id k26mr32534847eds.406.1639083400722; Thu, 09 Dec 2021 12:56:40 -0800 (PST) Received: from [192.168.0.74] ([178.233.26.119]) by smtp.gmail.com with ESMTPSA id h7sm394069edb.89.2021.12.09.12.56.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Dec 2021 12:56:39 -0800 (PST) Message-ID: Date: Thu, 9 Dec 2021 23:56:30 +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> <69a6472c-2cae-f744-2d54-6f3cb195efce@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 09/12/2021 05:32, Simon Glass wrote: > On Tue, 7 Dec 2021 at 13:31, Alper Nebi Yasak wrote: >> 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. > > Well I have no objection to the patch. I'd suggest saying 'but with > the same values as asre set in the equivalent code in coreboot'. Ah, OK. I'll keep it with that change, then. (I'll also remove the unnecessary ifdef.)