Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp554997lqh; Tue, 7 May 2024 07:20:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXqoBXEYlP1vgpjfqFxoeT7d6WFZCzn4AzTe/vTJ7ZrXORt/zmmXmiZP7teSyFxmeRAiGsayHLYiC7oF1KEACKhXzp07OhEbHQ+l4vO5A== X-Google-Smtp-Source: AGHT+IGnJ9yx7PQySoktMiwci37V2XFkoZ5uCYNLz6oCX5YT8Io51pXuaoGwSHQ/+JdM4EJxNB+z X-Received: by 2002:a17:907:3f28:b0:a59:c941:e5e5 with SMTP id hq40-20020a1709073f2800b00a59c941e5e5mr7922874ejc.45.1715091652151; Tue, 07 May 2024 07:20:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715091652; cv=pass; d=google.com; s=arc-20160816; b=WO3j2SKa4eCm/ZyF2NeWwA1mBh0L6BpDzGz1Bi0iA/UTsr3Yw7el4TXhcHJjlr41rM YNjMcHAWNrSprFI2YrWNMiwqg4GCXB0BpN9jYuq98zWuhtNk4FsnazVcDTjmWGkukPvQ 7kSURGnZZvOK7ZxyAJupdJSZhJ6R8BVi5H8YTL1xKwK8utR/BxpHj4tV47DttIkIiKn2 NXGCqIpMFydGx5wTnL7Z6nzxme4Yrs5Bot3yaT/cc1zGpZ7EqJRJm8qtfAThSCs2pqHr ywK238s8MRwL17GkQf+JugfHLk0XmJC4QDakYSyJNNt25byb/laLqEcoN+YDPZLM/UFT fQyg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=LRJY6HmSgpn53uyORMcRB9h2EnMXe+jzCDlKmur6pwc=; fh=7VfqJ0Y9cGmYTW3tYCPT5KemSGrCqZjqlQ9cW05S1ns=; b=xhYlKYhWz8cHu2rL5sjR4wFefiEAWuu1555mQcUeCYoWy/n+Yrc2xLjfHV/sGP09PL HgEcq0GUWXYZsof7m80bm4Dgd1Kf0XfYXKQjEarCw6t6Elffbcq+oHnhgy8PBSeWl1Nr zts9ZK/+D41M6nGHqY19sguc4IlUtvBlG9oOwaSlrtmQ4c3uZl/AShvy7f+Gewv4e7Je AXTO29Feij4tNvKgLQngdBJp70JZ/85uUAAWM8zvNBEMzrvjuwRubOTJApn2JqPgpXp+ QTf05lMM+qrinsLfwuioXA/vSp7RzMAhOgyl0lgJ4ykmQg8K/f5ZEGwDMGmW0a2UkqFX BoLg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PYRBv4F3; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-171552-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171552-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id p23-20020a1709060dd700b00a59cdaff424si2380693eji.68.2024.05.07.07.20.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 07:20:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171552-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PYRBv4F3; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-171552-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171552-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DF0231F24EFA for ; Tue, 7 May 2024 14:20:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C78DE16C43E; Tue, 7 May 2024 14:14:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PYRBv4F3" Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EFD0316F0D4 for ; Tue, 7 May 2024 14:14:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715091290; cv=none; b=EgBemmQ+CAHYRrm2XBNVeSUk1CM9DnKbEhC+fKh83E0lEb2o01coo/rR5n8mbkGhGf3I0vOqV9hcQ3Sn6G3gPrtyjCn2xYYtaN8U+uGubVVa7qHePcjr7sR0sFzCs61e47Btw7jS2Tr+wUYzqsCGcozU4bPNVWEeACegvBUXFWM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715091290; c=relaxed/simple; bh=3bFJoZ914QT6J6EQqjd5/3SA82dIJ6nV/7s+Fn+7mFI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fOkBgzKCkVB5GwZWe1AdjrCg9wyb47XDmk91rFLDDk1bBLu6jEiK2fpPSi3+Jn2ysVj+KpYPOPLPABfA/A6oTqDBoXNQwmn6Ee81KGrlcYyA/o4AMkz5E2fdxzQEmZiLM3Mg4Ycf88TW/Qw8pJpS9ZVqRGlivsSS1SfFH+1WRdk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=PYRBv4F3; arc=none smtp.client-ip=209.85.218.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a59b81d087aso682769166b.3 for ; Tue, 07 May 2024 07:14:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715091287; x=1715696087; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=LRJY6HmSgpn53uyORMcRB9h2EnMXe+jzCDlKmur6pwc=; b=PYRBv4F3VRuptvTlCe6L977JCJgqknY5uuvtWh2ulsfZ90knBw6ViZOX6lxoRe68BE 1qEy/fLayeSl2IC1hrOiglYQffpA6zXaecWohmB2+2Ka2HqNn6o2GagP5f8Ou33Ry0SL 7cbN3r0ts6YMWh8dW7XQXuh4wWsMUyUR3snkbZPTX2uQ18q8urSwHMTzkdGlV29GbBX1 sqk3RzSsPUvmoRZxubsd3E6VMx0lL1+vvOcswoNsg2tBeBg/dngeK+wPUZBWJf3Jdq4K 4Hx1tbKggmi6wF2gEpPqbGPLFeQNqpWmLKSe9hYJ6ePNItqM0UcZ1eXcgGhDh01OKjTQ Qvwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715091287; x=1715696087; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LRJY6HmSgpn53uyORMcRB9h2EnMXe+jzCDlKmur6pwc=; b=VBea4RsbXzOI/GBeXsxGvy1Rv7s1ZULz28O6oxUv7FDgx8S9+wWNrB/Tz8U1JaXVYO OJ/Zg7szAvq0WdCUr4fYu5UpT0w0xOxkX6MrVQqpqvuXusEQzgcUy5XiNefup6jOBpUN QrZyrGF0c+vVzzgkZIPOPdkDKEw/WksQsCakv54HsTVTAmJOWWTt+JO8tyeXC5AQJxx3 V4HysTvvMvRiK3sDPJ8UlAuXJY4AL3POYp8hmuJP3OwydS+OwOECY08BTiwgfScJ+cKz Vv10oaTmbk3PUssWuJdSWyyvl6BftaoBYpoZT48bXIOqWAI2FgR+VWXG11a1Ugl3Twf/ UwIg== X-Forwarded-Encrypted: i=1; AJvYcCVFZYgHhaQx7bkR0lkPOZ9dORe5YIUsKOFa6XR8+vHVyWcUUIh9jfNCN2/Iaa0cgq2Oxa5oZWoca+yK+QWCAgYOR3tSByhQozVJmPkX X-Gm-Message-State: AOJu0YzMhVkxTJoudr1cMHVO1EF6QtQLsBtW0LqyKR8USa31gCxcp7ny fKKnB3++vrEkmCmeC2NEQ2OhO7th42uDKex2++nizFcmybS6xQhyNXecT5fI/sE= X-Received: by 2002:a50:a45c:0:b0:572:9dc3:ce3b with SMTP id v28-20020a50a45c000000b005729dc3ce3bmr11623041edb.1.1715091287502; Tue, 07 May 2024 07:14:47 -0700 (PDT) Received: from puffmais.c.googlers.com (8.239.204.35.bc.googleusercontent.com. [35.204.239.8]) by smtp.gmail.com with ESMTPSA id x2-20020a056402414200b00572cf08369asm5621928eda.23.2024.05.07.07.14.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 07:14:47 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Tue, 07 May 2024 15:14:47 +0100 Subject: [PATCH 4/5] phy: exynos5-usbdrd: fix definition of EXYNOS5_FSEL_26MHZ Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240507-samsung-usb-phy-fixes-v1-4-4ccba5afa7cc@linaro.org> References: <20240507-samsung-usb-phy-fixes-v1-0-4ccba5afa7cc@linaro.org> In-Reply-To: <20240507-samsung-usb-phy-fixes-v1-0-4ccba5afa7cc@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Krzysztof Kozlowski , Alim Akhtar , Sam Protsenko Cc: Peter Griffin , Tudor Ambarus , Will McVicker , kernel-team@android.com, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , =?utf-8?q?Andr=C3=A9_Draszik?= X-Mailer: b4 0.12.4 Using 0x82 seems odd, where everything else is just a sequence. On E850, this macro isn't used (as a register value), only to assign its value to the 'extrefclk' variable, which is otherwise unused on that platform. Older platforms don't appear to support 26MHz in the first place (since this macro was added for E850). Furthermore, the downstream driver uses 0x82 to denote USBPHY_REFCLK_DIFF_26MHZ (whatever that means exactly), but for all the other values we match downstream's non-DIFF macros. Update to avoid confusion. No functional change intended. Signed-off-by: André Draszik --- drivers/phy/samsung/phy-exynos5-usbdrd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/samsung/phy-exynos5-usbdrd.c b/drivers/phy/samsung/phy-exynos5-usbdrd.c index ed4898741c99..1da7a4881f72 100644 --- a/drivers/phy/samsung/phy-exynos5-usbdrd.c +++ b/drivers/phy/samsung/phy-exynos5-usbdrd.c @@ -30,7 +30,7 @@ #define EXYNOS5_FSEL_19MHZ2 0x3 #define EXYNOS5_FSEL_20MHZ 0x4 #define EXYNOS5_FSEL_24MHZ 0x5 -#define EXYNOS5_FSEL_26MHZ 0x82 +#define EXYNOS5_FSEL_26MHZ 0x6 #define EXYNOS5_FSEL_50MHZ 0x7 /* Exynos5: USB 3.0 DRD PHY registers */ -- 2.45.0.rc1.225.g2a3ae87e7f-goog