Received: by 2002:a05:7412:85a1:b0:e2:908c:2ebd with SMTP id n33csp30639rdh; Mon, 30 Oct 2023 12:46:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHTlRei3gCHmyyFPYv9kwPBplQqo445lN1pd2b7wSJB/OydaE/CGb2+ClcflLUCpL1rufsJ X-Received: by 2002:a17:90b:1bc7:b0:280:1fdf:2f3d with SMTP id oa7-20020a17090b1bc700b002801fdf2f3dmr5297921pjb.16.1698695187101; Mon, 30 Oct 2023 12:46:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698695187; cv=none; d=google.com; s=arc-20160816; b=zScerJuCX7pokSexYt8e5XUwPdjFocuQL2xnw1vRpfj68S/sh86j5XgSpDWbNKO4I+ IB/vkjVI7H/h05RsSUJaf5PVgwCspUGozJYxRHeQ9v6aGD+MqyWAvEfuJJ2jQ7dkApdO K87d0krHMtpV9kdQ2A0m+cUye+amDW1x3bF5OOAU/DzXBmx0iO5Kxpi6BICB0Zx/k3Dt zliyaSZGRkJ3yGFbXc654Z1xWMiG4a/y5CK1teiZud77Ug0yIK+gfam/cMBuF1ff0Hf6 3KlUVLB1dqw96tJ8s8CA1Lsb/2FdqY9fy2c23tvnH1Ol/ayy2BukADsHV6dXDq0PNeQy KThA== 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:autocrypt :from:references:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=5WjIZeZiRK/z4GlDs2YMFbJYgUfec8FrdI9S/Un71yg=; fh=2220IcskkAMPM6b5RMUuqN64tR1VmL8vWcqXshFQZ74=; b=g0nvkUVSj+Df9mybIzeKPAUT+mfXwjwAB0ZT+wAA5lL9lGeUa3B8fRq8TjEwoblAP3 /WSwdG7A+anRVQxNmvSt7LF+1g0tERrV3w++7FM3QR7kXd+KOJcEWW7CbD6+qblkag8G x1hYSIgQCJW/oaz5ja4dA/pPNI2Wv07KzbOT3JOUIZG+ik4EvieYSIi87jC1CtO23a+Y KCnznFpjgM5CAPM/tHvGyKWYiCZ3tIz7Q0AYQNQXH2hi4dBUNN5cARbH6MZ5fPavQb+N p/igx/7BTyZjCiSdkv2Ba+EQXBcvwyimkhOWn1YTsj6wSI7D0752L3dehDmZnqfo0dml KeCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KP41biw0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id ct14-20020a17090af58e00b00263f3c1bb86si5306747pjb.158.2023.10.30.12.46.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 12:46:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KP41biw0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 144E4807751A; Mon, 30 Oct 2023 12:46:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229843AbjJ3Tpx (ORCPT + 99 others); Mon, 30 Oct 2023 15:45:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231235AbjJ3Th4 (ORCPT ); Mon, 30 Oct 2023 15:37:56 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D661E9 for ; Mon, 30 Oct 2023 12:37:39 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-507a5f2193bso5447008e87.1 for ; Mon, 30 Oct 2023 12:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698694657; x=1699299457; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=5WjIZeZiRK/z4GlDs2YMFbJYgUfec8FrdI9S/Un71yg=; b=KP41biw0rZ+rU1hv7rperYPy6yj7/LDCgqF5V/RP9KG0i4oMWlDbrgUHHiFRx0G9yT LIF6bM6G+Cby/bIlAhx2QvcK9/YHSsE/MYN/+86rMerAzeX/oNjzMGmxYuO4UezM4Ucl e0yXb6pNGs8mXTKJ3ZzgcUNqjnnvMBBIDeA/pcfmWqCkFz6UWsIyyghjqp+vEnOU08L2 Soo9y8LOWzilIfSdD0C9CQSVN/YOjLk5E+fK395kfW1AtO8U14TB8woIz2B9dbCejScb BIcEoKXGXFY1dXRt+NZGUUlrzj+9tO/dmi/PP6lLXzORv7Ph3cUYQQ41pgUQ0UBMpbuQ 9mMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698694657; x=1699299457; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5WjIZeZiRK/z4GlDs2YMFbJYgUfec8FrdI9S/Un71yg=; b=mb3JqWqshN7oqbeJgTNXaiVWQ2AwupZfacIS4MmeNMg2NQ8Nr7sWn3IE1er9cixABc b9/VdUfUYcssqLvIuNdXWlatoUSM3nP//hr1DtMZpdHIJ0nKydjdedPC21xtvhLVN4eM qPdnQng8QsOiZ5CzhJygBhBBO9mxwEOMn1NTv/biiVCg7INOxjh+uA/TvgWVt9UQLzvb S4ls43nh0aAVw+0IjwskQq78NCQ8LcRgCCeohbtRKo2ISefgtJTOi6rMHb1r+LzeBwXt JfqTzDPxJvozjRwc8ob6wn6WvzKpLs0uIbOMXreXk8Uf0JgPGeZR6INKW4do4tJxj0sH zYVg== X-Gm-Message-State: AOJu0YyTBzD6sR04xaYOJelSS+IX4f3uGxEuuNTRho8h4y466VZRoD4s JG8JsCGLA/TPUEzASTP8VqamCg== X-Received: by 2002:a19:ca50:0:b0:501:b929:48af with SMTP id h16-20020a19ca50000000b00501b92948afmr176551lfj.34.1698694657568; Mon, 30 Oct 2023 12:37:37 -0700 (PDT) Received: from [192.168.133.160] (178235177091.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.91]) by smtp.gmail.com with ESMTPSA id x15-20020a056512046f00b005091665b83asm904778lfd.28.2023.10.30.12.37.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Oct 2023 12:37:37 -0700 (PDT) Message-ID: <20c8cfde-3f55-45c5-bc23-21979ac9680d@linaro.org> Date: Mon, 30 Oct 2023 20:37:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/3] clk: qcom: ipq6018: add USB GDSCs Content-Language: en-US To: Robert Marko , agross@kernel.org, andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Kathiravan Thirumoorthy References: <20231025104457.628109-1-robimarko@gmail.com> <20231025104457.628109-2-robimarko@gmail.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5dfFgFAmQ5bqwCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQR4cBcg5dfFjO BQ//YQV6fkbqQCceYebGg6TiisWCy8LG77zV7DB0VMIWJv7Km7Sz0QQrHQVzhEr3trNenZrf yy+o2tQOF2biICzbLM8oyQPY8B///KJTWI2khoB8IJSJq3kNG68NjPg2vkP6CM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9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 30 Oct 2023 12:46:09 -0700 (PDT) On 29.10.2023 12:04, Robert Marko wrote: > On Wed, 25 Oct 2023 at 12:45, Robert Marko wrote: >> >> IPQ6018 has GDSC-s for each of the USB ports, so lets define them as such >> and drop the curent code that is de-asserting the USB GDSC-s as part of >> the GCC probe. >> >> Signed-off-by: Robert Marko > > Unfortunately, after testing on multiple devices I hit the same GDSC > issue I had a long time ago > that was the reason I did not send this upstream. > It seems that USB3 port GDSC (USB0 GDSC in code) works just fine, > however the USB2 one > (USB1 GDSC in code) it is stuck off and USB2 port will fail due to this: > 1.607531] ------------[ cut here ]------------ > [ 1.607559] usb1_gdsc status stuck at 'off' > [ 1.607592] WARNING: CPU: 0 PID: 35 at gdsc_toggle_logic+0x16c/0x174 > [ 1.615120] Modules linked in: Can you dump GDSCR (the entire 32-bit register) at boot and when toggling? Konrad