Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5071410ybi; Tue, 4 Jun 2019 00:22:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzLciEplMRBGc25MCiYRhnO9Tjf8iNb3OBHQaYUMq0bF1mCrH5TixPZGI2PTGlPe1mokvKS X-Received: by 2002:a62:d205:: with SMTP id c5mr35225840pfg.219.1559632956521; Tue, 04 Jun 2019 00:22:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559632956; cv=none; d=google.com; s=arc-20160816; b=XxKsX+hwPo4SFfSH2vkMtWSAVtPRtm9QapcaBJCnOU5AjGTRseHy2AwBSj+9XvGW+L MOW0DIz+pbNlWV9DEX6jeUTerOi2KVmGd3w8Q1mTFMsaxcmhv5aXMvr0N+6/+2k7O3LF yCE4wfyMzANouLU+UhpKOm6Mgl87pXKR+Yqg7vM0xVcvvstH3JIh8qFha1TYvjAwSPqt vIxKzPLWU+nBPqo29SzhY8OyhNXNV3E3H0f/bp5/l5lGukPfAScpaqEupwGyXgvCKcR7 dDcVqHkruevDwcaEacu3rqTqYUIE1rAVAsrRMM0w2pzAf8KTezErJZAEouACWvQp2q2J jyog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :dkim-signature; bh=cW54g37zzSz4GWvh5hRmHVol1ElNCqsUtdX3i5TDki8=; b=YYux08SuQfmxbiZpkRwfNuu7y3f3EpILYuOmM+wNHygD3F4i+RFFg+hDgGPA7+Eai0 P+0Chf35ffSDv8PWJPwHEl0T7VV1tGaXhJPQASRu0YKP6CHLGI92p5nrj5XCg8SFCIwG M6xA4O2ZRVud5o4A69+N0vC5EsvGAWAHN8HEwCnFnOiSxquuVbEVRt4mJrBrv4IiUQqP BU62NxsfqigAyoej/03G5dgqK0Z02Vn2/aj4DoB5N+fNRD3AN6D3kIsl5JGgv99bnBjl p+EmPceH2NruW8vuQ/pC4kxlS78M4q98E2es7/LXxOY7Beu+AeArccY3K1t8HFGM1pZR 0Gdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=RtBWZujo; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e11si22298490pgs.31.2019.06.04.00.22.19; Tue, 04 Jun 2019 00:22:36 -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=fail header.i=@linaro.org header.s=google header.b=RtBWZujo; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726835AbfFDHUF (ORCPT + 99 others); Tue, 4 Jun 2019 03:20:05 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:34988 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726707AbfFDHUF (ORCPT ); Tue, 4 Jun 2019 03:20:05 -0400 Received: by mail-pf1-f196.google.com with SMTP id d126so12147913pfd.2 for ; Tue, 04 Jun 2019 00:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=cW54g37zzSz4GWvh5hRmHVol1ElNCqsUtdX3i5TDki8=; b=RtBWZujoWwW3pFIZuHpnWrxTc8YvUZAJEdbpx9IY/AVKKprlylZPo4sQDdv+iGW4f3 BD2uhbla9+ITaG+pHmSjpvZ6jmb9i7Shw7kH3FG1mQIuzf6Lc60QAFndAoaY80zc7gQJ b6BcwbyIqhZa1t93ZOHF4wBec3eumarIxn2Y44vVRphfZg4giYiVNtIVx84AMWaSVzuX PFJT4EEWaOVsk+nBA8U2nC7/MZsLgO3a/rr5LOrZjkeCAcCqHViQKrKWGsR2i4iWgU37 21RwAgEHaunjZ0eB5GI7IrxjfCr8qk8hEo4yHZAjJoUbLTjoKrKTC2mGKsZ5u1aX6TLe UlkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=cW54g37zzSz4GWvh5hRmHVol1ElNCqsUtdX3i5TDki8=; b=Mc+SOTWl/hWBUrPURgBneXgT4aXCCiIqM6VfYq2RKGZFaBKoKs3WduqdHK5GakqQVb DvPS7ZvQauJX08+ov34+9QVIEBWYBWD44kDy/6/G5EwjJjtVy+XnEI1fnb+6tXSpiEAv hle5pkJx+E7BUKW1QrTs6aBV7cb7u1lwRyd68tgzBygua0sU1tnGvI8wQ4rOZ9EUqoj0 gU5NRU6ExKSYzrmOnF/dc9G5YI2nD6HkoGRXuLxeW3NcwwFWIEt9yWhShnwRTZF8Dxg/ 9hHOeWdOFBRpLrRPPhhvQ3KbROB5hfqzOZxEUlkqQdug0ptuL4Bcq+lQfb2WAlpbLHRO R0Fg== X-Gm-Message-State: APjAAAXYfeOmq+Ystj84h6vN/72iOp555oqHYfCqx5a2euhGes8OO0/L WpbwhSNgU6gcLIg24IqMv0YM1Q== X-Received: by 2002:a17:90b:8d3:: with SMTP id ds19mr34718088pjb.135.1559632804480; Tue, 04 Jun 2019 00:20:04 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id d6sm17747446pgv.4.2019.06.04.00.20.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jun 2019 00:20:04 -0700 (PDT) From: Bjorn Andersson Cc: Andy Gross , Linus Walleij , Rob Herring , Mark Rutland , Pedro Sousa , "James E.J. Bottomley" , "Martin K. Petersen" , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: [PATCH 0/3] (Qualcomm) UFS device reset support Date: Tue, 4 Jun 2019 00:19:58 -0700 Message-Id: <20190604072001.9288-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series exposes the ufs_reset line as a gpio, adds support for ufshcd to acquire and toggle this and then adds this to SDM845 MTP. Bjorn Andersson (3): pinctrl: qcom: sdm845: Expose ufs_reset as gpio scsi: ufs: Allow resetting the UFS device arm64: dts: qcom: sdm845-mtp: Specify UFS device-reset GPIO .../bindings/pinctrl/qcom,sdm845-pinctrl.txt | 2 +- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 2 + drivers/pinctrl/qcom/pinctrl-sdm845.c | 12 ++--- drivers/scsi/ufs/ufshcd.c | 44 +++++++++++++++++++ drivers/scsi/ufs/ufshcd.h | 4 ++ 5 files changed, 57 insertions(+), 7 deletions(-) -- 2.18.0