From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (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 C914A1FBE87 for ; Wed, 11 Dec 2024 02:55:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733885739; cv=none; b=YgRcImHPbRNEFAebkKPpEv4zhQ9sFCgcTonuXY+VdvuomxE07lWl+Ti2/H2uD3mO9IHA2RKzpI/SgCJ4oPnPdiCLehsXayv9iDNTJjkZ/XLbAOKM/ne9cb7TVo3wCeg2zSHccH+bAq9Hjbrw5kUVfylEBkbQobg2u4RHtqxHcEs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733885739; c=relaxed/simple; bh=Sw8qwKP5Mjvc92ndpHaw95kF/VIlsOKmmdEgToCodR4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=upOzlnQdIEGY/H7e41xsd6miLeGPKkpR66lpj3VNxrW6ujLb3xKcpC0B+glAErEU6Y6dfxxbc5MVn2naWE4VzodNEmlrtB98RcLjo0mCtfl9O4bNTyUsv84V0ofoXQ0ZuYG1P13Mkg6n6CUmaHBEponhoBajWivnktflKdiCNws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=WOB79qNU; arc=none smtp.client-ip=209.85.214.178 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=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="WOB79qNU" Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-2161eb94cceso30259205ad.2 for ; Tue, 10 Dec 2024 18:55:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1733885737; x=1734490537; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=piHU200dFKtsmyLyhlKF3Y91bwGI1DoICgmV0GUXM0Q=; b=WOB79qNUBaxzoTKSn1t+JdxgyFqK2A3umWJ9LZqn1zlM3iLL9yD5i7gP6WI1A/qhLa YuCnS20ip9WgXljdi4AfB0THgPP08av4kZZGanx9dSdxNYUW5+TfaX8KTSBWC6es+iO/ DoLBNbSRVhDBMkh2GoM+V27r2ngILJo7rdVPem044IN9pp3/VqK0kj7OAfKzy6qbDz7l VLNrUo1MKL1fZOC1WHswXp+5Hf+q/us4J6yR1Xi6m7qoGUo7oSW5pDVNzG4fBiTaTiTB +gnT/hEyKd0F5tBp/yqmPXpJE9OUoX7g8WAevKudvRZo5QzKlN2lp5oF0MQtwyT7NmDb 4FzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733885737; x=1734490537; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=piHU200dFKtsmyLyhlKF3Y91bwGI1DoICgmV0GUXM0Q=; b=trgQvfDATnFc4XUd7c6wLN/17GFM0WEOXPCGGppyQQc5aTG2TdZQw/k2QTMFaP4Tq2 rRMEyT4DMtaAIFYLvIyignq5ZYPb0pwyeXmM4BEfo+9wU2XdtQ1ndZ25o+tm73BoB0/1 MFj8YHKSnLMKUqY6xDqEHIbaUE+OA1ZVYGNbeCpDVJtrEpHQfBcBEw9n5P7SrA10ZeFn OHH6hb1eivmSw51RH/GbrvKlaRClauTt7gX1YgEBnA1ytXuoq4UzNcZJTNghdPWTnzlS oe3yLYHppZo5JBFEkXeaXpHCrhSDDtqrQTG6tYii4UZx2Fa3WES/ce8jrU55nTmKBqt4 ++KQ== X-Forwarded-Encrypted: i=1; AJvYcCWJ71LlbR4Ju9tY4gfI15A9ATT2ZHALk5wpjWA7I3llwNiXLwqQIEt8MGf4luzg8Fxzy/ABgJz+nDw=@vger.kernel.org X-Gm-Message-State: AOJu0YwJF4HGw8lGJTd1RsEGQexIf2kfdt9urz6A7gStYtA1SSMtwjo1 ozG1REFfdxjVfPMYfchpO39jBgxvw2iZAhn7Se4xvFfly3w7+Tu0uWxvQUFw1Q== X-Gm-Gg: ASbGncvNxnPXv5TvWZBtv1I5dTiu6JLWOz+zJpgMeS80EBd8pI5MnbgcSRQJHlbtp5a JaLJWWgMGuz1s/9KCMZzuis5ek56k8ViLyRoK/yxBf4y4iFyuTYMUQ89mjKUfIZISuBY8MJ1KYf TPqiXHv/GzsA/EfOHsqFJWJj+RZTnehLmYZPmS5SwLdkqriytUPOTW8Y/R4NyI5wnVZtqPigVV1 HiT8Qt3jxDr2buUTATv6/QLAeLz8ZJDzjZURco3VzcAAe2VnZpVB0aZvCbVW4gIe6Y7sbiAc55S 4EbebhjFvfJQNOqHljh8l4jy16MQS/Y4qP3GZiGOU+ReNGGP+xkw X-Google-Smtp-Source: AGHT+IEFDbvNFnnUCGvlIHi60aKS6Y53fiAmKXiI38k2LXQkGTfNbOOvQbHeFT61eEagzjXtKdQr9A== X-Received: by 2002:a17:902:c94a:b0:216:3466:7414 with SMTP id d9443c01a7336-217785059abmr24941895ad.44.1733885736953; Tue, 10 Dec 2024 18:55:36 -0800 (PST) Received: from ?IPV6:2a00:79e0:2e14:7:b50f:e19c:87e4:10bc? ([2a00:79e0:2e14:7:b50f:e19c:87e4:10bc]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-216796e2101sm17149335ad.167.2024.12.10.18.55.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Dec 2024 18:55:36 -0800 (PST) Message-ID: Date: Tue, 10 Dec 2024 18:55:34 -0800 Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] dt-bindings: connector: Add pd-revision property To: Rob Herring Cc: Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Badhri Jagan Sridharan , Heikki Krogerus , Kyle Tso , RD Babiera , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org References: <20241205-get_rev_upstream-v1-0-90158ee7d75f@google.com> <20241205-get_rev_upstream-v1-1-90158ee7d75f@google.com> <20241210230615.GA766674-robh@kernel.org> Content-Language: en-US From: Amit Sunil Dhamne In-Reply-To: <20241210230615.GA766674-robh@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Rob, On 12/10/24 3:06 PM, Rob Herring wrote: > On Thu, Dec 05, 2024 at 11:46:08PM -0800, Amit Sunil Dhamne wrote: >> Add pd-revision property definition, to specify the maximum Power >> Delivery Revision and Version supported by the connector. >> >> Signed-off-by: Amit Sunil Dhamne >> --- >> Documentation/devicetree/bindings/connector/usb-connector.yaml | 6 ++++++ >> Documentation/devicetree/bindings/usb/maxim,max33359.yaml | 1 + >> 2 files changed, 7 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml >> index 67700440e23b5b7ca0db2c395c8a455bcf650864..341d2872e8d43450d219b7b72d48790051dc4e2b 100644 >> --- a/Documentation/devicetree/bindings/connector/usb-connector.yaml >> +++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml >> @@ -293,6 +293,12 @@ properties: >> PD negotiation till BC1.2 detection completes. >> default: 0 >> >> + pd-revision: >> + description: Specifies the maximum USB PD revision and version supported by >> + the connector. This property is specified in the following order; >> + . >> + $ref: /schemas/types.yaml#/definitions/uint8-array > Always exactly 4 entries? Then: > > maxItems: 4 Thanks for the catch! Updating it in the next revision. Regards, Amit >> + >> dependencies: >> sink-vdos-v1: [ sink-vdos ] >> sink-vdos: [ sink-vdos-v1 ] >> diff --git a/Documentation/devicetree/bindings/usb/maxim,max33359.yaml b/Documentation/devicetree/bindings/usb/maxim,max33359.yaml >> index 20b62228371bdedf2fe92767ffe443bec87babc5..350d39fbf2dcd4d99db07cb8f099467e6fc653ee 100644 >> --- a/Documentation/devicetree/bindings/usb/maxim,max33359.yaml >> +++ b/Documentation/devicetree/bindings/usb/maxim,max33359.yaml >> @@ -70,6 +70,7 @@ examples: >> PDO_FIXED_DUAL_ROLE) >> PDO_FIXED(9000, 2000, 0)>; >> sink-bc12-completion-time-ms = <500>; >> + pd-revision = /bits/ 8 <0x03 0x01 0x01 0x08>; >> }; >> }; >> }; >> >> -- >> 2.47.0.338.g60cca15819-goog >>