From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 520BAC4321E for ; Tue, 22 Nov 2022 07:45:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232542AbiKVHpp (ORCPT ); Tue, 22 Nov 2022 02:45:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232563AbiKVHpY (ORCPT ); Tue, 22 Nov 2022 02:45:24 -0500 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 873B931DFF for ; Mon, 21 Nov 2022 23:45:23 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id f13so825718lfa.6 for ; Mon, 21 Nov 2022 23:45:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Q4rrJuYa2IECxYwiMtNKNlK59Iea73AY9K3iEfBn864=; b=qI9mYP9YrNMrTKAOvaJOh4GRWwwM/3IgTKmSqgVcJmA7D6iSjNZhRAolaPzQoRu+Wp lbnrAX7sa8i8vvP5uJ3eI76jX6DYCxXUgSf9nwNTjbokm2DNtvEFBdM6Nb2f/ZBmSqp/ s/tHvdYJjyyucQGCdSA+MNhfozef7sylRmt16DDk9bsap0MCo0oG1sWZuutDo5oU4jII Ttrms9agzxXacQehSTNOaMzT7NdQgybNevGco8tRCfEl8eFfSP7csmS/sBC3ZrO4dmvE vu1wuC+2dhgtXJtmgu0NoxtDTk44FG5O5OavksNE8A+D3GF3Xr+rV1wvjYwIXbI+S0K2 iRVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Q4rrJuYa2IECxYwiMtNKNlK59Iea73AY9K3iEfBn864=; b=btRk4N6haUOmr1oJGf2qMBKCW5TX77lbgDyhk6sUZRLDwNA47WkpmtzRHeJgI1XAvc lU1weFvJrfIz4UD1VIR9Uv/eyWixElQb6qtU06Az9eLuZ59RPmRc4QYipZAuxMeA99CH 7lqKOgARiKC9Y1umHpKKtEueDYRsHGPLOYw3icEFkS3SqwDBgc4yPgvA0pfyI9FmsKXq QsJscl4owCQzHPBawZKmZT/1r9qUpt08L/NL7XZllYd7Mswgzx/UQWdemHtOUjVjVsLg 00wP1CoVlq9TkqIo0iQohzhkgHHxgH9bATz/XGVmVXd9Et9otMx9Bpmoq7oK68ChRGtF pe0w== X-Gm-Message-State: ANoB5plT0mizdorhlef4Sr/7eMKq6f4b95MxtXQbQZ0rq3NXLa0eO5p1 4Lde3/8x4FzHMcNPxtnWkzI6Ew== X-Google-Smtp-Source: AA0mqf7QDPXGNntVFgiI4Zonhd/+zfJ/KN6RfygStEreI1d2N6+3gTxCPRXsuOKpXmIESg3lrt+hUQ== X-Received: by 2002:a19:4f46:0:b0:49f:5ddb:f8af with SMTP id a6-20020a194f46000000b0049f5ddbf8afmr7239230lfk.184.1669103121908; Mon, 21 Nov 2022 23:45:21 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id s1-20020a056512214100b004a45ed1ae21sm2344717lfr.224.2022.11.21.23.45.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Nov 2022 23:45:21 -0800 (PST) Message-ID: <1f12883b-1e37-7f2b-f9e9-c8bad290a133@linaro.org> Date: Tue, 22 Nov 2022 08:45:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v2 2/7] dt-bindings: clock: renesas,r9a06g032-sysctrl: Add h2mode property To: Geert Uytterhoeven Cc: Herve Codina , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Greg Kroah-Hartman , Magnus Damm , Gareth Williams , linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Thomas Petazzoni , Miquel Raynal References: <20221114111513.1436165-1-herve.codina@bootlin.com> <20221114111513.1436165-3-herve.codina@bootlin.com> <20221115150417.513955a7@bootlin.com> <20221118112349.7f09eefb@bootlin.com> <20221121165921.559d6538@bootlin.com> <4e54bfb4-bb67-73b8-f58f-56797c5925d3@linaro.org> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 21/11/2022 21:46, Geert Uytterhoeven wrote: >> This does not change anything. Herve wrote: >> >>> probe some devices (USB host and probably others) >> >> Why some can be probed earlier and some not, if there are no >> dependencies? If there are dependencies, it's the same case with sysctrl >> touching the register bit and the USB controller touching it (as well >> via syscon, but that's obvious, I assume). >> >> Where is the synchronization problem? > > The h2mode bit (and probably a few other controls we haven't figured out > yet) in the sysctrl must be set before any of the USB devices is active. > Hence it's safest for the sysctrl to do this before any of the USB drivers > probes. Again, this does not differ from many, many of other devices. All of them must set something in system controller block, before they start operating (or at specific time). It's exactly the same everywhere. Best regards, Krzysztof