Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5524164rwb; Tue, 22 Nov 2022 00:55:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf5DEKdtykQGqIygD28xCsiQtHJQ/4unRb7SA+WGjTNdD6LmiXVIirlGlP5N2g83cbnZvgi+ X-Received: by 2002:a05:6402:2887:b0:460:f0c0:f9c8 with SMTP id eg7-20020a056402288700b00460f0c0f9c8mr10150476edb.181.1669107308136; Tue, 22 Nov 2022 00:55:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669107308; cv=none; d=google.com; s=arc-20160816; b=mu9sGSRDyrUWnjaFC+lcZCA8Kbg+a52zNPbY8n+27CNxPIisA7nzPOtReutzEQQ5PG 4goRU8Y4c6ACrCYkLMuZk1eoDG9oNAkpQeHLOPRDoSBjZFYMu6BHPapR02umVe5PlPKP aadt+g3vC4HRfs0b8TFn5kIToWV+hHz6O769bOf41gTSNxiepnfGK9khVV8crCWeANq6 NzaUEIMUGzv/5z9njX0RRG58vgjR+LmwMyAP72D9loDlZZcQRpt+x40EQidyenr1r6vu 0/EP9cbIZyKsVMpuqXCjSAbZwgAMEyxA8sDFHeFSVV+8V8ok+nVUIoosUueMKHAvUnM8 wDBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Q4rrJuYa2IECxYwiMtNKNlK59Iea73AY9K3iEfBn864=; b=fnuV8eE4Al12LM18s+vjz4GXSvQISiYJpqTC2ub06NWTWveY194D91of2euA6AFSry sgWAwLGRpGTcn7XWUx45HVe6diYJSsa+7Lbqeq0SwBMBZFoXu9yT0Um2wiWgv1xcvqQv 9/FgxZ7gXOM8B+fCJNMxiTSDo5asbmAKsenn9IXudDShOpUj3yz7YDa/BvvC9BjnJ20D UCeuSAUL8KO0aY+ZquGSNgY5mu4mK6CcyjRRVTG1FbY7v2OkmohLXu4h4o+ZtPJh7zBa GPr3mr52NvZKhkPHd1BoAXXSbRznbfh3Q3jf3ZR4aLpfDWCwH5kTPSRPStj52ZBC436P yrXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qI9mYP9Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wd3-20020a170907d60300b007ae72eabbcbsi5203398ejc.824.2022.11.22.00.54.38; Tue, 22 Nov 2022 00:55:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qI9mYP9Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232467AbiKVHpt (ORCPT + 91 others); Tue, 22 Nov 2022 02:45:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232556AbiKVHpY (ORCPT ); Tue, 22 Nov 2022 02:45:24 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8310831DDE for ; Mon, 21 Nov 2022 23:45:23 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id s8so22338425lfc.8 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=PNmcdaLTMZQd7O72hu0tbTZfJv4AevRPDRuGJ6Q2oBrHVcT0b3D3L4CsmWzSIQor3j Lw0zsn/xH6JNjiZzuQ0K8EzghNElGZdLAAhJg/BJ7qh7t6e5dFb70uH2EJjuXwGm40UT G6JSkRW8jhg5J1O9agGyrjPS7Ai6W9dbrwtdz6lDy3mq3WmaKf6F9ma3EfgXy3o98PjD YbzQg6SvDzLxz2fDog3t+riArtwpiT5zDAMqSpUGOd3z2tND7XLMo9ExGp2EL//Xr+tk lQeAKhKn7+gM6GB5Nlr2M/lOi30C0D6AYFtXVTuQ1CD6xAbyEC7rTLvSHibfx94YQj4v wpEQ== X-Gm-Message-State: ANoB5pmCAy2j5Hl49WpJ11RS9A14otOhlWdH0tchW0DWht2Gaxs2uphj tKI0/Jmj+2I2iNfPvJoYzRv4xA== 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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