From patchwork Tue Mar 26 15:57:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10871479 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C9EFB1575 for ; Tue, 26 Mar 2019 15:57:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4F772858F for ; Tue, 26 Mar 2019 15:57:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A9138287E3; Tue, 26 Mar 2019 15:57:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 52CA92858F for ; Tue, 26 Mar 2019 15:57:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731495AbfCZP5i (ORCPT ); Tue, 26 Mar 2019 11:57:38 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:36005 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726277AbfCZP5h (ORCPT ); Tue, 26 Mar 2019 11:57:37 -0400 Received: by mail-wr1-f67.google.com with SMTP id y13so15027094wrd.3 for ; Tue, 26 Mar 2019 08:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=U8XK9bJtLmBc8wuc/2NLzJPbbmbeGYQnogz6Wqi9Jds=; b=xlN+qgnkumGFZWVlsUI40paOXtXmV92SMhVj75rKaKHLl1WkXc6/3P86wZaU+N2hXA FF9xoHbrpD9UpT9pB4jZ5hEchFEh7gyhVBs6uYYui/Vz7GAI2Fmmpc6n1R396dN/04yS hXOMUXehWMp6Gw3KeXgTD5mCtxzvdN1iTMNCPkkvaDCNzyfoGKFL41ByeZUbuF2QP3EF htp64+szjgesZB+Y4kt85SxvjU9jBn7GPgpQqiqi15KjUXfTQj3TdBkjTyP7My4BlsQD 4AjF09lzfhCzgBq0LCLFb5Zyz30cVQx7ugB6iGqscXglPZavF0IsRmzC7gRe5tJbkP2W hUCA== 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:mime-version :content-transfer-encoding; bh=U8XK9bJtLmBc8wuc/2NLzJPbbmbeGYQnogz6Wqi9Jds=; b=FSxcBkiTs0tIAU0qFLK+9vQ6IkvEGLSTwmui0pTyrHFj65JKuG7Y67sh/TxgLWf4fx 75GLE/mWi9tLRzvuQhFQpw0qD9yrcecQkVi2yFj4BlMGuhzHYkNaQ+ixP/eRiOi6/CTm zjqEwTumN0jFjOf2PFMT9jy/SfY94+CzA0v9nvPLkAoB32mWh819PBiGLlJFWkp7w4R5 OueAjKiB3FGZylY4Y2On6ksC7yt3YHRAJ1JGYif+cmJM2MAThnx5W//JpL9mW4F/OxwQ 6l824SkESHtMQwv7mvwntx3AFSvN2DBiu/5sKdRcZk1EbIQH0s5CRp/8t0knAWSqQTpT y+hA== X-Gm-Message-State: APjAAAXRLhDZOtc/Tw5sL+bW7Kb+aDFFnqANG3JMeUolbKV864rZKxJl WJ4pYE+t6vwbvMGCGxrj+ZVxgg== X-Google-Smtp-Source: APXvYqzssCJBB6F0S0Yl5ixsYuNZdS0wJg1e+EU4uSb3K2caVHnM7Y25UJvxYpUrkFFu6pWDD7FjDA== X-Received: by 2002:adf:fec3:: with SMTP id q3mr21172620wrs.173.1553615855558; Tue, 26 Mar 2019 08:57:35 -0700 (PDT) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id 204sm28522999wmc.1.2019.03.26.08.57.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Mar 2019 08:57:34 -0700 (PDT) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Alan Stern , Greg Kroah-Hartman Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 0/3] ARM: davinci: ohci-da8xx: model the vbus GPIO as a fixed regulator Date: Tue, 26 Mar 2019 16:57:25 +0100 Message-Id: <20190326155728.5432-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bartosz Golaszewski Adding the vbus GPIO support to the ohci-da8xx driver isn't really the optimal solution. Rather: it should be modeled as a fixed regulator in which case the driver already has support. This series adds necessary fixups to the board files and removes the vbus GPIO from the ohci driver. Bartosz Golaszewski (3): ARM: davinci: omapl138-hawk: add a fixed regulator for ohci-da8xx ARM: davinci: da830-evm: add a fixed regulator for ohci-da8xx usb: ohci-da8xx: drop the vbus GPIO arch/arm/mach-davinci/board-da830-evm.c | 48 +++++++++++++++++++-- arch/arm/mach-davinci/board-omapl138-hawk.c | 48 +++++++++++++++++++-- drivers/usb/host/ohci-da8xx.c | 39 ++++++++--------- 3 files changed, 108 insertions(+), 27 deletions(-)