Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1445690pxk; Fri, 18 Sep 2020 12:42:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvRAsy+L7f58WuzqcWZoU/2acqRk6B2RMTkk3mFlhn3uRoMWuyTXFwgzF/BD224BKTTGql X-Received: by 2002:a17:906:2962:: with SMTP id x2mr35181651ejd.188.1600458125903; Fri, 18 Sep 2020 12:42:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600458125; cv=none; d=google.com; s=arc-20160816; b=l715AXkOgUIw1d85Fhx6eUPW9UGHADiCyOQxOm/pTwdH79RRhEtKAjJD/93wXYeVJC /QxYIuP4QOR8zSnSlPbsmDtIins/fMd1qVshBVGWy/m2CbRLVQZgRN+OF5igWTGhvJRM 1Wqu+VEf84JLcZLhDi+rzuura+4cWkl5ptCD6q9tQBeYVqeZySImw7eBsy92zjBIibyG 0QGyNN7rq1+cRObG1m805emkQrdH76Mu7OAqsmzZdALuZPQ5JZIbwpJv6mHLf4TkbDko 8SMK/oLifbSsk2yGqz9CSGXmujh4DbvteekFBlNkzpPv6fqBLIqK/+rY/nWm+q34G5SK RccQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:dmarc-filter :sender:dkim-signature; bh=21gJBIMI65nxRSHVpSUjrUhyL6H4Nnx1nmzdm9jg1JY=; b=l0XkaWoPc4dZaZOSvz5ssST/+ADS94lNC7a5mClwVfP/Tvc8fhffAKgbYRS1CRXYQu zaltAViX2poMwr9cJKcZ7Uw3L+Myc7bDD6/gYUCAi8z19LFF+I3P37HLxQ7h9JSQle68 LkSQDrji8brmjcWDzhdKluD1tWVlgPMaxHhuvTNhERi+Bl+Duhbhmjz+LyuR9cQ3tV8w zdezfVHeXLL/eDUJJZ2In9qhgInLnjJ/oAJhForq7MFDyByo2K81PtD+cWbvk115bwXY zxLhgnvHu6gfuW8ZA+2yOZUIHUeGVzRizrjQF+PaMA/EA9bdWbHKGWB+PO/cHEdW5Xlc EYIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=jrNb5awE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 16si386311edv.551.2020.09.18.12.41.43; Fri, 18 Sep 2020 12:42:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=jrNb5awE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726307AbgIRTkC (ORCPT + 99 others); Fri, 18 Sep 2020 15:40:02 -0400 Received: from m42-11.mailgun.net ([69.72.42.11]:18052 "EHLO m42-11.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726192AbgIRTkC (ORCPT ); Fri, 18 Sep 2020 15:40:02 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1600458001; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=21gJBIMI65nxRSHVpSUjrUhyL6H4Nnx1nmzdm9jg1JY=; b=jrNb5awESF6d/GISbexhdZHTg4xfiZVyXOTGtZPp4FF5f8jerLECl8YoiQVeUW7tBX5r95qj ERWKu8YJYp+QRQeBR2V0cqLLdoClarQdfuKn+hvZ1GxKIvL8YM0WrIe37CFz+4oYeP/WAOgh eVPmBx32NoPGvIoabsZOaKRWHok= X-Mailgun-Sending-Ip: 69.72.42.11 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n02.prod.us-east-1.postgun.com with SMTP id 5f650d104398385e306cabc9 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 18 Sep 2020 19:40:00 GMT Sender: bbhatt=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 38CE9C433F1; Fri, 18 Sep 2020 19:40:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from malabar-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: bbhatt) by smtp.codeaurora.org (Postfix) with ESMTPSA id 90466C433CB; Fri, 18 Sep 2020 19:39:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 90466C433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=bbhatt@codeaurora.org From: Bhaumik Bhatt To: manivannan.sadhasivam@linaro.org Cc: linux-arm-msm@vger.kernel.org, hemantk@codeaurora.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org, Bhaumik Bhatt Subject: [PATCH v3 0/3] Debugfs and Sysfs entries for MHI Date: Fri, 18 Sep 2020 12:39:49 -0700 Message-Id: <1600457992-18448-1-git-send-email-bbhatt@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Introduce debugfs and sysfs entries for MHI. Fixes to allow building MHI as a module without warnings/errors. This set of patches was tested on arm64 and x86_64 architectures. v3: -Fix typo in commit text and add a minor update to it v2: -Remove the patch for removal of MODULE_LICENSE() warnings -Add fixes to adhere to the Kconfig coding style Bhaumik Bhatt (3): bus: mhi: Fix entries based on Kconfig coding style bus: mhi: core: Introduce debugfs entries for MHI bus: mhi: core: Introduce sysfs entries for MHI Documentation/ABI/stable/sysfs-bus-mhi | 21 ++ MAINTAINERS | 1 + drivers/bus/mhi/Kconfig | 20 +- drivers/bus/mhi/core/Makefile | 1 + drivers/bus/mhi/core/debugfs.c | 410 +++++++++++++++++++++++++++++++++ drivers/bus/mhi/core/init.c | 60 +++++ drivers/bus/mhi/core/internal.h | 24 ++ include/linux/mhi.h | 2 + 8 files changed, 533 insertions(+), 6 deletions(-) create mode 100644 Documentation/ABI/stable/sysfs-bus-mhi create mode 100644 drivers/bus/mhi/core/debugfs.c -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project