Message ID | 20241022-pd-dt-time-props-v1-0-fea96f51b302@google.com |
---|---|
Headers | show
Return-Path: <devicetree+bounces-114477-incoming-dt=patchwork.ozlabs.org@vger.kernel.org> X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20230601 header.b=bmNzdM//; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=147.75.199.223; helo=ny.mirrors.kernel.org; envelope-from=devicetree+bounces-114477-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [147.75.199.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XYFZm3LMpz1xwr for <incoming-dt@patchwork.ozlabs.org>; Wed, 23 Oct 2024 14:56:00 +1100 (AEDT) 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 71F8D1C216DB for <incoming-dt@patchwork.ozlabs.org>; Wed, 23 Oct 2024 03:55:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3429F137776; Wed, 23 Oct 2024 03:55:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="bmNzdM//" X-Original-To: devicetree@vger.kernel.org Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (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 86B3A61FE9 for <devicetree@vger.kernel.org>; Wed, 23 Oct 2024 03:55:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729655753; cv=none; b=N9iAOL+dZ9a7i02FD9XN9DJMtzQPeaBeri5W9H4UJAF7K+JXshYxlBxRs99y6MOJiNyxse6TR+kW7ykS2wcAKm3kDB94rp/oVB1VtODpdnAb0ORfUok9paqttkGFtLuXvD0YKMxE5/EPdhZrfJyNbA8YDCWKT933GjOiHGdagfk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729655753; c=relaxed/simple; bh=rQK7gWxJRbkk3/XjsQg40ZMmcbV1ZzdgRRVvnvpPn74=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=BM9/S9SXaePioT3dgQrKHziMvyxN/Vxk21UPnurFtCg/8DowDIKvbG1B3E6mkkvRpBH8jkPSCIXbFl0IVA+9h1UzctqFxj5KF1s4m9x9toXnsVj3s1j49eK8o2zllyPSb/scDPunHHei32fL7xRLaweto2OhLnhdnEDK8oByirU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--amitsd.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=bmNzdM//; arc=none smtp.client-ip=209.85.128.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--amitsd.bounces.google.com Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-6e7f633af02so3520017b3.3 for <devicetree@vger.kernel.org>; Tue, 22 Oct 2024 20:55:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1729655750; x=1730260550; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=GmI7Soq3roDCUAnbE0COUFZpGZsP+EnUANl8dSnaRwU=; b=bmNzdM//XPpZ6jkGh5C9gEXwgFsP239CdsnQCejuW37rVPeYxb0tzztn8q0YzbbHiF ezl/zOz66elITlOEEmeb07y8Iqhv/suUIdZATGuFoMP4erPJt3C16jq2IJcLBiHwPt6j tWEjp/tofZFw1EhXFXVolXf8jgLO/4nzjDsFLOU+9tgPqazmyyxddFA2dVpUYuCz02Uj KmmO8mElDQMdYltIk0O+ZOoMgcm1B+XF9rdEIweWvEruQCWGmAvVPO7nhoZHwNzj01Yc Tgc0SYbUvSrrOIIWxgzH8azWnMDVplrb6Wdr+iSl8TDJ8oQwuwmH4m/bmlkzoDG4+mE4 sXsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729655750; x=1730260550; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GmI7Soq3roDCUAnbE0COUFZpGZsP+EnUANl8dSnaRwU=; b=l+tz98GRYl/GPOBH/6rls3S5nFRDZniZ0Sv/6ZaWLD30DIhhMOWz5erTX7Aozlu5wm wWdEkGz1B8o3jXfiLFI2ldDT1fPZ6rcfGK6uW4DcddS7XtNEcwWodhOh50XOKtOg7zlV uQddX1i17j/Jh0grcdqZzbL5/d1uiWdlp5TYfwDnNl8yi5+L8EY4gs4pV5I6nXo9gKlu ZdCJAWzeDhAMW9sOyUben0Qu3qkBJkgOIpZ/TH6gQtbjD2q2sXCRUQShXCwAbhoADr3s 5kU/Wg5/mStVe4YgNzpwG8FVtuH1bi+aw1zCmsVqLgKHJJ674mmjvL0figQ/MgdWR0Ke NUzA== X-Gm-Message-State: AOJu0YyO+6h0zWxgYCuDi+y0r4snLHLjlqOcih3ribWz7gVdpjT71qp+ UXvLCKEyGKIu7+RhgNmBMNOtUMngwm5o6OIvN30LOB5y/tgU7E7pKL6gneesPDsjIq+Wh8fj1FB bfw== X-Google-Smtp-Source: AGHT+IFwM7FsOs33Bm6JoIK39+oXfBykLbhJ1raXYq//FeA3l6SBgfdQIZAUAQ8v3qbIAYaoTToB5BzkchM= X-Received: from amitsd-gti.c.googlers.com ([fda3:e722:ac3:cc00:20:ed76:c0a8:827]) (user=amitsd job=sendgmr) by 2002:a05:690c:7488:b0:6e3:1023:3645 with SMTP id 00721157ae682-6e7f0fd1f99mr182307b3.8.1729655750550; Tue, 22 Oct 2024 20:55:50 -0700 (PDT) Date: Tue, 22 Oct 2024 20:55:47 -0700 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: <devicetree.vger.kernel.org> List-Subscribe: <mailto:devicetree+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:devicetree+unsubscribe@vger.kernel.org> Mime-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAMNzGGcC/x3MTQqAIBBA4avIrBvQoT+6SrSwnGoWpWhEIN09a fkt3suQOAonGFSGyLck8WeBqRQsuz03RnHFQJpqo4kwOHQXXnIwhuhDQtP0XavnlVpLULIQeZX nX47T+36ptcVUYgAAAA== X-Mailer: b4 0.13.0 Message-ID: <20241022-pd-dt-time-props-v1-0-fea96f51b302@google.com> Subject: [PATCH 0/2] Add support for time DT property in TCPM From: Amit Sunil Dhamne <amitsd@google.com> To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Heikki Krogerus <heikki.krogerus@linux.intel.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Badhri Jagan Sridharan <badhri@google.com>, RD Babiera <rdbabiera@google.com>, Kyle Tso <kyletso@google.com>, Amit Sunil Dhamne <amitsd@google.com> Content-Type: text/plain; charset="utf-8" |
Series |
Add support for time DT property in TCPM
|
expand
|
USB PD specification defines a bunch of timers that can have a range of acceptable values instead of specific values. These values have to be tuned based on the platform. However, TCPM currently sets them to a default value without providing a mechanism to set platform specific values. This patchset adds new DT properties per timer to allow users to define platform specific values. The RFC patchset for this was already reviewed and no changes have been made since. The link is: https://lore.kernel.org/linux-usb/20240925031135.1101048-1-amitsd@google.com/ Because of this, I have retained the Reviewed-by tags. If you think they should be cleared since this is a more formal [PATCH], please let me know and I'll do so. Signed-off-by: Amit Sunil Dhamne <amitsd@google.com> --- Amit Sunil Dhamne (2): dt-bindings: connector: Add properties to define time values usb: typec: tcpm: Add support for parsing time dt properties .../bindings/connector/usb-connector.yaml | 35 ++++++++++- drivers/usb/typec/tcpm/tcpm.c | 73 +++++++++++++++++----- 2 files changed, 91 insertions(+), 17 deletions(-) --- base-commit: 42f7652d3eb527d03665b09edac47f85fb600924 change-id: 20241022-pd-dt-time-props-158760bf26a2 Best regards,