From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (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 92941BE5D for ; Sun, 3 Mar 2024 12:22:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709468565; cv=none; b=P/hk6u4eWrVzWj7xlabghqfC8EvFL3wujbNp+h3OqGEN6eKh4FFzbXglau73iVgLOyoW82ySQERFB4ODbJ4zysr9qEk9bEjBWN3XoPsyVI9qTc5utUE4li83ym8w0gDA3LEz3qSARX6gR+2/S9DSchTmgft4OejxOSKr9YFu+zM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709468565; c=relaxed/simple; bh=AgQGKG1txHLWS8ImEhfnYrC9R9R6mULK4U8TwmPHZL8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=LUHnxGwH6rdl9Zhm+FeJvzbQwR15LleK7j4IDPRDbMv8Sc0yv9noMvbr4XaC2tf6ERyzjXoZCP7qssakErqdUcsF5hlT5RYihMG4fMWxSAHc+KRH0Sog6M9qV4uFpoNH5YPPZfX7Cq/LmpOT58tOszXU0B+NGCUlsu90YPp8ZZ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=ZP5U4kxE; arc=none smtp.client-ip=209.85.221.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="ZP5U4kxE" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-33dcd8dec88so2196655f8f.1 for ; Sun, 03 Mar 2024 04:22:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1709468562; x=1710073362; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=LeuiFF7R2tbAvv2UiI2PaXeJiriCJov3tu3mur7RTtA=; b=ZP5U4kxEzdGczoHSJKE09oWCgmVV3ZluyAyDipgaxpKMHyrDq20im/Q/dHQqoNc/zL dEd4s5ZQNiKQ9KEU2mOF3Osiz4t6TvRCQgtHGFH6j5Yx1eHhcCHuqC7xaksKxHz5LCSx 78HyPP2g8aiXYiHzSUO/CR++spE0Mcn7+D4Uc3ChGFR9afzaYzdxG0GBLCe3sOIjKklx zAsEoTyhtdAl4Bl6Z8e6zdXIPtKBUs0wARlco69aLJi2DzCcniVKLjwWUPAHyypu26M+ JwVhZOkngpOYEq8HSGhvf1RKTAQaleW0XgnIy5V2vBHiIu4ueCDXE4p5YEI0A776l9uq RUUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709468562; x=1710073362; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LeuiFF7R2tbAvv2UiI2PaXeJiriCJov3tu3mur7RTtA=; b=MUhdJ+UVX9I63N7Y++TPWOI9MT9DMQWBubamkDb45oq5dCV88EzWJsh32TSlaHdoxJ UDnWv9vsfz9QPJhRDLauRZhBHNj0XtyPDVCPTbtBRAQbF9s9y7NRdv5/gpBaW2OBGu+M KKNeMlzkjpdQf/hr+VsHsUS+Vocc5MuLciDgrn/v04kXXbghifu4YCjxqXUY/leMM8Ca O9666dVOlyXG5vzOuqFF3phGWPXcuMqyWuMTOxh3mu5bD/Fh/OizjGy9d208Z3n2F9iC S6EYVIkQhxPoF+jOnkF1pybJsPihmi+q4nMrGe9L8Ptasn8fUy6od71dwFDkX5zazelM 5l5w== X-Forwarded-Encrypted: i=1; AJvYcCV+ZjTg47hag2DZQlAoYBGj8bvMh04ofPvN/Vguvf2TELF/YRTeO5x74W1iaw0yuGH8HG7g4OkHfVAGGNgON3AD7Tf4h/yoA4o= X-Gm-Message-State: AOJu0Yy6IwUpM/HmaVJv0DY8CEIZY/+x2A1wWB7DpyEJVDhds9uC2gNS 9UZyJbe875JpjzgIEeiTZnPy5TXv4pbDrmDPfZhNmqQNiDhF4pwggOUQyLaazco= X-Google-Smtp-Source: AGHT+IF20EOBE7aJ/x79yakSrTL0/aE5yoWoNlwT5Z0ESnkPtvvcc9ML76lCqjtFRth7j+EnygarBw== X-Received: by 2002:a5d:4150:0:b0:33e:164d:c8c3 with SMTP id c16-20020a5d4150000000b0033e164dc8c3mr4775457wrq.31.1709468561818; Sun, 03 Mar 2024 04:22:41 -0800 (PST) Received: from [192.168.50.4] ([82.78.167.38]) by smtp.gmail.com with ESMTPSA id dw2-20020a0560000dc200b0033ddfba0c67sm9477927wrb.41.2024.03.03.04.22.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 03 Mar 2024 04:22:41 -0800 (PST) Message-ID: Date: Sun, 3 Mar 2024 14:22:40 +0200 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 30/39] power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7 Content-Language: en-US To: Varshini Rajendran , sre@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Sebastian Reichel References: <20240223171342.669133-1-varshini.rajendran@microchip.com> <20240223172920.673110-1-varshini.rajendran@microchip.com> From: claudiu beznea In-Reply-To: <20240223172920.673110-1-varshini.rajendran@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 23.02.2024 19:29, Varshini Rajendran wrote: > Use sam9x7 pmc's compatible to lookup for in the SHDWC driver. > > Signed-off-by: Varshini Rajendran > Acked-by: Sebastian Reichel > --- > Changes in v4: > - Updated Acked-by tag > --- > drivers/power/reset/at91-sama5d2_shdwc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/power/reset/at91-sama5d2_shdwc.c b/drivers/power/reset/at91-sama5d2_shdwc.c > index 959ce0dbe91d..2121d7e74e12 100644 > --- a/drivers/power/reset/at91-sama5d2_shdwc.c > +++ b/drivers/power/reset/at91-sama5d2_shdwc.c > @@ -326,6 +326,7 @@ static const struct of_device_id at91_pmc_ids[] = { > { .compatible = "atmel,sama5d2-pmc" }, > { .compatible = "microchip,sam9x60-pmc" }, > { .compatible = "microchip,sama7g5-pmc" }, > + { .compatible = "microchip,sam9x7-pmc" }, Maybe would be better to add a phandle in DT instead of continuing populating this array. But then the backward compatibility should be preserved. I leave this to Sebastian. > { /* Sentinel. */ } > }; > 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6343AC48BF6 for ; Sun, 3 Mar 2024 12:22:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xhlnC3qPNq9Yo4wOK0Ev+55OBH/+QlEKbItWsexhsvo=; b=DHnPgc7HXGREaN jlPsXeH3l5RDrCIhzYXLeR2HMlydWDqsMxeuOQqFmQTpv7+4EvgvbFsVNUzJivnrNNitkQIe1PVBc 00Q/I4LJW743wDSRqgkGqS00TN1vGLYYNZopdzWP9TVYB5XQdwxl9cNeUihtd8kplwyN3n6zHN6Nk vdvdbgJqwsCq5iQfaPEBfpgWqB5r0SVyts3vkvo3bXNl0k3kfoY4H/0O527gPKXjl79luGA/N+Sqq is9z/KnH8YmguiewkQnTjehF9WjjLZGbz0OhmQIlFYDMNhIcZuCc8aSCXASi54XpNSILqilnScD8G nDMosczZ6dx68fNrza5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rgkrf-00000005raQ-3gEj; Sun, 03 Mar 2024 12:22:47 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rgkrc-00000005rZl-25UH for linux-arm-kernel@lists.infradead.org; Sun, 03 Mar 2024 12:22:46 +0000 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-33d153254b7so2170788f8f.0 for ; Sun, 03 Mar 2024 04:22:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1709468562; x=1710073362; darn=lists.infradead.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=LeuiFF7R2tbAvv2UiI2PaXeJiriCJov3tu3mur7RTtA=; b=JgpRwTFqgG95BI0tl0H6jeizSt4qCZ0pb58vKk1ijfUncGTlP3c9er0jTdd+7+33um zEpTN3SrjxK8bvNYYqIuela6jxI2dH0Poy7q4TB5HsWiAn58emE6dtfvb/RsfB/oPycY XSpaocOLxeEU3dkA48q4JSX6hZjyctsZZ2Zj3jrOX9ho3nt2nP0ltR4cSWu+HdBi1iTn 0wuA3UBGK2PvPzSRBk/XQASb8pf+PmcfZeG9FJvzuM6LBO6AltY0kUV6U/xm/lsd0tT/ KiRMyn+1jUQrm+szPhtgVDtsMfqg5NktSHuMpDhVz93gZM2wU8Ph/fRJFpJkZSYf/lfE GwCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709468562; x=1710073362; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LeuiFF7R2tbAvv2UiI2PaXeJiriCJov3tu3mur7RTtA=; b=mhRrr/Feuip6E2oGkk0egL/Al6icJ739tUHDHbesCFIJMkk1Zpq1/oxfH4p86dafdp tfBuBr1b2aTrqmVgmsBsBqEM/pOr7xHpud7ePgjXRP+p05H0vHB7wDz6QD1NHdwmk1Ba QJ2XODAj31Ri2sso5v+ZDhMAZnLGG4xdkUierTPzcVJniOkQXCOK9qrpxHXZ1m2wiTSk XZclr5BNe/M6bW32fK4H0s9NXtpMP8Ma0x6DKx5BzmDm/uoz1smYwG5XN6Z0mJAXFTgL H2cLB3mJwNgdR1Db7vrBOeoPYs24CyynAyTzKfefutYwAiWJmZ05qXIwh/7J9TLI06/Y MFfQ== X-Forwarded-Encrypted: i=1; AJvYcCXqvW2e3I1O0lP+S0+cZFV+Ii2/ECN1u2gr9pYwfpubU4WIqZwqYGe2BKhL+8YfUPxysiiIF2LNu/zxvR0xj2YlaKqralRn15z32wsqnGzwrGiu7Cs= X-Gm-Message-State: AOJu0Yzwo+VCpXssLnYeM4qPNBE4Fxy7C9NZ8Ug020EIGEI+RIlvbgzI o0CdiMUV+RKgQ2+ZSNtogiSkDQffhpsVIS1hhiZRMFb+A+iw5fNzF+OgUpQ+tFQ= X-Google-Smtp-Source: AGHT+IF20EOBE7aJ/x79yakSrTL0/aE5yoWoNlwT5Z0ESnkPtvvcc9ML76lCqjtFRth7j+EnygarBw== X-Received: by 2002:a5d:4150:0:b0:33e:164d:c8c3 with SMTP id c16-20020a5d4150000000b0033e164dc8c3mr4775457wrq.31.1709468561818; Sun, 03 Mar 2024 04:22:41 -0800 (PST) Received: from [192.168.50.4] ([82.78.167.38]) by smtp.gmail.com with ESMTPSA id dw2-20020a0560000dc200b0033ddfba0c67sm9477927wrb.41.2024.03.03.04.22.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 03 Mar 2024 04:22:41 -0800 (PST) Message-ID: Date: Sun, 3 Mar 2024 14:22:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 30/39] power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7 Content-Language: en-US To: Varshini Rajendran , sre@kernel.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Sebastian Reichel References: <20240223171342.669133-1-varshini.rajendran@microchip.com> <20240223172920.673110-1-varshini.rajendran@microchip.com> From: claudiu beznea In-Reply-To: <20240223172920.673110-1-varshini.rajendran@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240303_042244_584876_B0A20933 X-CRM114-Status: GOOD ( 15.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 23.02.2024 19:29, Varshini Rajendran wrote: > Use sam9x7 pmc's compatible to lookup for in the SHDWC driver. > > Signed-off-by: Varshini Rajendran > Acked-by: Sebastian Reichel > --- > Changes in v4: > - Updated Acked-by tag > --- > drivers/power/reset/at91-sama5d2_shdwc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/power/reset/at91-sama5d2_shdwc.c b/drivers/power/reset/at91-sama5d2_shdwc.c > index 959ce0dbe91d..2121d7e74e12 100644 > --- a/drivers/power/reset/at91-sama5d2_shdwc.c > +++ b/drivers/power/reset/at91-sama5d2_shdwc.c > @@ -326,6 +326,7 @@ static const struct of_device_id at91_pmc_ids[] = { > { .compatible = "atmel,sama5d2-pmc" }, > { .compatible = "microchip,sam9x60-pmc" }, > { .compatible = "microchip,sama7g5-pmc" }, > + { .compatible = "microchip,sam9x7-pmc" }, Maybe would be better to add a phandle in DT instead of continuing populating this array. But then the backward compatibility should be preserved. I leave this to Sebastian. > { /* Sentinel. */ } > }; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel