Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3745903imm; Mon, 15 Oct 2018 03:33:23 -0700 (PDT) X-Google-Smtp-Source: ACcGV62clNIA0IzxPe1fLgvPpo5ZuLQ042xCK36C8Cd0B3vKlvzaUsuzuVFPf9txzKoSSDMcHw5r X-Received: by 2002:a62:f553:: with SMTP id n80-v6mr16939391pfh.59.1539599603096; Mon, 15 Oct 2018 03:33:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539599603; cv=none; d=google.com; s=arc-20160816; b=VK+KUpSEZKL7SDbCIIIsOCVt0gNViiBVDxAZn62BnH2BA0jmSKLBGJwwxUabNEDfJe B6zkNinaJrJhVziMWS/HH32IxGxpa+hwMLOcTYsN94mjp9Y/fAGrJsz2qVa2sPNoPEHL EkF8ZarpebiqQ+XkNQvKOQR+9/QOfbNliQu4q2CBXHBuAOasJpClVGS1+2VQZoZ15n2w FSiGIQmlKXDIKwLcEUDnrscl60uV5wDlzIzEfLBKP/GxnbCA206NQ6ps6gWs/p0WapVH uTUizvTvqqVj0GjFEzHM81duWybdlQaTfH833ffWu7ZTAHZNs/DAn3KE06UjQ5h/E5XM 0YkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=6J/MDzNv1hJzsqyKlgjyMlu2fh5MxbFr8wTF2WxkJaU=; b=xD4oP2QTHQunUvYyk4goxWt36ivye5EQ8L8XdqgzGUIpmlJDTSZN7DJkkiB6XqthsX /AepkpZgN0X6Cm5z4RMMsOASOP7P7PPCF5/lm72HdOE8tlbJ2Rc1o3sbOo1qZHBS85y9 OcXS1R55QWchRrI4We51ganpTKco+CG1QbPbHJW1pZiWZemwb8lBGSUQHKb5ss/rJkwU nlOvG10Poc14y+E2ooH4hnMaxOzWTXnB68vaO/FCoHKvCbtti6SIW5kM3uDjOS8TLHYn lIaHJOhlwX3roHRS0nIMj21IjTfoZXeglS0+yZ2CKuKmAYdWlIuS8YwFHORgUHY0teCR hysw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4-v6si10887382pfg.112.2018.10.15.03.33.08; Mon, 15 Oct 2018 03:33:23 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726690AbeJOSQC (ORCPT + 99 others); Mon, 15 Oct 2018 14:16:02 -0400 Received: from www.llwyncelyn.cymru ([82.70.14.225]:60354 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726469AbeJOSQC (ORCPT ); Mon, 15 Oct 2018 14:16:02 -0400 Received: from alans-desktop (82-70-14-226.dsl.in-addr.zen.co.uk [82.70.14.226]) by fuzix.org (8.15.2/8.15.2) with ESMTP id w9FAV47D013626; Mon, 15 Oct 2018 11:31:04 +0100 Date: Mon, 15 Oct 2018 11:31:03 +0100 From: Alan Cox To: Hans de Goede Cc: Darren Hart , Andy Shevchenko , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] platform/x86: Add Intel AtomISP2 dummy / power-management driver Message-ID: <20181015113103.27dc106c@alans-desktop> In-Reply-To: <20181014175427.22139-1-hdegoede@redhat.com> References: <20181014175427.22139-1-hdegoede@redhat.com> Organization: Intel Corporation X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 14 Oct 2018 19:54:27 +0200 Hans de Goede wrote: > The Image Signal Processor found on Cherry Trail devices is brought up in > D0 state on devices which have camera sensors attached to it. The ISP will > not enter D3 state again without some massaging of its registers beforehand > and the ISP not being in D3 state blocks the SoC from entering S0ix modes. > > There was a driver for the ISP in drivers/staging but that got removed > again because it never worked. It does not seem likely that a real > driver for the ISP will be added to the mainline kernel anytime soon. > > This commit adds a dummy driver which contains the necessary magic from > the staging driver to powerdown the ISP, so that Cherry Trail devices where > the ISP is used will properly use S0ix modes when suspended. > > Together with other recent S0ix related fixes this allows S0ix modes to > be entered on e.g. a Chuwi Hi8 Pro and a HP x2 210. > > BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=196915 > Signed-off-by: Hans de Goede Reviewed-by: Alan Cox Thanks