From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757262AbcFAEi4 (ORCPT ); Wed, 1 Jun 2016 00:38:56 -0400 Received: from eusmtp01.atmel.com ([212.144.249.242]:47166 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752091AbcFAEiy (ORCPT ); Wed, 1 Jun 2016 00:38:54 -0400 From: Wenyou Yang To: Alan Stern , Greg Kroah-Hartman , Nicolas Ferre , "Rob Herring" , Pawel Moll , Mark Brown , Ian Campbell , "Kumar Gala" , Alexandre Belloni CC: , , , , "Wenyou Yang" Subject: [PATCH v2 0/2] ARM: ohci-at91: Add support to forcibly suspend ports while sleep Date: Wed, 1 Jun 2016 12:29:58 +0800 Message-ID: <1464755400-6825-1-git-send-email-wenyou.yang@atmel.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To save the power consumption, add a new compatible to support forcibly suspend the USB PORTA/B/C via OHCI Interrupt Configuration SFR Register. Changes in v2: - Add compatible to support forcibly suspend the ports. - Add soc/at91/at91_sfr.h to accommodate the defines. - Add error checking for .sfr_regmap. - Remove unnecessary regmap_read() statement. - Use the new compatible for ohci-node. Wenyou Yang (2): usb: ohci-at91: Forcibly suspend ports while USB suspend ARM: at91/dt: sama5d2: Use new compatible for ohci node .../devicetree/bindings/usb/atmel-usb.txt | 5 +- arch/arm/boot/dts/sama5d2.dtsi | 2 +- drivers/usb/host/ohci-at91.c | 80 +++++++++++++++++++++- include/soc/at91/at91_sfr.h | 29 ++++++++ 4 files changed, 112 insertions(+), 4 deletions(-) create mode 100644 include/soc/at91/at91_sfr.h -- 2.7.4