Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp467274rdh; Sat, 23 Sep 2023 20:17:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG5wc6sU9XdHXeyolkZcKTjKUyjU49U25rW9587ndzUP6OHKzzjAwwzkJcSS7npT6HGVg1E X-Received: by 2002:a17:902:e845:b0:1c6:e1d:8be0 with SMTP id t5-20020a170902e84500b001c60e1d8be0mr1317940plg.2.1695525435794; Sat, 23 Sep 2023 20:17:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695525435; cv=none; d=google.com; s=arc-20160816; b=dk18GoJFUaNHErRTQdyCrm59Ts3ybZYnLG/4RFkfod182Qa+Q0MQLyYzOhuV1I2gJU OiZ7JE1nqhxwg8QbVnmVg5GWdsuBFCq3pGA0HmJuNS0asYfUWF3ktxoxsRIUnGP0J7os cUW/Oi8zrDqGHAaBCuSwDRIWjF1rRlDe5t31KX3AuCOllfHXCd2cUOZpVCAbSESuvjmF vJNRx1OFC3daQYlMO8stTje2Uj1Jzz1q8QpImW+P2VsWzGKDjAYF5aArrWPqz1M4w8My Gomnp/0ckwpqpX0Oe6nvSqYoPqpwFr0kkJM1xlZFZcr4jOMelIUlZh5uLO6SbzQmtm46 zlwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=GbjDHTHeQvNKBZv/8lID9zOviuVPTSuhipCFv7HoZZw=; fh=sVKc9qP3NpB6IjbDChRXCL6tGZv5aMh7HoruG1oEkoQ=; b=CrV33DDSOHRFLt+R3YHZSWIoK0s/CVoVx5lMDBnlFZ1xni2xVru2Y2cpG+tYMK0Pmk pG2NA00GVfFC8+NMejMLEk52CrIf25WkLREV8q9ZWuvvdxBDyutGZ2zHPTMNu8szqN99 fI6y1AKSTCc4Q312PbaMHjxCaiRQlYbzWtc+ibI23qcijUy7Il9rKB7cCVb1//MvV/8t 1dtsC/5/q8AKXpLWl3Gds4VNGDQwDuhwAKMl/3QvYUc43VLOnzWQlHbwZ+d/V4cLYnL2 Yeu1rvu1OWOqrViZyxJtbpc0EXQCie4LQI1WmgfXwQxbWKifU/hs1IGmoxg7K39nP3rI 0JxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="qAhF5x/w"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id s4-20020a170902ea0400b001c58401354dsi7580021plg.565.2023.09.23.20.17.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 20:17:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="qAhF5x/w"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 66D2580C65F8; Sat, 23 Sep 2023 04:49:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231430AbjIWLtf (ORCPT + 99 others); Sat, 23 Sep 2023 07:49:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230426AbjIWLtc (ORCPT ); Sat, 23 Sep 2023 07:49:32 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2501C19F for ; Sat, 23 Sep 2023 04:49:26 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-9ada2e6e75fso470191366b.2 for ; Sat, 23 Sep 2023 04:49:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695469764; x=1696074564; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=GbjDHTHeQvNKBZv/8lID9zOviuVPTSuhipCFv7HoZZw=; b=qAhF5x/wQUOWeeVuUuWKV5kng5p4jRhZ5JBk69gA4vHOhkmbL0M5qaP8E03I9F3veJ Pi5w3n0qjVuR/pOKilLQs1iPpF69WFfnBni43JPB2bZfPuGfkaJGoUyUf5xT2W3s6pCq YPpHXhKJwA9YZ1VjPWwy8uCk21krdYPEKZ80SuXgXa6PCpzM4t03oZud2n+kuIl+D346 kfVWe6/CPcyxnRTzbkf/Bnxl4Fyqq+FU097Fb2VzYTxLcvypqegQYAalvkvBLf5+NyJk VaJGAx10ZMva99boHMP9kAbSj5IAutvVPHBR6yGsHlTs2OFxZDYfWxE6uyqCnCaPTNfl I9eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695469764; x=1696074564; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GbjDHTHeQvNKBZv/8lID9zOviuVPTSuhipCFv7HoZZw=; b=ej6yl5GpwLZKb8s8zF4SXoH5YaGn9DXvHEK6fvOSgGHXPsQYrIn4AG0V8yI+JzsnKh 1zjOrLsp7cbFBMFpt/2TLK55mo24Wo6tQ2awrKj+Wi17C1KiNt4mt+j9NzBIy4/73OdJ vEua89/ZD7hqfARJc3i1SPv0KgpzJ1NOMqy+FJ+gb7OJx2XcVlpoGX9bUc5BTJUrba3c crr1Z3vSry4Jof8cg6fk3PjT0rLfdrp4LvVCc7YoKbwRIfxZCxuQH5mbnHRXO6XMd8rf PTxYcfLN0F8ivtv2ypkzrJ5qZ1wDW1ynsQ5wDtOVJUUIL2ghHZFo9U3KZk5QXjoQPhsC 9uWw== X-Gm-Message-State: AOJu0YxN8AKj2a5EY8ODNOrHp5Oag23xxytNCRgInH8T7b6GqeyKNfb6 NH6Vj231jKlizarS46BeAKSzXg== X-Received: by 2002:a17:906:ae81:b0:9ae:961a:de7f with SMTP id md1-20020a170906ae8100b009ae961ade7fmr1781632ejb.30.1695469764578; Sat, 23 Sep 2023 04:49:24 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.100]) by smtp.gmail.com with ESMTPSA id gu20-20020a170906f29400b009ad8796a6aesm3872479ejb.56.2023.09.23.04.49.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Sep 2023 04:49:24 -0700 (PDT) Message-ID: <0fe357a3-c2c7-f642-30ba-a068a9c04e66@linaro.org> Date: Sat, 23 Sep 2023 13:49:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v6 01/14] dt-bindings: usb: tps6598x: Add tps25750 Content-Language: en-US To: Abdel Alkuor , heikki.krogerus@linux.intel.com, krzysztof.kozlowski+dt@linaro.org, bryan.odonoghue@linaro.org Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, conor+dt@kernel.org, ryan.eleceng@gmail.com, Abdel Alkuor References: <20230923073959.86660-1-alkuor@gmail.com> <20230923073959.86660-2-alkuor@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230923073959.86660-2-alkuor@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sat, 23 Sep 2023 04:49:34 -0700 (PDT) On 23/09/2023 09:39, Abdel Alkuor wrote: > From: Abdel Alkuor > > TPS25750 is USB TypeC PD controller which is a subset of TPS6598x. > > Signed-off-by: Abdel Alkuor > --- > Changes in v6: > - Use reg property for patch address > Changes in v5: > - Add tps25750 bindings > > .../devicetree/bindings/usb/ti,tps6598x.yaml | 80 ++++++++++++++++++- > 1 file changed, 78 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml > index 5497a60cddbc..da299a2bb19e 100644 > --- a/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml > +++ b/Documentation/devicetree/bindings/usb/ti,tps6598x.yaml > @@ -20,8 +20,7 @@ properties: > enum: > - ti,tps6598x > - apple,cd321x > - reg: > - maxItems: 1 reg must be defined in top-level. https://elixir.bootlin.com/linux/v5.19-rc6/source/Documentation/devicetree/bindings/clock/samsung,exynos7-clock.yaml#L57 > + - ti,tps25750 > > wakeup-source: true > > @@ -32,10 +31,55 @@ properties: > items: > - const: irq > > + firmware-name: > + description: | > + Should contain the name of the default patch binary > + file located on the firmware search path which is > + used to switch the controller into APP mode. > + This is used when tps25750 doesn't have an EEPROM > + connected to it. > + maxItems: 1 > + > required: > - compatible > - reg > > +allOf: > + - if: > + properties: > + compatible: > + contains: > + const: ti,tps25750 > + then: > + properties: > + reg: > + maxItems: 2 > + > + reg-names: > + description: | > + The first reg is PD device address and the second > + reg is I2C slave address field in PBMs input data > + which is used as the device address when writing the > + patch for TPS25750. > + The patch address can be any value except 0x00, 0x20, > + 0x21, 0x22, and 0x23 Entire description is not suitable here, but should be used as description of items in reg: (instead of maxItems). > + items: > + - const: main > + - const: patch-address > + > + connector: > + required: > + - data-role > + > + required: > + - connector > + - reg-names > + else: > + properties: > + reg: > + maxItems: 1 > + > + Only one blank line. Best regards, Krzysztof