Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp561475lqh; Tue, 7 May 2024 07:30:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUyvPnaeCJBWh6OUmjKLZowPgrlJy7DvSH6A98PVJ+NkDJo0D8TlFpwx1hVe+vEODloExaol3ayKJ1bQmhr7szL5y6pQxH9JR1QgAsDGA== X-Google-Smtp-Source: AGHT+IHRgLB+4rWR92QKiRbXo81JjYeuQ2X6qKpqzTBtDhQj6UAoPoMhfnh3HCesd1inQ8nY4DMj X-Received: by 2002:a05:6a20:7f92:b0:1a7:5402:8a92 with SMTP id d18-20020a056a207f9200b001a754028a92mr13365664pzj.31.1715092259502; Tue, 07 May 2024 07:30:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715092259; cv=pass; d=google.com; s=arc-20160816; b=Oms4ZOely73kzXonjX+xSnbkmRD53K+L5RVuEjFaBSfDcKsqmQ3bf8kAonCM82GXYz N3mrgny8RuWL0GWENPyvkvJX8YVxF3xlltVOJlS3qq6nIiy2v2l4+3j5E7T1O1z+hbiB mdAzIoA6Axg/85qEX7aZNEhj2nu+0Xkx8/VK6ZPh5BuzsKvR0cMsHUGz37waZRlpnh5N QF1UVuyAi+jT4MqVQFpQtBy5JDMaXjktkd5nYPW85Za4yPilqvXe5x/jgW3DnnNZWD3k cJJZGv191g9kE6O5LedIxK6Xiz5HsOHPDDRfwpoci28YC6muK3hlXNMAynoGFIS3xMPq iRAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=/iDIa9UU9YohRPSME0x6hMsrK0cAAO/SHuOJTAMlGZM=; fh=VbynJ4DqlG8Z3+72kKzPvozYOoyoyz58N25um2iEe8o=; b=OQJbENHHah3d7HKF19JgekqsFolKZdma7oQDY4fvyKLEOCLJN4mtQQ8WCu8msNqts/ 7hFv2g3D1Ejk20PHpnJU7dH2puZjhW9enrMwAWT7bKXGtronQqc8qS+N03MMMuQuADqM Zaag9Hw+TV9p5PqsA3UXu1R0xzQaI9onk9+oVzUh5Lgzx0W0xpLZEIkfPOV0nTfpUHBL It0ti/7WnivlVE3SiM6WI3wtVkOXzWKtkMTi2mtDvtr3YdiM3eLWD8kn1K0zyAmTaya2 Ic7HxYsHb0i2O0qc+vES6W6sbfGKDFOSW/8W9gsWKyZK+TO4f4ZVKR6nsWlSOcjmr2pE wX8w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cPEvfYVx; 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-171548-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171548-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u190-20020a6385c7000000b0061c1ac23f3esi6644875pgd.131.2024.05.07.07.30.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 07:30:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171548-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cPEvfYVx; 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-171548-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171548-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9F813285F56 for ; Tue, 7 May 2024 14:20:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 04FFB16F0C1; Tue, 7 May 2024 14:14:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cPEvfYVx" Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 5963416DED4 for ; Tue, 7 May 2024 14:14:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715091289; cv=none; b=j00lc2PsC2/RfWCGWQ+VetCQeXqvzFQDues8PuwYeVpo0jtsnv5YMl55z2fih5tdcSYTwBH2FATsGtL/Gz4Go/6MeeWiwIag1E+FbkdZyGbG4XxM2Pb/cQff9pZCAL6P64PbYaM00B2kRNik4Cn5xkD2Y4bdsRAKBQrhOrPbdvk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715091289; c=relaxed/simple; bh=Pqdbr37s3eqaIoQ5CSmZ2Yuk/GO+mHLRpIesgbXMwU8=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=OSkiV1mXDxfILpRuWFa25HjZtSTnCN+HL2OM9m8wpNy40iJGFEnQnE5a43c26/5FYiCc4hmT9RXfPt3IkgQhALXYxuTYexpegOXuLAcE2GRT1xj20GTPpKeyQa9mqVAnsQrjM/XwhIC8VACcaBAlkgNSIqnITyOM0T9zax/BPHU= 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=cPEvfYVx; arc=none smtp.client-ip=209.85.218.43 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-f43.google.com with SMTP id a640c23a62f3a-a599eedc8eeso721607266b.1 for ; Tue, 07 May 2024 07:14:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715091285; x=1715696085; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=/iDIa9UU9YohRPSME0x6hMsrK0cAAO/SHuOJTAMlGZM=; b=cPEvfYVxcBrXXS2Ru9wq+6RVz83XTajiNPDCAVxDTvN9nHLkma5SPRHj/QqWyuVxH3 Sq8Sr5hwlZCk9iMZ8DnZ0NZrBehQ9Cwx58QaNrRbd962owbzd56PStBWp57E1K+Ei+hM BgKQTzPULhsRDEpFGDQSPiSIGB9MM59SiGBeE8xTZH3T5E3edJGO+d0w6obBTHflBwf3 3DjNEuOGxM9Dbqtw7slKvk0tW8RGZ7nBQeeMkIiYQvJt29PDUL8QM2q/UCKKG9FaO2Sb 32Z0t8EOE4Um21WEyw/jE6iTs1TzmNFtLAOSRwluAVf8R8oJcQiM+nyZHOOn+MNORLpZ mNnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715091285; x=1715696085; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/iDIa9UU9YohRPSME0x6hMsrK0cAAO/SHuOJTAMlGZM=; b=nHMK6LpgyYU5OGBkwiw0U2ZyUu8+aKuh1yhmNoqI8XrzAIuUHQeal8QZpjhJKSAQni 0Vwy2jTi9SNy0OQLBTnelKMKvtzG8QEIjNECPdO5DAZZOcnzg4bZOgGOSg/Ts+WBYeVy CBi+zv9W0XBHusggbfr0HMBXv4xirf7gWPlC/wexmEWfA19Z/TCTYy9TQVwgKddM/RB+ BNzszRv4hbKarCOziNeITTMgryciYRm6mGZfkkrj0OLskSE9rwN0xvBSjJDurETQzqT2 GJlmWjC3/pRoGysm1V1cjIzNn7UXA4b2r6iVj5HF5se9Adq8c6uNb9XiGM7Vu1SBEiQW x9Sg== X-Forwarded-Encrypted: i=1; AJvYcCXnxzuvpY7mNjh3HWvfLdmrLSq11mfEKvZmK0ncyRLEqsFLsAl1FV317Mav3Ffm2gy0Dpw/6BAoq0t2D4+7Itx/BZ3ccdWuiXBwnQe8 X-Gm-Message-State: AOJu0Ywlwxe4zlZwXSmg8Znmod3Pe8ir896h/v/eYniAuuQWyp5O7r/3 JrQ0wjpGcxmRn/vZ0WXjbbvZYomrB3lIP8hT8cTjT6u9JFk6mo5XzenwswXZl00= X-Received: by 2002:a50:cd17:0:b0:572:9962:7f0 with SMTP id z23-20020a50cd17000000b00572996207f0mr8054362edi.34.1715091285631; Tue, 07 May 2024 07:14:45 -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.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 07:14:45 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Subject: [PATCH 0/5] a few fixes for the Samsung USB phy driver Date: Tue, 07 May 2024 15:14:43 +0100 Message-Id: <20240507-samsung-usb-phy-fixes-v1-0-4ccba5afa7cc@linaro.org> 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 X-B4-Tracking: v=1; b=H4sIAFQ3OmYC/x3LTQ5AMBBA4avIrE1S9RNcRSyUac1CSSeENO6us fzy8iIIBSaBPosQ6GLh3ScUeQbzOnlHyEsyaKUrVasSZdrk9A5PMXisD1q+SbA1rWmaTlk7a0j vEegPaR3G9/0A5w1wPWcAAAA= 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 Before coming to an agreement on my Samsung USB31 / gs101 phy changes [1] [2], I decided to split out those changes from that series which can also be applied independently and add a few additional fixes I had lying around. This contains mostly cleanup, but also a change to using fsleep() as recommended by the timers-howto, and a fix for setting the ref frequency for E850. These should be less controversial. Link: https://lore.kernel.org/r/20240423-usb-phy-gs101-v1-0-ebdcb3ac174d@linaro.org [1] Link: https://lore.kernel.org/r/20240501-usb-phy-gs101-v2-0-ed9f14a1bd6d@linaro.org [2] Signed-off-by: André Draszik --- André Draszik (5): phy: exynos5-usbdrd: uniform order of register bit macros phy: exynos5-usbdrd: convert udelay() to fsleep() phy: exynos5-usbdrd: make phy_isol() take a bool for clarity phy: exynos5-usbdrd: fix definition of EXYNOS5_FSEL_26MHZ phy: exynos5-usbdrd: set ref clk freq in exynos850_usbdrd_utmi_init() drivers/phy/samsung/phy-exynos5-usbdrd.c | 95 ++++++++++++++++++-------------- 1 file changed, 55 insertions(+), 40 deletions(-) --- base-commit: 9221b2819b8a4196eecf5476d66201be60fbcf29 change-id: 20240503-samsung-usb-phy-fixes-8b8b6690ffc2 Best regards, -- André Draszik