Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1438942pxk; Fri, 18 Sep 2020 12:29:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyx5kO2O2btDAMat5ffAmBAakYewTzYWIlmDXN72EfSEuZ1ZiHeGhR4aVyAv0CmqEUyLCZl X-Received: by 2002:a17:906:f747:: with SMTP id jp7mr35728384ejb.22.1600457379860; Fri, 18 Sep 2020 12:29:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600457379; cv=none; d=google.com; s=arc-20160816; b=a273xEKHXBYNR8+mpwcouq14LmTodj2cuVlaEYoUQ9kCadwQ8i6p6/yIOrzCGQCEOB MDssHVI+xBSrilUxYxagt7kzVZq2R5ADUklqRcThlp/NZWZ57y+VDgLf/tzY+c82U0in MyyL8FFZK/1pWVCyVC4zJlIPpqCwihXAOuNvic3Nq7AXm1JDkoKdjrLb/zvoQBIXnzvZ p+C8kuXrX/FrpbL1dRZeJoqiFgX0LzKbL1Sg8kwRHL/uuwPWi1uVxlJfGxkpypLBaerq EQ8J4tdl4QifChYIrDXsyksa/DT37oznC7dYbtvpBVP/FFK0BSuy81Exp7w7mGgTX9ep 3N/g== 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=eD4kNKjZz2eCtHGP6cX6JAt0uRdVafNe797JPure7z4=; b=DCI93MHJ9dTxtxOYhmAumyp4laHfRCmH4HL3kkAGP5PbzSWuUrGjJBGhBkei357g19 uoS3q1vHmpzIT64WGLswlhulNmzLyV7VNg8GZmcQQ+yyNKa7/dnH07I/lvRfoEru3y02 4/ry9AASaY4ce9QuR3tkeefStfbCyH02I4VstjZyxs0c+DxNBgi0wNtr153xwEWHy5XO 2eG2ZiApZREjYFrYP+opYQk/tpUFsPpG/h9ahBoIFHi4v8vW7jglNxn+zFTbwDcdAHE1 mTHXggujMuaNrl3lLVAIocucttUNH6DqGkX3/fmI83PnWye0tzDza6h31dGVeQ2piFgn Mlmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=OvD2zSZp; 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 n11si2889977edr.118.2020.09.18.12.29.16; Fri, 18 Sep 2020 12:29:39 -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=OvD2zSZp; 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 S1726205AbgIRT1C (ORCPT + 99 others); Fri, 18 Sep 2020 15:27:02 -0400 Received: from so254-54.mailgun.net ([198.61.254.54]:51937 "EHLO so254-54.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726156AbgIRT1C (ORCPT ); Fri, 18 Sep 2020 15:27:02 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1600457221; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=eD4kNKjZz2eCtHGP6cX6JAt0uRdVafNe797JPure7z4=; b=OvD2zSZpeRxJK3rI01AUPo8+Xccruq0CYQRxvklatQOmr96myOLsOMyGjwMYrzVWdRvQRtp6 dcGVSr3CN4i6pdYutaxL933A/caJnEvvZ91P0Wn0+kevTbJLPfvK4EjONT+3JBWaTomxy+2o H6QMbskEQzaEd4s9YZvwHnbbEgM= X-Mailgun-Sending-Ip: 198.61.254.54 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-n07.prod.us-west-2.postgun.com with SMTP id 5f650a05ea858627d59df42e (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 18 Sep 2020 19:27:01 GMT Sender: bbhatt=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 198BDC433FF; Fri, 18 Sep 2020 19:27:01 +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 737C7C433F1; Fri, 18 Sep 2020 19:27:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 737C7C433F1 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 v2 0/3] Debugfs and Sysfs entries for MHI Date: Fri, 18 Sep 2020 12:26:50 -0700 Message-Id: <1600457213-11587-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. 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 conding 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