From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9ED8C432C3 for ; Fri, 15 Nov 2019 18:48:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9E99A20730 for ; Fri, 15 Nov 2019 18:48:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="isV1GwSy" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726809AbfKOSsY (ORCPT ); Fri, 15 Nov 2019 13:48:24 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:44072 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726766AbfKOSsY (ORCPT ); Fri, 15 Nov 2019 13:48:24 -0500 Received: by mail-pl1-f196.google.com with SMTP id az9so5251366plb.11 for ; Fri, 15 Nov 2019 10:48:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=message-id:mime-version:content-transfer-encoding:in-reply-to :references:cc:to:subject:from:user-agent:date; bh=X4twp3pctC7VCYEezfWUSk2DKafsbFD6g/B7PxJ7beE=; b=isV1GwSykbdCIUh1Sq2o8vQA3iKaQVXo2ALyRNUWZ8d6X0VzM46cePA97/qONQhJ00 RFJ8tV421WaulCuo3jygFdZGKUKdOYYkry8Skc2I706xbc0HLFhIDEepgOxGqQdmgQS0 3vfOyfjJdFFH/sFlt9zScWDVH7vA6ecKloMps= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version :content-transfer-encoding:in-reply-to:references:cc:to:subject:from :user-agent:date; bh=X4twp3pctC7VCYEezfWUSk2DKafsbFD6g/B7PxJ7beE=; b=V0oPuUysvp2WYmxFde2JzYNrx1RTYcP0U/PcReqb+4DVEz0gM0M4Ojv8F04aAc2Es7 LEfyyucTnaPDXgc4hcrKwb2IES0jOptR856V+23fQzckxy42CKKDEOjJu0F+U2rEZcZR i8c5/fF6HzDUWoHmGQU+fLMlVhSeLQFs10InOq3F1zdSx4Akcvq92NuyWV307zbXSUjB 2xXdvCAvIlukV5S9WM1pGilR0QgvYhIbgYHIqlqz/xc8tWYwk4Hsagr3nD2m7rd0iFVH CNFtCKoT/mLH1kBcOel5t/nRK1rrknIOQqTb3GsXZ9gz9+gyiaR2zgoJepQysU9e/8Ej /HSg== X-Gm-Message-State: APjAAAUGYTzMysDJ7u1UaDigLQ0cihepu5cGbhZ4n5xIoMs4U2cWq83Y nUKcSO1PmwgYiQQopN1A5vNbEA== X-Google-Smtp-Source: APXvYqzCEHYKTJk35+KbDAqTeknJ92k5jjiweJcm0Q36J9YfJLytr/wLW+RFHHfKHabR4PfHBGRO9g== X-Received: by 2002:a17:902:8ec6:: with SMTP id x6mr16554556plo.151.1573843701878; Fri, 15 Nov 2019 10:48:21 -0800 (PST) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id a26sm11247215pff.155.2019.11.15.10.48.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Nov 2019 10:48:21 -0800 (PST) Message-ID: <5dcef2f5.1c69fb81.ccbc2.1a7e@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1573756521-27373-2-git-send-email-ilina@codeaurora.org> References: <1573756521-27373-1-git-send-email-ilina@codeaurora.org> <1573756521-27373-2-git-send-email-ilina@codeaurora.org> Cc: evgreen@chromium.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, mkshah@codeaurora.org, linux-gpio@vger.kernel.org, agross@kernel.org, dianders@chromium.org, Lina Iyer To: Lina Iyer , bjorn.andersson@linaro.org, linus.walleij@linaro.org, maz@kernel.org Subject: Re: [PATCH 01/12] irqdomain: add bus token DOMAIN_BUS_WAKEUP From: Stephen Boyd User-Agent: alot/0.8.1 Date: Fri, 15 Nov 2019 10:48:20 -0800 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Quoting Lina Iyer (2019-11-14 10:35:10) > A single controller can handle normal interrupts and wake-up interrupts > independently, with a different numbering space. It is thus crucial to > allow the driver for such a controller discriminate between the two. >=20 > A simple way to do so is to tag the wake-up irqdomain with a "bus token" > that indicates the wake-up domain. This slightly abuses the notion of > bus, but also radically simplifies the design of such a driver. Between > two evils, we choose the least damaging. >=20 > Suggested-by: Stephen Boyd > Signed-off-by: Lina Iyer > --- Reviewed-by: Stephen Boyd