From patchwork Tue May 7 14:14:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Draszik?= X-Patchwork-Id: 13657199 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1E04FC25B5F for ; Tue, 7 May 2024 14:15:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=VEZSVxVG3TOY6AgpwFW35D56yF0S5dTps1N2MmEK2jA=; b=rkVK/Dw/S7xmQV uI8BLv+pN4kDAnwWvEHCOhkyRfhdsbgARsr+Q186V5EZo96zyfTiG0ysw1/JIZtoOWYh3oPLwfCks +8go6gW/1uQB1VRp3WSwb/FvzNlp0cZDyhesGcxlkdzQ7pNQS5QQ3yBIkyu+gK5wj2OY3NYLf5hO4 5ajEjb9WROAWYr0M2rzq3P7TjhCSEmKcdOfy7anoXFwwif/Hw8gLyREAJVTn/EqSAwfZkbBbpb/Om iIziGk7TduFZ37Ghn2kZQk32aAhGmMNFb2HTGqhLa5LRuucdXyB1TS97t8X0mIknN0nXr3eTjuYjD CBZX4YfD7+JFCfg9OMYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4Laq-0000000BQWA-2oEP; Tue, 07 May 2024 14:14:56 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4Lak-0000000BQRZ-1E3t for linux-arm-kernel@lists.infradead.org; Tue, 07 May 2024 14:14:55 +0000 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a59cf8140d0so552343466b.3 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=1715091286; x=1715696086; darn=lists.infradead.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=ZKqE8knSN+nF57+pR+6TqgXr2ASyWp+AoB4iShzfsuCYfc75kHZ5/76O6wRExQatrJ GIkyCxAWk1M5HQcW7T4QrHsSyAQ9CYbzxgktFAcHHUKsjhvsBeClWDr5ur40c4RkQVKj 3Pvlfzuu4b7eDMLa6BtLDbhgf2YTBqvZLH2I657TGn0UQTx9u7awYtropQxHEjV3Hn7T dD5FQRAHnGZihK2FCZwW+BUDnh3CvBGsRS/379zqybo7GmSmHe6/w8H/q62/M11QSZ7t FYY4OuqFpEmuMzkouMrkgChK2G1mys0KuHSj8BwTN+hSkmQ6lCdUNM/b2rLcllvIRIne v0Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715091286; x=1715696086; 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=AlG1WKAzzMsVukMXhdAiQ+Q5nRmW3meMVT/VBuZ0lpLJSJ71gEb6CyQSxy5jw6mqtr HXReOBEHBL1Oz3TBYOyPqhtFovv944CSyO5jUeYnTh3smycf0jxheq4MaFpMOh3Hd5wj ovp2PaQX4Wopc7Vp56MsOTIjx+oxBLXGSlInDIM8XSP2KMFnD8fVpUGmxyLcHfvWYRQF Tpkx4gB77hjwQvOBMLP4YzNCCxE3oQgGZw7UqnqsOB/aGzBX4BGHkVK08OE34cWVKIiT TlAg08i/Qv7oqdxRNsO6eyEUbgAUHcFyr9+HRSzgYZWHixC8GUzLT3H31JEhRApn9QWx 9XZg== X-Forwarded-Encrypted: i=1; AJvYcCXdsNUaSVhQ5rbvVuxn+KIJNE+t/lsJde1QXv3Q3mlyN1L24OMrEUehufckEMgRBKepnxAM1DPKQyqmwtDzmVMAaJnol838RfOeBPePnxnbdwl3j+U= X-Gm-Message-State: AOJu0YxQr0bAj3bKLzpy9IE2Hn99o1FP8vcypKUanF4BsTC/VQKJzc00 Yb8c9VKnKL9bHWtEEokaU+DZisoSCTZgEOfmN/uMHlOJ/vMVVkxP2cV3UMBj73E= X-Google-Smtp-Source: AGHT+IE/MwdnFKw9M2O7xyKn7PZzuL6h8QMv+vTzlYdiFTDL2ZOu/TBbmPYlhs0qq7EIgjDCRx4ISQ== 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> MIME-Version: 1.0 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?= =?utf-8?q?_Draszik?= X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240507_071450_500945_7AEEFF5B X-CRM114-Status: UNSURE ( 9.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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,