Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1174828imm; Wed, 20 Jun 2018 12:59:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJLwGpr1a8iL2vMznWKJ/3/Pxoujmbugja6XUl8eTK3icVqVTjfbVpYORfZIbddTAiQZ3oI X-Received: by 2002:a62:e70e:: with SMTP id s14-v6mr24409511pfh.131.1529524780860; Wed, 20 Jun 2018 12:59:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529524780; cv=none; d=google.com; s=arc-20160816; b=eHi8n4OAAl0p8plxAZ3zDwoLu+11y3enUg2pxZ6emGotMCoWuUCBI+2TAqi+LdZ7TR vva9cwAaD2SbybhO9QbSnv4egXkHT5QpK//6xFpIndIodQRTIwZRnaxhF5VrHKr+kq72 2WS3xvoc0umF+ykCi73bhjeraITEXj/ndssWCx5hqtmELoXZTIaYthpAOaJHUiO5lHGI +a5gQ+hDZrC0aniaSZ4hVB+ub48PZxsQXIIgv5ejNTgJLmWD/A8wqCkPUDUjQQY6BADj rTpwrmiUgnnxQbdlubBTrLSZkqQ2zNHbzR4jml7P7l9VmdBEvQHGViTnS53BehgZuidO uafA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=PMg2+DjvHXFrg0KXm0aXHFA8buhRxOYkagaldbjVF2E=; b=L8qi3w5NrYJlVEgoorWZZ+8akriVdkyzw51REx7JZfnf0St68E/oOgSYf6FCsENv3K x59RIGL/4kFKZt5CIlvB2wR6/+ZRm+MlRn5Y0w7m7xZqzsVKPGeNqgX2VB+L3P6Til4l +93zwuQdFnL9KN4jzdGCCOkBH4yGT9is3F9Cz4MGEj13W8SjLAn0MP+XybG6vM8bPQS1 srcorjiIqAMaOzK263EQCjiKoAKgIMhT9EicJXPWuzQeFOWDwron+3xCFhGuY25Rzzsl tx+NvSGrAHHs/K8Szz6XRGcatOMVASTpsrEfVwrZrCeyDFApYSupNG6dgAwZIYgNVr2o Z1dg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u190-v6si3096541pfb.325.2018.06.20.12.59.27; Wed, 20 Jun 2018 12:59:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755096AbeFTT6a (ORCPT + 99 others); Wed, 20 Jun 2018 15:58:30 -0400 Received: from mout.gmx.net ([212.227.17.21]:58347 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755087AbeFTT60 (ORCPT ); Wed, 20 Jun 2018 15:58:26 -0400 Received: from [192.168.123.75] ([95.223.128.184]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MdXSC-1fqgxb1XSO-00PPVd; Wed, 20 Jun 2018 21:57:47 +0200 Subject: Re: [PATCH 1/1] arm64: dts: rockchip: correct voltage selector Firefly-RK3399 To: khilman@baylibre.com Cc: =?UTF-8?Q?Heiko_St=c3=bcbner?= , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Shawn Lin , Vagrant Cascadian , Enric Balletbo i Serra , Pierre-Hugues Husson , Jianqun Xu , Kever Yang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: <20180604171523.28454-1-xypron.glpk@gmx.de> <10782218.jfpm9omiT7@phil> <459cb125-a3e2-8f1e-b960-011020d41b3c@gmx.de> <6592028.l3WmXB2ndK@diego> From: Heinrich Schuchardt Message-ID: Date: Wed, 20 Jun 2018 21:57:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <6592028.l3WmXB2ndK@diego> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:9Uc4LVn18UpNJMehHUP2qrH9b2oIyrxKJo7JDzBmooSZXNLMkx3 fWBA9bQ40UyHHAxGfw7fopZnlmLDThUoPk0HEBCFydSGFAuDYJtzgwdytPFqJn/Im3FjWRz mFiI309laSnrk1M/TWd1Zcr4B3DORpHfO849/ppkWRZCy5alQ3KOy9j5U5zX8C+LnLoqCdP jcudCOcQRt5cl4RnmErdg== X-UI-Out-Filterresults: notjunk:1;V01:K0:E21+rBdGZO0=:xy0zc4Cm0DhLdqwTDvyhFC Ev9lU3NwwRekXiaHE/idnvorLf2HIo88Ahj8hL3xZmX2ziExDkppfXDPmCPBJoYK1q7NX3SLZ B7Y4KsqSHCUSfnXXH/a+NGA9GNqKMOu7S+fTQbXa9FxiXA9LL5HoxGCA8AmA6Abf3tPwu0jiz MSZoJgRjxuJm3bz0f3gdURyXkU6dG0MyaoEMvGykA9szieCan7XAbNvLEELP8BmMp1f4iWxUx Q030xDUCAgkRBsgaIaWGjvQKT2qiZDoPHpkUsxptEVkIMG9i3bUUqLZjOFy2X9O3fCbUacFrj uiYSLb5IjoOcJ+mEiNYh22YYfL1iUwVGsAeJcdUngIaI/KiuF0C4Wo2UKZAqgxE3Dda6+jrjJ UILXx68B80JAQD/X5KXctvPlHpqOHJnNDhmhty0uzJsDJUhjaQrL4nTkgn5ls007pOCgPuKZl q3XkmKRKKUsScdWPfZdtgzzgxepVF0EKIwQylVGgvh4dYWFozP11KNQ/LeYc8/U9jj1gy67TA hKfRuAo9U5SyjkP2plz4dMZcTZ5esO5LMx49ISk5UpgnRRlyxC4bcKIQ3y1hhbAwURR/lfd9F do0hjd0QmlhObn1pbYcvu/3eRydb2cOvV2ETN0yKRXMLS0EdQ7fE4mfzdQ4RRKFd2BAtKsDqx h1QHsa6FeXk+5lmkxdVyssD3l0oQUxLdcBzxX/RCwSups1/zSHnigsORZQCuJRrpbJCzRIGBt +/O3ccH6jylfOLGS244BvCEg0NdPDLPSIjhySFGXcuTN369l5kMxoDWlUPdGOkjyz4i/Q3NXo Ie38jqp Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/20/2018 11:15 AM, Heiko Stübner wrote: > Hi Heinrich, > > Am Mittwoch, 20. Juni 2018, 07:59:34 CEST schrieb Heinrich Schuchardt: >> On 06/20/2018 01:21 AM, Heiko Stuebner wrote: >>> Am Donnerstag, 14. Juni 2018, 14:55:27 CEST schrieb Heiko Stuebner: >>>> Am Montag, 4. Juni 2018, 19:15:23 CEST schrieb Heinrich Schuchardt: >>>>> Without this patch the Firefly-RK3399 board boot process hangs after >>>>> these >>>>> >>>>> lines: >>>>> fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected! >>>>> fan53555-reg: supplied by vcc_sys >>>>> vcc1v8_s3: supplied by vcc_1v8 >>>>> >>>>> Blacklisting driver fan53555 allows booting. >>>>> >>>>> The device tree uses a value of fcs,suspend-voltage-selector different >>>>> to >>>>> any other board. >>>>> >>>>> Changing this setting to the usual value is sufficient to enable >>>>> booting. >>>>> >>>>> Signed-off-by: Heinrich Schuchardt >>>> >>>> applied for 4.19. >>> >>> and dropped again. >>> >>> Sadly it looks like the patch causes conflicts with at least one firefly >>> board in a kernelci lab. My own is currently not ready to use, so I cannot >>> look myself right now. >>> >>> The issue kernelci people described sounded quite a lot like the one >>> in your commit message, so my current theory is that the >>> suspend-voltage-selector must in some form corespond to the >>> cpu_b_sleep_h gpio setting we're currently not handling at all, which >>> would therefore depend on how the bootloader sets this up. >> >> please, provide a link to the log displaying the issue and the contact >> who can provide the exact setup. >> >> I have been testing with U-Boot as boot loader. > > failing boot can be found on > https://kernelci.org/boot/id/5b2a053d59b514569079a872/ > > As this board is sitting in the "lab-baylibre-seattle", I guess > Kevin Hilman (Cc'ed now) is the one that can say a bit more about the > board setup. > > > The more interesting question would be how to make sure we don't > die with possible different bootloader versions. As I don't really thing > "upgrade your bootloader" is an always valid option. > > > Heiko > Hi Kevin, the RK3399-Firefly was booted on lab-baylibre-seattle with U-Boot 2017.05-rc3-00131-gf79fd58d5f5c-dirty f79fd58d5f5c is not a commit in U-Boot master. The version number tells us it is 131 patches ahead of U-Boot 2017.05-rc3. Dirty means the source contained uncommitted changes. Unfortunately this is not a reproducible test environment. Could you, please, provide the build recipe to reproduce the U-Boot BayLibre is using? Would it be possible to use mainline U-Boot in kernelci for this board? Best regards Heinrich