Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp747814pxk; Thu, 17 Sep 2020 15:24:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhhN3h7c8PaEd2X8CGEChj2fYGfX11F3PFm3wj8H3ZGFVNHod9gnxFetW3on77qPK48DeR X-Received: by 2002:a05:6402:176c:: with SMTP id da12mr36165574edb.386.1600381465730; Thu, 17 Sep 2020 15:24:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600381465; cv=none; d=google.com; s=arc-20160816; b=goai+02A7/SZueEcm2jhrRcbTmn2GX4638634VmHcqnPPmmovTUQU89qe7LhOx0PRG 5LwHFIyDVWyDvns1/cz7OZ7PkIXmdrxvdiOXaN/CYjOFN7tDzmP/WaVgxZUHa8+fNNys TjWJAOIHQaK3LgRPU5j2InnkA2/n9VaIswIA4M19hj5x443pfY/QyRapYoISQ2j/pwMn Qt10wzVtaR16vOl77u5XUTVh8USU98HD4+hMA4FkSU8eRmUHzJauuVBUTlEPgfiUEpql qNKq5dyuxT0OvnFY0Fp8vh0W1rrBM1OnlS03RxL638Hdxlx0HH5kcT43tWAa2CtSmWfK uB9g== 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 :dkim-signature; bh=qQu79+/Wdy4kM9DPCfA8lRC8MhZu2Ej63IAQI5iViPY=; b=gsbZQx10eBUD4Ok4WoRvB5Vw9spEsegtlscGpjbax6kr5FcnADQoJc2oK4ql2UJSYv GtCKXlRmnyymktlQM0gx7Ihnlg/bSRDXAhLiM1fiyIPG+qgP10h92p52pi5P8MkU99Mf EZkWgEhuxJw4/d28UkukaQI2BG84t7YBHcFZ5T56YdaHSuyjrqSugajCjX09Z8BfXMSd YAVgmsGoirr5u5zFcd13thfLTFe95URWVAVc/8YjJoX1uqrztwWMuglVEEzeSANArcqG +EA29/Iq8fQG2YYhuXO5rtW9SvSg1zDSg5OooD8DvMJx1ypoXNHHrHrqe5xgdTCZrDNT MLwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=fspIPMOF; 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 s5si787126edu.65.2020.09.17.15.24.02; Thu, 17 Sep 2020 15:24:25 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=fspIPMOF; 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 S1726234AbgIQWTv (ORCPT + 99 others); Thu, 17 Sep 2020 18:19:51 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:40119 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725874AbgIQWTv (ORCPT ); Thu, 17 Sep 2020 18:19:51 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1600381190; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=qQu79+/Wdy4kM9DPCfA8lRC8MhZu2Ej63IAQI5iViPY=; b=fspIPMOFABHbbkTC59ZRr6qS1vfXPv0bNLU8+3yUHcYDhOnCrRjGe4+W7wOQjfvm0qX3j26S nUmxAt7vCa2EJ4XyUm9LJOSIgwKBPF2H0QM0Wn/woj7t/V0MVDGL/nk5+2An5KPBizfNmAm3 c48OP8FWpj6LNZvE8WPuSWK+vVY= X-Mailgun-Sending-Ip: 69.72.43.7 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-n04.prod.us-west-2.postgun.com with SMTP id 5f63e105c4180d293b01f0b9 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 17 Sep 2020 22:19:49 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 78924C433F1; Thu, 17 Sep 2020 22:19:49 +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 7E2E3C433CA; Thu, 17 Sep 2020 22:19:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7E2E3C433CA 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 v1 0/3] Debugfs and Sysfs entries for MHI Date: Thu, 17 Sep 2020 15:19:33 -0700 Message-Id: <1600381176-37604-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. Bhaumik Bhatt (3): bus: mhi: core: Remove warnings for missing MODULE_LICENSE() 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 | 8 + drivers/bus/mhi/core/Makefile | 1 + drivers/bus/mhi/core/boot.c | 3 + drivers/bus/mhi/core/debugfs.c | 413 +++++++++++++++++++++++++++++++++ drivers/bus/mhi/core/init.c | 60 +++++ drivers/bus/mhi/core/internal.h | 24 ++ drivers/bus/mhi/core/main.c | 3 + drivers/bus/mhi/core/pm.c | 3 + include/linux/mhi.h | 2 + 11 files changed, 539 insertions(+) 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