Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3327902ybl; Fri, 20 Dec 2019 07:32:22 -0800 (PST) X-Google-Smtp-Source: APXvYqxhfmO4e5AEWivdGkFcen+gQS8+KXMde8utaHfTEXsXTNF0upPA4YnFP463GSV3gXuYn75F X-Received: by 2002:a05:6830:1707:: with SMTP id 7mr16181743otk.185.1576855942498; Fri, 20 Dec 2019 07:32:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576855942; cv=none; d=google.com; s=arc-20160816; b=05FOIkYqKwzbFXOTbXWB08yeNLTuAT1hz+wYeoDjAf4uR0pBZNe1BjqFVqdEKNDAVQ n0CGlne6ORWRmEtlixGAi2e4sVOSB3xwnzkHiS9qMyGzXJ75aShJBOG+8wMjhd9RtWK6 nVwCqblgN1+dSz2wr+4ljKuFamOHZJO083xPeBkeR60bbA0R3OlitGVWoVyDtmGqkIMo 9mSeGqCID6Y6qUWjaP4VgQqdU4QOy0f0q42ujuTeTtp+fHNz8EbtSRXbDl67eXBh9fI1 GfWNftptyg4ydWiCK6QmDYYTGDUyKws2FE7l4+InNBDxL/cZrehsyi6Q56Nx/n6bpKJY DIPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:ironport-sdr; bh=FOtPAl2SPgCN5/2u92ezozsuYJemCHc0tEyiYm/WLFk=; b=tOUejRjJQ8LYlBHp37hNH4sLz0L1UCXucOKoskyhepAv20jlzKnxUA5H408ndXTV0l z9i74YgUm5hq7XGxBSlt8ApyXbAaRJf2B+b2yPIPjOlVUGMDEaj9aBOOssKLqHBy3QMh xYlLW63ipMQi5W9zCll6QFcLHRWpf/yPArAQ06h0skCh111AUgstw5WeB5nFN7IIUh89 Pv4kk4esYUmlBfsjzFITUdq7L5fUQ6+3lUEAWBHSwrrryHS9ji/kuvtuS5f8JJ08Nijm lXUV9kd+NB3U4BN2UXtI8d0MEg1ijLQFEC1xa8qtAu9V/c6/EXZoyEV+XVK6RtDXlH3y y2Jw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i78si5034776oib.1.2019.12.20.07.32.09; Fri, 20 Dec 2019 07:32:22 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727462AbfLTPbZ (ORCPT + 99 others); Fri, 20 Dec 2019 10:31:25 -0500 Received: from esa6.microchip.iphmx.com ([216.71.154.253]:32238 "EHLO esa6.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727384AbfLTPbY (ORCPT ); Fri, 20 Dec 2019 10:31:24 -0500 Received-SPF: Pass (esa6.microchip.iphmx.com: domain of Claudiu.Beznea@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa6.microchip.iphmx.com; envelope-from="Claudiu.Beznea@microchip.com"; x-sender="Claudiu.Beznea@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com -exists:%{i}.spf.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa6.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa6.microchip.iphmx.com; envelope-from="Claudiu.Beznea@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa6.microchip.iphmx.com; dkim=none (message not signed) header.i=none; spf=Pass smtp.mailfrom=Claudiu.Beznea@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dmarc=pass (p=none dis=none) d=microchip.com IronPort-SDR: FTCSFpRtgN7lXrlDsFDpdQV+UrKxCvj219yph4+nQ228/FAh47AcjPT6Rdvg/cbrvhUg/PsvyM LeoWRRi6HRiHeE0j9UlUkJz4HSXMBh4IVGfh4bkSJprSmt1dE1HO34QufT6f/gWcOayWKLzHSy mp2rJWkJYGeg3yBfUqLTNQFbykT3C/RNw6zT1DoDf5+tv0DrtFlYcdZ0xQJYyK2pUPCRVp5vpV +ZrimcMoGhbhYdyVP47Rwdmcf7UchOO2785/e+FQhuYwcKjK5bqLqZUKdpHTqkLAXS3eEiC4o7 IdE= X-IronPort-AV: E=Sophos;i="5.69,336,1571727600"; d="scan'208";a="58490660" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 20 Dec 2019 08:31:23 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 20 Dec 2019 08:31:27 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.85.251) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.1713.5 via Frontend Transport; Fri, 20 Dec 2019 08:31:21 -0700 From: Claudiu Beznea To: , , CC: , , , Claudiu Beznea Subject: [PATCH v2 0/2] at91-sama5d2_shdwc shutdown controller Date: Fri, 20 Dec 2019 17:31:16 +0200 Message-ID: <1576855878-13213-1-git-send-email-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PMC master clock register offset is different b/w sam9x60 and other SoCs. Since there is a need of this register offset in shutdown procedure we need to have it per SoC. This is what this series does. Changes in v2: - do not use r5 as intermediary registers in at91_poweroff Claudiu Beznea (2): power: reset: at91-poweroff: introduce struct shdwc_reg_config power: reset: at91-poweroff: use proper master clock register offset drivers/power/reset/at91-sama5d2_shdwc.c | 72 +++++++++++++++++++++----------- 1 file changed, 47 insertions(+), 25 deletions(-) -- 2.7.4