Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5468521imm; Tue, 31 Jul 2018 11:24:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdBet+WwpOU18a+xi72RVqr/X8Hrml3S196InMTBOJSMz702rLKaD0rJuVEsh8oF3Li6jJo X-Received: by 2002:a62:cd3:: with SMTP id 80-v6mr23627958pfm.184.1533061448624; Tue, 31 Jul 2018 11:24:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533061448; cv=none; d=google.com; s=arc-20160816; b=yW1vdGk0LkzixnBxsFrPA/2nY+nSEcCMYROpFhqVVKW027k/pSUKsjajmuEr/Ac55C VeLPqD8UFdaOHhe/DWqog3YzHak4IULWjXE5Xlai0WUHIUN9ppirxl6zl5shGdIsJvyB TiAAqt9k6MVSs0aBtAmBqFo5BsPuVWAqqpoKBw5MMKuC5muQlzFWqJ6kFZS4PiUSfsDZ g5gbOnie/9HyC5f5y3LGMPgADq6inMdxXBmMwlA/nGpAs5gSe8b6MmKcD63OvX4a+gpi WNeuAsNorEmLvnXU9ddD0v04DHUtCQkfxD9C4NJimXPrrvy84PFn0MPsjzmma46LSWjt A2WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=0Ag7biNjmQMhSRns2Uxd3hPY0hPCbV5UiW9dowgc3Nk=; b=qFBwEomEtPTRH+6zZf7ezNmvcFAPBbZ7QU0jBEZe3nEc6Ao+7VTxnvNKNsM+10Mqbe IBY4OgtvNUvJuQElI9eL4s0TDIVVwW+xWJD9l7uSEiIsMYIe+zfl+ZPFQ/W0elE/Vuoq Hb+0XBWM6C6iltsivud59pEO3FKOeJQr/lRoTWcfZcW/XgG0tu969GRufRY7SPkK9UMP XBD6HL+BoPn0MekUDZcYnNOKTuM0duyV6YTpOD/7Q6TO+BR/1HCt3Ta1D5LHuIH5Rr5D tQnunYGQfforcBxdovmpOuplVfU1q34zjrC1xl99Y/fmZp+6Wvy+NYigK/x0aruJlsij p03w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=CkG+RW6y; dkim=pass header.i=@codeaurora.org header.s=default header.b=WztrxcSW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z77-v6si15188972pff.100.2018.07.31.11.23.49; Tue, 31 Jul 2018 11:24:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=CkG+RW6y; dkim=pass header.i=@codeaurora.org header.s=default header.b=WztrxcSW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731311AbeGaUDz (ORCPT + 99 others); Tue, 31 Jul 2018 16:03:55 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:45082 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729644AbeGaUDz (ORCPT ); Tue, 31 Jul 2018 16:03:55 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 452E6606AC; Tue, 31 Jul 2018 18:22:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533061343; bh=JpnJcP0xCof96NyGvBR2LJKbq8U2GHGCoXMACvcuNRA=; h=From:To:Cc:Subject:Date:From; b=CkG+RW6yT3NeGsycZ9tNpd1SAltwuzc1dp8H6Kl9IqgRDBY6SEQQiQKE3rGZbLlP2 kjO500aX6Npw64qE2NuEn/I2Altye99epbKOoEkQDGnMBpxzs60JAS2Q3xg/xgvf5p wC+40LM58QyyCNr/6rl9C6QzAnoaW0hmt4uJX/hg= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from pheragu-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pheragu@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 86F6060BEB; Tue, 31 Jul 2018 18:22:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533061342; bh=JpnJcP0xCof96NyGvBR2LJKbq8U2GHGCoXMACvcuNRA=; h=From:To:Cc:Subject:Date:From; b=WztrxcSWxIw/BSY4RUTzz6g0N+V0EoEyfKLXwWsO720j56PtVORgIXmo+PAqmL0XW RoGpV8l559YHYOq81iXMNdutY93QLGJD98YP5t9cOuP4qVosZio82TAvCv8bsCMK9V Yhm+7c4yYns7EWT0sDYFepJOK6Akg0V0xgqBpZ5s= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 86F6060BEB Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=pheragu@codeaurora.org From: Prakruthi Deepak Heragu To: linux-arm-msm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, tsoni@codeaurora.org, ckadabi@codeaurora.org, bryanh@codeaurora.org, psodagud@codeaurora.org Subject: [PATCH 0/2] Add Embedded USB Debugger (EUD) driver Date: Tue, 31 Jul 2018 11:22:11 -0700 Message-Id: <1533061333-7680-1-git-send-email-pheragu@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a series of patches that implements a driver for the control peripheral, EUD (Embedded USB Debugger). The EUD is a mini-USB hub implemented on chip to support the USB-based debug and trace capabilities. Apart from debug capabilities, EUD has a control peripheral. Control Peripheral is on when EUD is on and gets signals like USB attach, pet EUD, charge phone etc. EUD driver listens to events like USB attach or detach and charger enable or disable and then notifies the USB driver or PMIC driver respectively about these events via EXTCON. At regular intervals, the EUD driver receives an interrupt to pet the driver indicating that the software is functional. Prakruthi Deepak Heragu (2): dt-bindings: Documentation for qcom,eud Embedded USB Debugger (EUD) driver .../devicetree/bindings/soc/qcom/qcom,msm-eud.txt | 32 ++ drivers/soc/qcom/Kconfig | 11 + drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/eud.c | 340 +++++++++++++++++++++ 4 files changed, 384 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,msm-eud.txt create mode 100644 drivers/soc/qcom/eud.c -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project