Message ID | 20230517211756.2483552-1-bhupesh.sharma@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp66046vqo; Wed, 17 May 2023 14:35:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6NJXhdJdbVLCu9GVdFTkpmjI1rM0ZO/YPeqgQdNXY66MSEE3zsZqfamo7Szkp8C4CAREU6 X-Received: by 2002:a05:6a00:248f:b0:647:776c:d19c with SMTP id c15-20020a056a00248f00b00647776cd19cmr1444879pfv.13.1684359339415; Wed, 17 May 2023 14:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684359339; cv=none; d=google.com; s=arc-20160816; b=FNIGtt1+n8VxcI65V4NYVQ7Qd29rM0iOfld2/q9q4hFvSa6PywyOrvCufCbPDeGJxz 2wk5WRDqwe9KjYEiIAvSDJb4+X2iJ8HvHnxiU/MS7imUneRFEVJ340/Neek8orwUZbsA +B15R37V7m1AA8rzRPtL0kyq1lYimqclxGXlw7yGZnQvPvp9MLxhOUN3Twevg6yhmA8l eqMiGI6HRVjaAbsSJf0VpEY3TW7FNurLuy/ZLttdO6zneaAtsNO4qiP/VxHIeA1ykJxW 5P9uwOElSFjTB5JFZDr3VAxrASp7eXNO9OEkaimIB9IiU+k0IJsqlstL5UXL3Tl7coAE yctA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=XpAvosdd1eXz6xBGZNhl2uL6xAQHXk+cg9rPnks65Ww=; b=CCkayUPPP2/78CxKY+4WJ3aY+FGIFNZWWh6Xl64nkU6YOPVRpc4i/v3sXoduJDiCVL Ua5uQcaZlqxbSt/sTiDPcbtbSIqTFGNyvJpqVOvVZJTKyi3CTADi4+I2wA8iELcdSxp1 ilN/a6UmNSXY6lpq/mU42wr8PzB8o0RdF5TSUMH6o6a4jdOS22zq7iJWWPrTunHRAQEA XKWWe1tV3e7oyjnyRAkBS2QdSwVBXc1kaBzw491lUM5HntHMs9RLVbyQYTfFYmMBa6lS URUe2fdeOd0bXAgNYFYAZynQ/kwcXeDfUImM/2fUp40kb5NKLN5z8p8Uk5PvpBKjhOzj a+HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="A8/qm8Uu"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s66-20020a625e45000000b0063b733e67c2si14213pfb.121.2023.05.17.14.35.24; Wed, 17 May 2023 14:35:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="A8/qm8Uu"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229925AbjEQVTD (ORCPT <rfc822;abdi.embedded@gmail.com> + 99 others); Wed, 17 May 2023 17:19:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229914AbjEQVS7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 17 May 2023 17:18:59 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43D2F8A6C for <linux-kernel@vger.kernel.org>; Wed, 17 May 2023 14:18:35 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-64388cf3263so928256b3a.3 for <linux-kernel@vger.kernel.org>; Wed, 17 May 2023 14:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684358289; x=1686950289; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=XpAvosdd1eXz6xBGZNhl2uL6xAQHXk+cg9rPnks65Ww=; b=A8/qm8Uu1A8hzu7WEGSSdRCugGYhdHhkr9HpMFBbuoDod8Y+mPSfuDNYU6vvbeWz9A eVkWFtprc7WxQCXBREnaC0qPUP7qwEY6+hRVNGMk8SJa5uyQj5bZD2d0XEOcqyypCo21 EyxA5YJ/KN0Lk81JJp+i1e/UOjOhhIrYS/Xckvsv3Q0PvS8OJa5Pmddo1aeDPd2L11aA CCa5by/kUJzZZTDXSbaWRRzKHqXlJWFKJZk7eZkutF6SW6KN8sT+U7HM5q1fwujDgVpf +Zzz9VbIeJhJnla9Gt7dQb1cr7IQlGltD6asn1Js0ZL4u9qj4bQch4gEMXccKezPJiPE K3rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684358289; x=1686950289; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XpAvosdd1eXz6xBGZNhl2uL6xAQHXk+cg9rPnks65Ww=; b=eoDQZkI9mLRPE/sILfzOPfSNyzN5Sq/oRHaT8twM9oNqaj6E8IzL0KdcRah96VKjPL Yw894jTxrvCwiN6TImvsz5Ea9rT2POBOCWGQNwIaR8dzafygNnT2ZytBDVZfsN2pzdlE WDhSSesDx2JdOGL9iaY9ztwQ8ui7l1jeCSUrspaANp1SKteh4qyhZ/hHJ79jHvJjdiOi Rwvbt2x1qDg+8UWu1KhaH8R605+3N0PfvF//57rUwuL2/oHc3ezn7WsvPTgeYDQSMT6C uqd8PW2uT2zLZWVS4TdZ11sit00P+H45rvAyS9XACLad394CONk+MF6XP8D/Lv1CCuAh TOFg== X-Gm-Message-State: AC+VfDxJEX+rYMv0c8jqVTl0K2MHoOymb1fUolBhD/W9yVm/X/0lCvEU adrX9Ap8Xc82LFKIT/tQV6FB4g== X-Received: by 2002:a05:6a00:198b:b0:624:2e60:f21e with SMTP id d11-20020a056a00198b00b006242e60f21emr1277364pfl.29.1684358288668; Wed, 17 May 2023 14:18:08 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:6bed:7a51:340a:a439:1b87]) by smtp.gmail.com with ESMTPSA id n18-20020aa79052000000b0064cb6206463sm4359210pfo.85.2023.05.17.14.18.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 14:18:08 -0700 (PDT) From: Bhupesh Sharma <bhupesh.sharma@linaro.org> To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com, bhupesh.sharma@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, krzysztof.kozlowski@linaro.org, quic_schowdhu@quicinc.com, gregkh@linuxfoundation.org Subject: [PATCH v6 0/6] Add Qualcomm SM6115 / SM4250 EUD dt-bindings & driver support Date: Thu, 18 May 2023 02:47:50 +0530 Message-Id: <20230517211756.2483552-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766178778318005099?= X-GMAIL-MSGID: =?utf-8?q?1766178778318005099?= |
Series |
Add Qualcomm SM6115 / SM4250 EUD dt-bindings & driver support
|
|
Message
Bhupesh Sharma
May 17, 2023, 9:17 p.m. UTC
Changes since v5:
----------------
- v5 can be viewed here: https://lore.kernel.org/linux-arm-msm/20230516213308.2432018-1-bhupesh.sharma@linaro.org/
- Addressed Mani's comment and added Fixes tag for [PATCH 1/6].
Also collected his Ack for this patch.
- Fixed [PATCH 4/6] as per Greg's comments and added a separate patch
for identation issues -> [PATCH 3/6].
Changes since v4:
----------------
- v4 can be viewed here: https://lore.kernel.org/linux-arm-msm/20230505064039.1630025-1-bhupesh.sharma@linaro.org/
- Addressed Konrad's review comments regarding EUD driver code.
- Also collected his R-B for [PATCH 4/5 and 5/5].
- Fixed the dt-bindings as per Krzysztof's comments.
Changes since v3:
----------------
- v3 can be viewed here: https://www.spinics.net/lists/linux-arm-msm/msg137025.html
- Addressed Konrad's review comments regarding mainly the driver code.
Also fixed the .dtsi as per his comments.
- Also collected his R-B for [PATCH 1/5].
Changes since v2:
----------------
- v2 can be viewed here: https://www.spinics.net/lists/linux-arm-msm/msg137025.html
- Addressed Bjorn and Krzysztof's comments.
- Added [PATCH 1/5] which fixes the 'qcom_eud' sysfs path.
- Added [PATCH 5/5] to enable EUD for Qualcomm QRB4210-RB2 boards.
Changes since v1:
----------------
- v1 can be viewed here: https://lore.kernel.org/linux-arm-msm/20221231130743.3285664-1-bhupesh.sharma@linaro.org
- Added Krzysztof in Cc list.
- Fixed the following issue reported by kernel test bot:
>> ERROR: modpost: "qcom_scm_io_writel" [drivers/usb/misc/qcom_eud.ko] undefined!
This series adds the dt-binding and driver support for SM6115 / SM4250
EUD (Embedded USB Debugger) block available on Qualcomm SoCs.
It also enables the same for QRB4210-RB2 boards by default (the user
still needs to enable the same via sysfs).
The EUD is a mini-USB hub implemented on chip to support the USB-based debug
and trace capabilities.
EUD driver listens to events like USB attach or detach and then
informs the USB about these events via ROLE-SWITCH.
Bhupesh Sharma (6):
usb: misc: eud: Fix eud sysfs path (use 'qcom_eud')
dt-bindings: soc: qcom: eud: Add SM6115 / SM4250 support
usb: misc: eud: Fix indentation issues
usb: misc: eud: Add driver support for SM6115 / SM4250
arm64: dts: qcom: sm6115: Add EUD dt node and dwc3 connector
arm64: dts: qcom: qrb4210-rb2: Enable EUD debug peripheral
Documentation/ABI/testing/sysfs-driver-eud | 2 +-
.../bindings/soc/qcom/qcom,eud.yaml | 42 ++++++++++-
arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 27 +++++++-
arch/arm64/boot/dts/qcom/sm6115.dtsi | 50 ++++++++++++++
drivers/usb/misc/Kconfig | 2 +-
drivers/usb/misc/qcom_eud.c | 69 +++++++++++++++++--
6 files changed, 179 insertions(+), 13 deletions(-)