Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp131464imm; Thu, 16 Aug 2018 17:02:45 -0700 (PDT) X-Google-Smtp-Source: AA+uWPymeAweZjWAvOEcJoc+BnQCubxCLwcmVIale0aIVL9AWbt+Yoi4OZQNcYcSETqkrVPzQ3Bv X-Received: by 2002:a63:aa44:: with SMTP id x4-v6mr31310428pgo.120.1534464164982; Thu, 16 Aug 2018 17:02:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534464164; cv=none; d=google.com; s=arc-20160816; b=NeqjYkgBciFQlBHJgyPX4CBbDB1nkM2hwf4li2lKlzV9p5JezwVIFJQ6K9NvzoU2nB fRac87++i7v74rMGBQbM3CF9F/SLx6ec4DfLGYgFGqEhMmorT2SiFu2D2Qr5e/JZY4q2 gNWrPn9JeksAG33rTWgTPPAZ4skbVS0suR5xDVC2VJ/WsdpL6rtWBodagYZWwBFYXlS3 ajmbbAJmE6g08XmxREEG2hxrhp2weiO0OeFmBs+x1b1YJSekTlRRrtous63Y1KqJPLH4 DUZhbGQkUFPnMZfQCLBMFB1ib10C4GT1gEzvT7UEPH4aJAou9oFdSmNw+DdFPvkOkg/z j9ew== 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=DUVjnR2+QFLmw8BXmcW/UGrNhUvSdis41307OyP9gcg=; b=PAWH42DmzwSNlVt21jo7fsR9d+fZRCe7zr0jIFU2nmAsV8ntcWlKdMzSXjXjv5bUWJ ZBL6eMkjG41FiT+/DuVkWAZLpTMm+zq/24DodUsEz+gUZWSKbBL3MphixPGg9DbbbU9O lRXr8gb+kt7YA26ROEBh4AqQ+bnOfn75LtF0GIOXWP17/2ZpapQmACABUjy7m/hIREtJ yvPqckkbWWHLT9VkCYagGxkhmvHNSJdrRdvMYCWz+xgkAloCkjVCMWwfBfgeU0TRH3O+ DevoUebgXJAIpSCNRFA/v7KuqdW9+qpOJXo6Txxa9KIemb5b5c1VKrA3jnwLYh7YFGes Bydg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=G0ipfVEM; dkim=pass header.i=@codeaurora.org header.s=default header.b=G0ipfVEM; 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 4-v6si639074pla.311.2018.08.16.17.02.29; Thu, 16 Aug 2018 17:02:44 -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=G0ipfVEM; dkim=pass header.i=@codeaurora.org header.s=default header.b=G0ipfVEM; 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 S1726266AbeHQDC2 (ORCPT + 99 others); Thu, 16 Aug 2018 23:02:28 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:33100 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726134AbeHQDC2 (ORCPT ); Thu, 16 Aug 2018 23:02:28 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id BE44761E84; Fri, 17 Aug 2018 00:01:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1534464082; bh=vqQEHmO/bNkoBUt732K7KSgkoc5+zFaobDb+L8J1Oag=; h=From:To:Cc:Subject:Date:From; b=G0ipfVEM3M+Z8XNnHFS313BaTPar1rSaivUP8n9QNGcMhTIFD/dxxS3fibPTzUMRd NF4xvYN3y8EFzSJEoj6vm+qP8b6tno9LPtG0o5N1+uLsRFiCA/T0ns4YbCuOUFHiaE zmnNAj4LA8hEV4AqUmOoF4VAYSmyev1N9kD6vluc= 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 2270261E66; Fri, 17 Aug 2018 00:01:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1534464082; bh=vqQEHmO/bNkoBUt732K7KSgkoc5+zFaobDb+L8J1Oag=; h=From:To:Cc:Subject:Date:From; b=G0ipfVEM3M+Z8XNnHFS313BaTPar1rSaivUP8n9QNGcMhTIFD/dxxS3fibPTzUMRd NF4xvYN3y8EFzSJEoj6vm+qP8b6tno9LPtG0o5N1+uLsRFiCA/T0ns4YbCuOUFHiaE zmnNAj4LA8hEV4AqUmOoF4VAYSmyev1N9kD6vluc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2270261E66 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, devicetree@vger.kernel.org, linux-usb@vger.kernel.org Cc: linux-kernel@vger.kernel.org, tsoni@codeaurora.org, ckadabi@codeaurora.org, bryanh@codeaurora.org, psodagud@codeaurora.org, rnayak@codeaurora.org Subject: [PATCH v1 0/2] Add Embedded USB Debugger (EUD) driver Date: Thu, 16 Aug 2018 17:01:11 -0700 Message-Id: <1534464073-8154-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. Changes since v0: - Remove select SERIAL_CORE from Kconfig as this patch doesn't involve anything related to serial console - Changed the dt-bindings to remove extcon and replace it with graphs to represent a connection with client Prakruthi Deepak Heragu (2): dt-bindings: Documentation for qcom,eud Embedded USB Debugger (EUD) driver .../devicetree/bindings/soc/qcom/qcom,msm-eud.txt | 28 ++ drivers/soc/qcom/Kconfig | 12 + drivers/soc/qcom/Makefile | 1 + drivers/soc/qcom/eud.c | 340 +++++++++++++++++++++ 4 files changed, 381 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