Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7435162rdb; Wed, 3 Jan 2024 16:38:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IEhWkkDl3PUUbg3cW9B5IWqVWDhcpkDqIE9a75hEG5F0WFh0N8WWyUN5lyuPw+QUPr/vYAT X-Received: by 2002:a05:6359:59a:b0:174:c7d3:6718 with SMTP id ee26-20020a056359059a00b00174c7d36718mr19458892rwb.12.1704328719159; Wed, 03 Jan 2024 16:38:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704328719; cv=none; d=google.com; s=arc-20160816; b=XTKjuZWi51JSctyCcFGspaukcHhS075VGemLyaA1bj3t/8RgHtmowdn/dl9dh+k5tc XoD7B7OIBxyb/ZqUv2lI/HVjA45rjeeOKuf9NCzcDu7SS/d4hUqc6Ralcc3C4uIDglo2 Xv7IUoC53YxdUhlMUv3isZMKk5M5gvHGbw8x9nwuU+7kl2opDfaPgC9IST0W5MeTigj6 SPMvDZ+R0eldNRayLNgcaokXml8MtDtxXGHOsVBFfVZM/7MtG/p4VRe0RUtOU8L6sJaM gZMe5Fe4ejfLzTuRgZdlGFTNXV8CI+0v8DHNNRXpfKSmJB1l/opMWutkWdwIvnCBQYIg DckQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:user-agent :from:references:in-reply-to:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=WeSEM9FnhCQHetUK/2V8lmbOcksPqkXqmCZ/w8B3yNs=; fh=krIO59xsCuuLORbJVONa8WLztOPdt1WqZAIRXTVM5GE=; b=GOyxOMppiINsOqtZBTvoU+y8d91OEI3Jp6ihFUPw+L8XgPjL0tm1NI62/x6H8rpw4c VHE6WGs4JYLg/7Yy/YNSlwUUr/qaseAjgHtIbv5h7hnnLkz0+EhuSedryCuq/pzPUhx6 Dbt9bEO6jW650PLonWPf6r9o/SuvFuNwgAoczEMEulKR2uztWtNXXEJCbTbWTIm8hcix ru7tIOw9bRGYH+24X9oTVPaV8ih+nO1yxfmiC0tB1sIuud506u0uAVL/rRez0pOF4ZC7 VbuUc+Humz8KflxWdRpQzfBE/bYfON/HS5wYRqa7/TaLLm+ns/cBXFzl4mG4iaHONzyi 1aXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Ra4f+5iF; spf=pass (google.com: domain of linux-kernel+bounces-16150-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16150-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 36-20020a631764000000b005b91536981csi19996673pgx.11.2024.01.03.16.38.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 16:38:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16150-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Ra4f+5iF; spf=pass (google.com: domain of linux-kernel+bounces-16150-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16150-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6CB782871D3 for ; Thu, 4 Jan 2024 00:38:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 397FC29B2; Thu, 4 Jan 2024 00:38:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Ra4f+5iF" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B51F21FC1 for ; Thu, 4 Jan 2024 00:38:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-50e72e3d435so8533956e87.2 for ; Wed, 03 Jan 2024 16:38:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1704328712; x=1704933512; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:user-agent :from:references:in-reply-to:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=WeSEM9FnhCQHetUK/2V8lmbOcksPqkXqmCZ/w8B3yNs=; b=Ra4f+5iFh9DeiuZD7AJrQcT9Pa89TqkQ3vjDHB4quHaC2uFszhVyJv640tFP+pwnVt Cf2tbnDli0iwXQTtZo7BDFOKbH5+jFFn8Odn4nVEYioGxZGEYsTzjGgEp6AURIXVBClG 9cGGIt29TF1mHrCb9/CP5f/csEoDVRVE9QaGg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704328712; x=1704933512; h=content-transfer-encoding:cc:to:subject:message-id:date:user-agent :from:references:in-reply-to:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=WeSEM9FnhCQHetUK/2V8lmbOcksPqkXqmCZ/w8B3yNs=; b=N/VjV8hhJAaH9Ro8qgMfjQVo297JNGRvr6HrbqmQSEacqtw3F6r09x4TkdmqdakvCo P7IRFuJDB9mJ0UsNqX6ERqjGqGLOcEov58OSzyuBiTqYgxCErTRWQ90Jzsl/9gaSZKye IdySWHjUxdMikA67OTmLtRkUdxaV/2FNBdhaLJLEOd/dyCW//YG2ZKhT8rstxiTdn4x1 2okMcl71O4BwFJLT6k7SvpO4QdtESylwD0b0SVpXqQWrkk6W/+EPLFzfsH+5J+BPWTrY 1yDfXBkGRpVF/OxtuFuq5abLYXvXUf/cYfPK95WcjvH+o2R9v9Z59TSyMBO/iu6XeQag 3iRQ== X-Gm-Message-State: AOJu0YwNNKYELNc6cyE5QRuczUaVkMFdofyz68TZKVR0JbI51eytlugi Kotb7si792dfsOjsM5IgIOiK8InJPLjmTS9BKPYbBbVfKxi+ X-Received: by 2002:a05:6512:3b9a:b0:50e:710b:a7bf with SMTP id g26-20020a0565123b9a00b0050e710ba7bfmr5628850lfv.81.1704328711790; Wed, 03 Jan 2024 16:38:31 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 3 Jan 2024 16:38:31 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: References: <20240102210820.2604667-1-markhas@chromium.org> <20240102140734.v4.24.Ieee574a0e94fbaae01fd6883ffe2ceeb98d7df28@changeid> From: Stephen Boyd User-Agent: alot/0.10 Date: Wed, 3 Jan 2024 16:38:31 -0800 Message-ID: Subject: Re: [PATCH v4 24/24] platform/chrome: cros_ec: Use PM subsystem to manage wakeirq To: Mark Hasemeyer Cc: LKML , Sudeep Holla , AngeloGioacchino Del Regno , Rob Herring , Andy Shevchenko , Krzysztof Kozlowski , Konrad Dybcio , Raul Rangel , Tzung-Bi Shih , Benson Leung , Bhanu Prakash Maiya , Chen-Yu Tsai , Guenter Roeck , Prashant Malani , Rob Barnes , chrome-platform@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Quoting Mark Hasemeyer (2024-01-03 14:45:06) > On Wed, Jan 3, 2024 at 3:25=E2=80=AFPM Mark Hasemeyer wrote: > > > > > The DTS patch would go through the platform maintainer tree and be > > > pulled into the soc tree and sent up to mainline from there. The > > > platform/chrome patch would go through chrome platform tree and then = to > > > mainline. The bisection hole will be real. > > > > I thought it would all get merged in the next merge window. How are > > bifurcations like this normally dealt with? Does one wait for the > > first series of patches to land in mainline before submitting > > dependent patches? That could take two merge windows. > > The DTS dependency problem must be an exception? How are other > dependency problems resolved? For example, this patch relies on > changes to 'platform_get_irq()' which is in drivers/base/platform.c, > which I imagine is in a different subsystem and gets merged into a > different maintainer's tree. Cross tree code dependencies like that are usually resolved by having a maintainer ack the patch and another maintainer take the code parts. DT bindings are not supposed to be changed in a way that would break compatibility with existing code, hence the compatible property. It's a backwards incompatible change to add the wakeup-source property to the EC binding and make the driver rely on that property to maintain the previous code behavior. That's why I keep saying that if you want to add a wakeup-source property and make the driver act the same as before it must be done with a new compatible string. Because the driver has always set the device to wakeup, the compatible has implicitly conveyed that the wakeup-source property is present.