Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp434706lqb; Wed, 17 Apr 2024 00:02:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXlr6LbmSoZ5ikJkKAe7A43hMKGSvAKWxLIPVohy5P8TQHF7CzOVG9qiftIKyrA8jeVncfT1a2t8aQGoLs+y3BPNqnr9ye0bunfib8JzA== X-Google-Smtp-Source: AGHT+IGkUbt9lyIEbeishp8YKMGG+g6WEP0gTZ9OPjTfX4pKLpxXwL4imrrkuGRJRSQgjLdryyqW X-Received: by 2002:a05:6830:7106:b0:6eb:8455:847 with SMTP id ek6-20020a056830710600b006eb84550847mr10891458otb.5.1713337358999; Wed, 17 Apr 2024 00:02:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713337358; cv=pass; d=google.com; s=arc-20160816; b=c5Da6/oG7LPZdv6u/s87Gi2fwrf+fHhqIQ7X/J93TYcinx6mpvQUmqcVkkj3e/FMxk xW9U0YtfQl2/cUOf+I1HNIEeaXC43FFHkHN9LBe6XmNDjkpxStsumfauiKzLiHEciFya 8YhxFlcIRH1tJcfkb60fD2UesMeeYmcsufzMksjNjTnB+3MsTXyDn6shSwS5OIVL+9hO eAXNgiBXUAUOyeMmvZcgP/WLZoC3W/AivOSHLJ0XhsaPXRke7c1kFHhPUpIbNDh5TtWg qQtv455qwvHdcq0pgFYbp6nOzO4cIfHxYgi06HT0SLfZlO+0e7O5nFcw0g2Wy4XUnVyG 3Kjw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=sGvt/OcevPOUXaTJnaPKCznXL12lo9XavRWzKBHcfZU=; fh=XdyuI6cAtz+TenJbSbmqhgT3a0f3HpzqVivvBpXW5UM=; b=U0XuHo/RW+W+uvi60VK10FsprNf3leUNsFNgEWm1h5NK4w7NmCr4uaEa7mzAoxhZEK rHaI6+WAWJxIOwcY2wuBY52xxP/h6rgvpRylAYxDuga1DtK0jEQcgV7jCtUEoZ4QumcT +hh9j0spwyCOwKU5Y27URHGlI0hy3xCV4b7O98LdK74KU5wMNUANHgcxMOcLJcMGZ7em akKSVr5y2h9CNq1iAt0cYsQeHPu8H5zBdEw/uQAjazDDLEO4uHuONDBVydYK65ZLRYzD BDmONf/lVH3FtpoKQgJI8l6iojSUtWAwgjdx+ZmQ6bNWPNDZY7vXgvJ/wMxTIiPhbwBb aHFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TZSHvCfO; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-148017-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148017-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bs18-20020ac86f12000000b004376727ca42si1299430qtb.137.2024.04.17.00.02.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 00:02:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148017-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TZSHvCfO; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-148017-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148017-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 A8EC01C20E3D for ; Wed, 17 Apr 2024 07:02:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ABB1F6A353; Wed, 17 Apr 2024 07:02:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TZSHvCfO" Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com [209.85.128.169]) (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 EA1076A33B for ; Wed, 17 Apr 2024 07:02:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713337345; cv=none; b=hA0KFYYlUQW+T+X7VvpC6seTwLP4w46Mq2Awpw5hy2wOK9MI+sz+AEIN3CfoNRxfTlcR68au1LxP2btLv1zTWAjf7KLJy8WoDLOADMZRuvYp49OXfMVYKnv4tKb0+92+Hrq3+w2hRDQ5lJVMfrscdvg175XNtZ+WgaHsla4MAeM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713337345; c=relaxed/simple; bh=ZEDa5YTizJoRKvvXZle+WMCzPDMzbAnkbhmq2IQY7R0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=KGjcjVN4T/gf4N6Hw5lyLFOqKHC+jNExqlp1Fwm83+McKZ5Y6veGAUDbAfJwlKBwOr5aMIQFdzudQAsXsejgnHylJzIl72aWb3erhCjS9y0qjzU+XRKrP5Ioh7EFcfMMzEIj1UUcQvZc5ByzB+qCvoknxxOfnyEZcqDaql8xkhY= 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=TZSHvCfO; arc=none smtp.client-ip=209.85.128.169 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 Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-617ddc988f5so60545357b3.2 for ; Wed, 17 Apr 2024 00:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713337342; x=1713942142; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=sGvt/OcevPOUXaTJnaPKCznXL12lo9XavRWzKBHcfZU=; b=TZSHvCfO7fKK0pRSSY3yqOFhqCJUdQguPeDEvISu5T9J3IjCbL6yR6LlMS1+nSxnxE uekvqMnIIkcG2ZBXM286bUe6XFcuGshj70i6AyGHF2d++X9FneHriAnpRMaZmL/aXLCW XQtyCXI5Cle1SnR5R3F9ldI8CtHg1+sEiGkDxRvc6Jubpf3FoELzTf4BcyCPKT26u7Yu JKYUdlXCOGesjAHikSN4bO2WrpcX9nkKJo/VwZ3jwRBhcMYUON6kF4OZA6IddatF6qcd ofvE4KBvq4skg/PImWg7L3QsgaIVINCi5zj0mmr7wlsQl5Pz5l7VjGhtWuQQGQtYoT6O 2a1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713337342; x=1713942142; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sGvt/OcevPOUXaTJnaPKCznXL12lo9XavRWzKBHcfZU=; b=Ts+GHB34Gii21N35PnV6xThbsQIFUGq+37Z6hGoa1Tn7KHUrBmB+LtEFp23AokB4Vp xYfgPBjtlg0dgg28xZzgHGD75rwN4F8gG2o63WKcWJMhB0OTJVJ95YAH4cqk1lqBjKc1 Tu1J1BOHiOACrJYlLAv9oIKNuKNbSi9nS5yx+OUT65NVyQQ7o7kRmOGVP113zuXB0j7k dmNeIJ5P+79WQvCU1aoSU8sEQDVww5XfTI/PAkxuvBBcDGYRwy5Y6n+WmVhAxoYV6GUX JelWdeEGvJ60Dv2rjKrVUCTfrnZteEGlxK+N3KFQbdPEd0AkOyseKubJOysNd937K285 Z2gA== X-Forwarded-Encrypted: i=1; AJvYcCVsVznc4ZDPKplEz4t3D+Ms8aD4Zy/N+7JVwxiAMb6e1ArTOJT3E3BW8AyL2wLoFDnTcheD7Sph1w1bdS363H6n0bAkQIqhW6s7+jVL X-Gm-Message-State: AOJu0YxbKOaeC0TPQQnw878lyLSL56ME0wZEuVu0jumTkfVB4ROiHw43 3UHvP3vuEAqzTWH7ttk+xcn55we5HHPwL5UQahVMNSbg4Glqpiaf5phm2CJuGD/C0aZWttdCRwI 0o6GTOey9+J+scxOVdwrk/wL0G23k4Wjdh17jmQ== X-Received: by 2002:a25:aa30:0:b0:dd0:c12:411b with SMTP id s45-20020a25aa30000000b00dd00c12411bmr14962497ybi.8.1713337341963; Wed, 17 Apr 2024 00:02:21 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240417065020.3599755-1-github.com@herrie.org> In-Reply-To: <20240417065020.3599755-1-github.com@herrie.org> From: Dmitry Baryshkov Date: Wed, 17 Apr 2024 10:02:10 +0300 Message-ID: Subject: Re: [PATCH v2] dt-bindings: phy: qcom,usb-hs-phy: Add compatible To: Herman van Hazendonk Cc: andersson@kernel.org, benwolsieffer@gmail.com, chris.chapuis@gmail.com, conor+dt@kernel.org, devicetree@vger.kernel.org, kishon@kernel.org, konrad.dybcio@linaro.org, krzk+dt@kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, me@herrie.org, robh@kernel.org, vkoul@kernel.org Content-Type: text/plain; charset="UTF-8" On Wed, 17 Apr 2024 at 09:50, Herman van Hazendonk wrote: > > On Wed, 17 Apr 2024 at 07:52, Herman van Hazendonk > wrote: > >> > >> Adds qcom,usb-hs-phy-msm8660 compatible > >> > >> Used by HP Touchpad (tenderloin) for example. > >> > >> Signed-off-by: Herman van Hazendonk > >> --- > >> Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml | 2 ++ > >> 1 file changed, 2 insertions(+) > >> > >> diff --git a/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml > >> index f042d6af1594..ccf23170cd17 100644 > >> --- a/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml > >> +++ b/Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml > >> @@ -15,6 +15,7 @@ if: > >> contains: > >> enum: > >> - qcom,usb-hs-phy-apq8064 > >> + - qcom,usb-hs-phy-msm8660 > >> - qcom,usb-hs-phy-msm8960 > >> then: > >> properties: > >> @@ -41,6 +42,7 @@ properties: > >> - enum: > >> - qcom,usb-hs-phy-apq8064 > >> - qcom,usb-hs-phy-msm8226 > >> + - qcom,usb-hs-phy-msm8960 > > > This should probably be msm8660 rather than 8960 > Hi Dmitry, > > Thanks for the swift feedback. I'll send a v3. > I need more coffee before doing this in the morning Please wait for the feedback from bindings maintainers (this might take a couple of days). > > Note, nowadays the rule would be to use qcom,msm8660-usb-hs-phy > > compatible, but I wonder if we should enforce this for such an old > > platform or whether similarity wins. > > >> - qcom,usb-hs-phy-msm8916 > >> - qcom,usb-hs-phy-msm8960 > >> - qcom,usb-hs-phy-msm8974 > >> > > I plan to send more patches for the msm8660, so happy to understand what > is the preferred approach, because it doesn't seem consistent. > > These are my first patches, so learning mainly from what I see in commit > history (which might be outdated) > It's indeed ancient platform, we just would like to get HP TouchPad > (tenderloin) running with a mainline kernel, hence these patches. This sounds really interesting. I recently got apq8060 so I should be able to test your patches if the time permits. -- With best wishes Dmitry