From patchwork Fri Jul 12 17:09:42 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: 13732042 Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (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 3B1B916FF45 for ; Fri, 12 Jul 2024 17:09:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720804188; cv=none; b=discxIuax78gp3D9CYTdNwPhg9xLvLTLFTuqWkZJIC6povMIi43CDhqUib+TPjYymNLhkrRp0u0Jxx7OqAMb2uNsMj8YAsoeLDqbnqXMd8LhJW0w7of0ljPZLqVB2hzJ9AVKJrYO9fNb1/to0k6g7qtEj8BLta5/Fu1aq1Vbwtc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720804188; c=relaxed/simple; bh=IvYiOk43NNLFvoIso1SMpTkb2IyLTMaSDdcgZBde4sM=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=rXYS7XHGyFenJsRSGmR6dFtApxJxppCjmMk/F0OhPAkL/cIfQ0Jl8RQ+WABRkkYHzbFRaSKB0TwpI4gGqzPeTxxwTlrFA69yFVTei1gbZuuNrbw7Rdli7cQrJe7v/pdq7Tm3DdfoWH02oO/siY9h/hd7WJaqYELCpodJ0/m0J0U= 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=IB5B9ht1; arc=none smtp.client-ip=209.85.218.41 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IB5B9ht1" Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a7523f0870cso261740266b.3 for ; Fri, 12 Jul 2024 10:09:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1720804184; x=1721408984; 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=Fnhm523hS4IDFhkj8U4RWRolcD19Piba7MrN9aiVgQE=; b=IB5B9ht1UpjPgaKNp3hX4EaNj7ilkCF7om9IWRRprM5l97yh1/wzDcybyGnY+/TQcj i1Xeygq7aP6FHHfYTh+ohhvEeOlqU/PgcvIL0px24xIvmQiW3YwNGdfxFdZexld85Yf5 ATsWIkksb1zfsFyyRTTVCUHMxvlhw6Wn/K0fQaLj+jhMsuhGPc0rH7G4VRjwCTrSCmeT 6n3izTnz6zA46Leeeg6JKYEL42IJHFz7K8090HdhU/OvMGBrazWiLQRhlAeh4SfSsIV4 LjMCguGW8Z+8lVsfYK5MLhv1bWszm0tbLxzvg5ZGm4in5NCkE1BAn0fl0gfxGF7kaW6D eKUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720804184; x=1721408984; 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=Fnhm523hS4IDFhkj8U4RWRolcD19Piba7MrN9aiVgQE=; b=lWpHBP/GXSi3g15dny7fNT8d5DQ7qFU1iAttIdrAUrL+YZdxEVytAW66W48rnSMZTp KOB/2Q+gRtBjOaMlR3v5j2aZ1qBVsbBFYQRfP6iff8EbTUGdbs64qtDfAVWh6U6JKUzv m7viFiRddR/kj7P4Y9bGKX8MnaC5FAjRZgaQYrvJcb+Hg2v8z5GnU9ll/2dngoXDA//9 f+kk51mUPBAMhGmU2w0Vnq/fF/+FAL2lhi+vZSZNxu3ZRpKzO8ehp1m9JazQCTMxBoDO ERoU0K8ADfmFagA1bzwFp6SRzD4rJ0Xu6uFAOx8XO/UzuGkU4i+PYYWw2hJiROPcxO3o ADdw== X-Forwarded-Encrypted: i=1; AJvYcCW2zJo/6f5LNDOz1Ughmqmvzlh3vBb3Or+KsJMNDEk6yGdbdZl1cYMo420PXqFmhpR9urNIAVD3OnokEfXkfGwF8lwS/IdwvkVk X-Gm-Message-State: AOJu0YzXTXiZ6767DfEdUbzCgVc2kYzgyC6IXXU2XwXvA+YdQWzQQGhE 4Pwuk2PYMxGhhu1e1Opo/YRWH7ZYa7YHoJwxXfEUc8eUmJeLAnzY4kSqtVEo5E0= X-Google-Smtp-Source: AGHT+IG4TH6RpE92PDuHakkWNmOybXTmwNcx+nqarKFaRp+ljxkRFFwn0hjm78OZrfbRQp1qxbfQAw== X-Received: by 2002:a17:907:3f12:b0:a72:7736:9e03 with SMTP id a640c23a62f3a-a780b881c7cmr1089046766b.52.1720804184549; Fri, 12 Jul 2024 10:09:44 -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 a640c23a62f3a-a780a871f0esm363750466b.194.2024.07.12.10.09.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jul 2024 10:09:44 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Subject: [PATCH v4 0/2] gs101 oriole: UART clock fixes Date: Fri, 12 Jul 2024 18:09:42 +0100 Message-Id: <20240712-gs101-non-essential-clocks-2-v4-0-310aee0de46e@linaro.org> Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAFdjkWYC/4XOsW7CMBCA4VdBnnvRnW0gZeI9KgZjXxKL1EZ3U dQW5d0JMLRbx3/59N+MsmRWc9jcjPCcNdeyhn/bmDiE0jPktLaxaD16h9ArIUGpBViVy5TDCHG s8aJgYRecbbELdObWrMRVuMtfT/7jtHYn9ROmQTj8ouQQ311LtqG9323JAkEoSbhJEvQnX45jL kFqU6V/mEPWqcr383h2D/nl7OmfudkBwjbFc5vQY6L4Fz4ty3IHts1uLA0BAAA= To: Peter Griffin , Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Michael Turquette , Stephen Boyd , Tudor Ambarus , Sam Protsenko Cc: Tudor Ambarus , Will McVicker , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andr?= =?utf-8?q?=C3=A9_Draszik?= X-Mailer: b4 0.13.0 Hi, This series fixes a long-standing issue in the gs101 clocking / uart handling. We can now disable clocks that had previously been marked critical, and still get a working earlycon. There is a preparatory patch, and then a patch to drop an incorrect clock counting work-around. That 2nd patch is essentially the last remaining patch [1] with all review comments addressed, from the series [2] that was sent earlier this year, see lore links below. Patch 2 can not come before or without patch 1. Signed-off-by: André Draszik [1] https://lore.kernel.org/all/20240130093812.1746512-6-andre.draszik@linaro.org/ [2] https://lore.kernel.org/all/20240130093812.1746512-1-andre.draszik@linaro.org/ [3] https://lore.kernel.org/all/d45de3b2bb6b48653842cf1f74e58889ed6783ae.camel@linaro.org/ Changes in v4: - new patch "clk: samsung: gs101: allow earlycon to work unconditionally" - update commit message for patch 2 - Link to v3: https://lore.kernel.org/r/20240710-gs101-non-essential-clocks-2-v3-0-5dcb8d040d1c@linaro.org --- André Draszik (2): clk: samsung: gs101: allow earlycon to work unconditionally clk: samsung: gs101: don't mark non-essential (UART) clocks critical drivers/clk/samsung/clk-gs101.c | 106 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 102 insertions(+), 4 deletions(-) --- base-commit: 523b23f0bee3014a7a752c9bb9f5c54f0eddae88 change-id: 20240430-gs101-non-essential-clocks-2-6a3280fa1be8 Best regards,