Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp78570pxu; Tue, 5 Jan 2021 05:44:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwbN6ZN/LHzJcJlynMJcatFoAtVjCengyPS2OMeylzs+Ab2hnPn/L32wPVhufJJKAxfgOy8 X-Received: by 2002:a17:906:cec7:: with SMTP id si7mr69164124ejb.123.1609854292092; Tue, 05 Jan 2021 05:44:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609854292; cv=none; d=google.com; s=arc-20160816; b=WEx1Uzpj2l0vdaghij8VC4EeZfaEi01aPDLsf26sRTF3c3Ah6cWvPVXzhCtYiM4aL6 yQFKczcWnMXJgsw4ZiHay8nom4yroVB9OkCeuYox5/IHHor8hAAapY4E/4dHgVr1a7ag +mjpWnh0PYrdOolqlThTB5EKZrRK29c8ZDFGs8EorD2U4GdG51EExUp8sQQCrwR8BbFc DuSIBBpNpOGHpSWV2bv0yRHZxnOX9BIfFNB4mguwQmJBZCyDlIWOxs7nnXgkR1558xJz f0cL9NgZirfOODcWSJPr/5Ge3O+xxwTCI3aoviWNx4pjUHcHoEWiNRjkWPP5L7Y83F6n 7CPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=ovzRNUOoirUfsc2LW7sL2wtDm57aYO8qZI0AlhpAeIA=; b=PDnI4mdYVCExnu9N4WzAj7pElPTgVsjSL+JyVlgfUQI9JudlFWzZix7HdBxJ4N1D9J ZNlavh8uqqaUv7furIHokJKg4hCdlszOJCpKLRITWkgR4aFjuPppE6mOMtHNw0ZNe4tL XGR+Ykt58edY8+lUxZYfdAPUv8ldt/79etCNCLCERedJ/Rom1oMc44iVilZ+YYPmbESZ 9/hA8PTeHXo79mYxFgSgDJ/7JpohbPQ6DPdgGlI7uVPzO/NO4qtKeHMqqxkb4LW9Rj96 vaA6vixV59Zb1vjiZ0JkzQBBIFXMo8w46H8XqOVWjB9RDIUFtjsqVpdIRvt27rckFk9Q GtLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=de5ituPc; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=XLFtUSgf; 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 j13si30219676ejc.454.2021.01.05.05.44.28; Tue, 05 Jan 2021 05:44:52 -0800 (PST) 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=pass header.i=@flygoat.com header.s=fm1 header.b=de5ituPc; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=XLFtUSgf; 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 S1728674AbhAENQf (ORCPT + 99 others); Tue, 5 Jan 2021 08:16:35 -0500 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:54833 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728502AbhAENQe (ORCPT ); Tue, 5 Jan 2021 08:16:34 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id CF5805803D8; Tue, 5 Jan 2021 08:15:27 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 05 Jan 2021 08:15:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=ovzRNUOoirUfsc2LW7sL2wtDm5 7aYO8qZI0AlhpAeIA=; b=de5ituPcFvcJH+RYJx1y2IcsAgBv7O2w2ri+QmFJXI L+U8Fz6keseJQzAVCGR4JyChzfcQBROW+sC6lhNINq1h3yzxmh1ev9t0UWKf37Ri xDGGy9ajQ4VjfqaOyoOZAM31Mrc7sp342A2FwgLqeuKYTrmdl68k4wGN7M5b6Gyv gVMpkBFp/xv1Z6/ctItDxSDcRlGE1P+b5hsSL2yzdVtJ0KjbeBHV/UlqfVUdzK6F vjeI1C3n3msmOZc5ShZmezbr2zZq4TQVuFoIprySn63Xx/V4BYycgtFtDd5vKHFD 3FccYzGMXGjFy3QoMQzNuoyFdYvdHpf/IIYH7+0XmK/w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ovzRNUOoirUfsc2LW 7sL2wtDm57aYO8qZI0AlhpAeIA=; b=XLFtUSgfh9I4uIAz1wGOioZcRbRB1e2Hm hgTV9/aSD0ubAGBz6dQEhbRTnhLz598llazSNNL5cOIXskPwlW12K1Ba7giEAoPx pjCQKnBYdHRuXQ/5/La4XJIBc0ofXbpYDaEblg9I9Io3Nz/eX98YxBYSzKgI4MJi +Fn+OrnnZ9RjtZB69u+ziWeXVwSbUIdBml6gy0qly6rLAZ3ycKSkahHpACcsIAn3 xbHhMUTewv2xJBYs+T5z3uutST71Zq7NAo23EpjGjDHsrXfFEIL8Nc7593wHwFM5 06IpO8fyeyi2jzUeLI1azhpbmuOhJHvggdJ81+phNbbjiloFeWe7w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdefjedgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpeflihgrgihunhcu jggrnhhguceojhhirgiguhhnrdihrghnghesfhhlhihgohgrthdrtghomheqnecuggftrf grthhtvghrnhephfejtdektdeuhedtieefteekveffteejteefgeekveegffetvddugfel iefhtddunecukfhppedutddurdekgedrudekrddvudeknecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihg ohgrthdrtghomh X-ME-Proxy: Received: from localhost.localdomain (unknown [101.84.18.218]) by mail.messagingengine.com (Postfix) with ESMTPA id B1AE324005A; Tue, 5 Jan 2021 08:15:13 -0500 (EST) From: Jiaxun Yang To: platform-driver-x86@vger.kernel.org Cc: Jiaxun Yang , "Rafael J. Wysocki" , Len Brown , Hans de Goede , Mark Gross , Ike Panhc , Mark Pearson , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] IdeaPad platform profile support Date: Tue, 5 Jan 2021 21:14:41 +0800 Message-Id: <20210105131447.38036-1-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tested on Lenovo Yoga-14S ARE Chinese Edition. v2: Use another private data approach (Hans) Jiaxun Yang (2): ACPI: platform-profile: Introduce object pointers to callbacks platform/x86: ideapad-laptop: DYTC Platform profile support drivers/acpi/platform_profile.c | 4 +- drivers/platform/x86/Kconfig | 1 + drivers/platform/x86/ideapad-laptop.c | 289 ++++++++++++++++++++++++++ include/linux/platform_profile.h | 6 +- 4 files changed, 296 insertions(+), 4 deletions(-) -- 2.30.0