Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5465938imm; Tue, 31 Jul 2018 11:21:06 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcMM5s9M1PkOOllWqUFUdexI5ElM9qi8UC5dzvrsX/u/4VlreUYoSVFGREyoXPuIY7m4ot5 X-Received: by 2002:a65:6211:: with SMTP id d17-v6mr22031885pgv.450.1533061265946; Tue, 31 Jul 2018 11:21:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533061265; cv=none; d=google.com; s=arc-20160816; b=oIURH7Z5q36qs8gcna0Wun13GovCMQT2nt6DRoak0KQc3Hii4WRF1C3Gum+2l1xjjZ fuYHxHHSqGaljWhCSiWFGC1+IRwAdUVQkuF9olbDn0453IXq5dMa3av3JA5tIyjdOXHS w/4sB2w7wXeIeDWLUpV34rkvsEYOhkNHWxj+at1jVsCYI87hyUEOV8IRXxLdwdXEPxOY OHd/6TSaNcDvIqETj8L7Jej/o67Flron1zLdsON3kmX6PZ+jD5BjpgZMfEuqzl1wblQC KXVLdb1cklg5EvpSt5QjuMGBk4xdhtyQ18dP0LVxEf8+fu1nBXFC0HvJy6XlfoZ4zw8G tIew== 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=UBgiARDTVInSw2LhXEXe2h4Z2mUEQY1ZUUMSxUmnfU+qqWl9Dq+xt/4c6y/MYR2cjD +mADRTXIaQg5DGDp6O1dXsC4pGeyNypBXEG0UpK/GVwP94XJKbP9TxAj+HK9JASdn2tG 8MbMcJGv4JbBTBYi6sfELLKVUCmv1EJMUIV62UL5+P5nnKsRa7UPDAULb4s1sR5NnmSQ t7RBsZR25J2foAqOB+FVNcElVG2DgTb+Wvaxr1L9a0Ha2UFxjMKg5p0Dq9OWq0u7uQaC fjERSWUgZP9cfe4LB4RGXs2Do/6qi9qRz5SCODKYcOKzp+Enp+7pYGpbxlTQw4ELWIYc gf2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=UCNNSgjf; dkim=pass header.i=@codeaurora.org header.s=default header.b=UCNNSgjf; 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 p14-v6si15268328pfk.275.2018.07.31.11.20.46; Tue, 31 Jul 2018 11:21:05 -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=UCNNSgjf; dkim=pass header.i=@codeaurora.org header.s=default header.b=UCNNSgjf; 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 S1732033AbeGaUA3 (ORCPT + 99 others); Tue, 31 Jul 2018 16:00:29 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41186 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729644AbeGaUA3 (ORCPT ); Tue, 31 Jul 2018 16:00:29 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 3A1DA606DD; Tue, 31 Jul 2018 18:18:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533061138; bh=JpnJcP0xCof96NyGvBR2LJKbq8U2GHGCoXMACvcuNRA=; h=From:To:Cc:Subject:Date:From; b=UCNNSgjfwWqo8V7S+8GnNcIzOQ/9IhPvyXZK3fJRdmqHw3Y1t9P9gXQ7cs18wOhVU tDJ2/OzMmo/16MuRG+xmJSBvPl2nwF0VWWmdiEIQsh8trpizufRRuKJwvnDE/jRcZZ Ddk78/EBaXr6GCKtzEaL2ZhUbdOWiJcpwU2CWVQg= 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 B47CA602D7; Tue, 31 Jul 2018 18:18:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533061138; bh=JpnJcP0xCof96NyGvBR2LJKbq8U2GHGCoXMACvcuNRA=; h=From:To:Cc:Subject:Date:From; b=UCNNSgjfwWqo8V7S+8GnNcIzOQ/9IhPvyXZK3fJRdmqHw3Y1t9P9gXQ7cs18wOhVU tDJ2/OzMmo/16MuRG+xmJSBvPl2nwF0VWWmdiEIQsh8trpizufRRuKJwvnDE/jRcZZ Ddk78/EBaXr6GCKtzEaL2ZhUbdOWiJcpwU2CWVQg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B47CA602D7 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 Subject: [PATCH 0/2] Add Embedded USB Debugger (EUD) driver Date: Tue, 31 Jul 2018 11:18:47 -0700 Message-Id: <1533061129-6539-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