From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=148.163.129.52 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796169128; b=uYJJn/EDqG//M2bUd9/XTpwZkozq5XO4lDCuPAr/8LNdhfZ3FLrzGPGSMwSblM7qHDyA JgrjPfKppeRfgw33K4bRuvzhCwEZ3uGbZFwLaRGjznI4QJxptBSXSrVGJvZFxKcMlk8+M FuO3jhAn9jScegbeoK3H+PzYPDwt7NYCa4ElBoC+lxt3RFEIyQSlEv/Vi83MHtGnnNdt6 A3OBfiShspRCNAdejied5KPsxDsvoQWtetHtXy3ZQ1APoG2EF+KFfbE4yRoqfis1MQQ99 FCBP8mddXevdffsEDBzlAxxCW1jeHqfytjFgf2xpDN6hMWcMU10pLaeSrKMxJWAmYiQ== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796169128; h=DMARC-Filter:DKIM-Signature:X-Virus-Scanned:Received:DKIM-Signature: Received:Received:From:To:CC:Subject:Thread-Topic:Thread-Index:Date: Message-ID:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:x-ms-publictraffictype: x-ms-traffictypediagnostic:x-ms-office365-filtering-correlation-id: x-ms-exchange-senderadcheck:x-ms-exchange-antispam-relay: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report: x-ms-exchange-antispam-messagedata-chunkcount: x-ms-exchange-antispam-messagedata-0:Content-Type: Content-Transfer-Encoding:MIME-Version: X-Exchange-RoutingPolicyChecked:X-OriginatorOrg: X-MS-Exchange-CrossTenant-AuthAs:X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-MDID:X-PPE-STACK: X-MDID-O:X-PPE-TRUSTED; bh=2XhuCF5Iz/AUaVoZtKY9WqBfxio9TqKLebpkyDb0IKw=; b=wdYvO4gBF9UsOF6BxTNTR35wsuK/d1MEGmeNSuUBTWd5iwq80744KG11WNyfQu+n8toz ++z/cbbay6jHFxV8YBfdtIF1rKGlczHrqaF7Q8Mff9iUGf9c0mGLrg94OTp96XLR0ZuYi psT6G7SshmuCjgIEzZCsnPz/g2HCZR3NwIrFyCIdRm7Ia4KDEvFHWdZYtiuZN/m4hKfiy KI9t05s/zl8AMRjFQp3fCBrOnud218UBiz9E5KAxzw5RCwCmyPr1n9jwoqzAzg8K8Rorv dGwjfZnVF3yXEmXdHbzmZyClm08Nzb9kMaI/5Qd77Vhp0THLlJCW2zUKX2ctJekjjvw== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=sitime.com; spf=pass smtp.mailfrom=sitime.com; dkim=pass header.d=sitime.com header.i=@sitime.com header.a=rsa-sha256 header.s=mail header.b=GeTFKzhT; dkim=pass header.d=Sitime.onmicrosoft.com header.i=@Sitime.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-Sitime-onmicrosoft-com header.b=RpLHRjNp; arc=pass header.oldest-pass=0 smtp.remote-ip=148.163.129.52 Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1FC0D60A2626; Tue, 1 Dec 2026 23:52:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1FC0D60A2626 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sitime.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sitime.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sitime.com header.i=@sitime.com header.a=rsa-sha256 header.s=mail header.b=GeTFKzhT; dkim=pass (2048-bit key) header.d=Sitime.onmicrosoft.com header.i=@Sitime.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-Sitime-onmicrosoft-com header.b=RpLHRjNp DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sitime.com; h=cc:cc:content-transfer-encoding:content-transfer-encoding:content-type:content-type:date:date:from:from:message-id:message-id:mime-version:mime-version:subject:subject:to:to; s=mail; bh=2XhuCF5Iz/AUaVoZtKY9WqBfxio9TqKLebpkyDb0IKw=; b=GeTFKzhTHCu0dRb0kAd4v3okB4PJk2N3c3nZK19yIcKyKXDw/5oZm9SSj+wJg3PZ3nKuhpiWhG1lrqux8OL82QjrMuxg6QyQ852zbLWEkzHCJlIg3zUiT2tSD3U2X+ZtW3B4pB5ZHYv2JnpmJjN9WuB/kYp+mneMdxtMxPcjsEOTd/2MFSZnQm53pnsekuLxNl6JYGqOt6HFtpU/pmptaLBS9ybqq7QNkmq8Mh8rzNPHS5qGQL34KaH6mrJzdLA6dJeZeWlEgqUpZsNbZUIHU83l6/8gXxKBzx7lL++qzP+q+TKUt/lHaf52AzCdJenyHDVx5Pwss8jDNQ+k+gGQ8A== X-Virus-Scanned: Proofpoint Essentials engine Received: from BN1PR04CU002.outbound.protection.outlook.com (mail-eastus2azon11020102.outbound.protection.outlook.com [52.101.56.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 3600B1C006A; Tue, 1 Dec 2026 23:52:06 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=me0TLeBlQvGHyY0lUpV0R8NVzPQZbcS6+78n6oK9IZm2hhaUwrbal/EsXpdXluzi6kbjg1v00c/QWjO2h0alHaEynHNhBp7Xe4xpe1NQvdA2KIMBJNNCxmB4sKyw0Ovvf2QBHgYWmbXYO/iANLO924ColzzsdMBD7ZvfzdFrFupp8nvxPwJod8ONudxWbN+byw07dd+Da39Ik4UKyU3Bqj7edf/nqD+WQSONs7NyZxTvBmkz8u8hnkRPtk6JQLY1LYEy78VHMNX3KOjTxxn86OgioklXmf0AbcSlgQhSTv2lC4XJn3pnKv38dBfMR7bZpM9asHJJ0wtr71AtFhXKjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2XhuCF5Iz/AUaVoZtKY9WqBfxio9TqKLebpkyDb0IKw=; b=TLEN6nspFpfWE6GmOxp3PMNdqFi0MG53KKgt4kcBZsm1SQkM3GcIQLz5lDVj3h19GZpBCumABPrYKi/4WfuwAwBJXaEebtMOoYeBOQJFI7lhytYOS/ZNmtlI77cMvrsa4QqsvM7ecSMVXu2/T24t+M5guz7lu5L5QWihDGMziOxvunWOQWVOWnYIXDfoPc8g6dbPxqfP0fw1YlAy246WZZyQO6RVueqLD5EWaDb4rl+wLnjEJAu9yXWjVQ7UVTGGge+2lGrKTkx8v1XLBlSZY94DVI+og4D1wfxuY3usZN4YAqdWkKNtIsEtp2tNTy6RsMkRV02ufDY6DLmibbBYig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sitime.com; dmarc=pass action=none header.from=sitime.com; dkim=pass header.d=sitime.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Sitime.onmicrosoft.com; s=selector1-Sitime-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2XhuCF5Iz/AUaVoZtKY9WqBfxio9TqKLebpkyDb0IKw=; b=RpLHRjNpvTTnaMT/m8HLEAq2cPGGzCpEZSrDHlS1BNGkZu/X4n4eUEl/onAWgE+XPqUvOpo66+b2gDP1KRQfMpeuiepPepYHx59ypZdqBxqRaZlZXxoaGGmkYA2neud81IXV38EoXCOoLGeyHCCAfVsPlPBdkmSoc/kLZm/b3YC3ePAaTEjo6HjTSh7T/pXFGjT1N+g0RZzNCT/P1hE4U/KZe9aZAm8xlPCBfHM97xaZhgs0ZK3nIMQrfLNQ+OWV9p++GPCAD6hRfGOTtXf2AyNU3E0ltpHmOGb6/9wnwv5gj5FFXM3MoomBzB8LB/1CGkkn41WubZ3SFqktNP+Dlg== Received: from LVWPR20MB994915.namprd20.prod.outlook.com (2603:10b6:408:3bf::16) by SJ2PR20MB6330.namprd20.prod.outlook.com (2603:10b6:a03:502::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.10; Tue, 1 Dec 2026 23:52:03 +0000 Received: from LVWPR20MB994915.namprd20.prod.outlook.com ([fe80::9551:3864:128b:8c01]) by LVWPR20MB994915.namprd20.prod.outlook.com ([fe80::9551:3864:128b:8c01%4]) with mapi id 15.21.0688.009; Tue, 1 Dec 2026 23:52:02 +0000 From: Ali Rouhi To: "jiri@resnulli.us" CC: "ivecera@redhat.com" , "vadim.fedorenko@linux.dev" , "arkadiusz.kubalewski@intel.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "robh@kernel.org" , "krzk+dt@kernel.org" , "conor+dt@kernel.org" , "prabhakar.mahadev-lad.rj@bp.renesas.com" , "cjubran@nvidia.com" , "Oleg.Zadorozhnyi@devoxsoftware.com" , "netdev@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH net-next v17 00/13] dpll: add SiTime SiT9531x DPLL clock driver Thread-Topic: [PATCH net-next v17 00/13] dpll: add SiTime SiT9531x DPLL clock driver Thread-Index: AQHdge72oqMqyhO660+KJwtk3qttWQ== Date: Tue, 1 Dec 2026 23:52:02 +0000 Message-ID: <20261201235202.97645-1-arouhi@sitime.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=sitime.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: LVWPR20MB994915:EE_|SJ2PR20MB6330:EE_ x-ms-office365-filtering-correlation-id: 6a6ad259-88ca-4802-ea79-08df500618f3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|376014|1800799024|23010399003|366016|38070700021|10067099003|56012099006|5023799004|261022075727099003|261026121527099003|261021123027099003|261022113327099003|261021121427099003|261026140227099003|261022105027099003|261028144727099003|261102123227099003|261009223027099003|261009220027099003|261009223327099003|261009221727099003|261009221227099003|18002099003|6133799003|3023799007; x-microsoft-antispam-message-info: u2UXS6deICuex8SQjLOuov3fVhyQ2UMXWshbop0GoX2aOSEYHtmXugMZElpIvggcel4SRsEOc3gk+tgvCDMkSVftzyRlt2LbkmiGxBmdaOKlBeir4FISuOg2EOPGJcpeB2WVQCOvFm0C2UmLzjolhO4kyqYdGDp8pEeH5sfhdlvD3SO/f2dTscHOf6fzTE2H8QHFIugPB2YaB1SoQg+Uvjf4fSoceYEKhRSjoVopBeSJaSnRcHi0i4FohOX9f3UHqz4ZgWShhc+6pNoZ6lKAgTSy3xPHo8CUzUm/uit3WWpKNxIj4T+VIHpEUo2vonC40OHzFncsxWlymy+IWLiVugWhGJ1Ja0S0ovAqtchMa4WojSyk7cmhzdh84bbIKAUHvebyVE1SZlx3PXWfHzQGOLYUdU9kyviSNcuJppURUtC7wBZWiHoBKcV9zsSu+rLDjAd9mivBqeEjOdXjgLb/fmjRhUMPNUTw5yKj4gzUP2+QhDS/aTpwP+XWE1kD1uQoNomdXJeP9L2Fit9Nid3NvGJXVLONPi4bCNx6NRnGsHMNb5RQ9ImgBQHh2kAl+ObjXwtRrCqBS9Jf5KycOCuha+L6kS4ENWzXzuMHDMsDr7s1aBr+fSUrnan8/kWrazPPOMmN4VOUrz3P1GPCvS1aEhi11VPvxyYFJ3weQ27ScFjUglZLCmtIbwsBq8Y7wOxS x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LVWPR20MB994915.namprd20.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(23010399003)(366016)(38070700021)(10067099003)(56012099006)(5023799004)(261022075727099003)(261026121527099003)(261021123027099003)(261022113327099003)(261021121427099003)(261026140227099003)(261022105027099003)(261028144727099003)(261102123227099003)(261009223027099003)(261009220027099003)(261009223327099003)(261009221727099003)(261009221227099003)(18002099003)(6133799003)(3023799007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?CzhJrPvPIJXBZ2L9GxgwHrJ3oywNwOAmj7qsyYgOjTyK2EiPq7Cnv1+P74?= =?iso-8859-1?Q?UxEG2455fwmGdU7NRCBk6EhcYgUlPAblDMyCCTTXfv+oC43GFkbTki5Swu?= =?iso-8859-1?Q?KrfiJuQci3PZo7xlzet4DPA7oMCGcc4sj5bzkdhX3ozos7GOEiGy1wHSST?= =?iso-8859-1?Q?S+Hw8Xy9ab44IwLUw+qqbOB4Ko4nUWfuQ9kiU9w7qlsH11XdHSL3EO09Ix?= =?iso-8859-1?Q?xu+e579+8zk1dMeqc/zSzzwvekU0buGqAWtsrs8yFj3MTDi7vJGmOWu9Oj?= =?iso-8859-1?Q?4glY+mb76Z48TzzEf4O0mwHpPw/XhR0x5+G2Qhl7ukX217UfjFqi4SZvWf?= =?iso-8859-1?Q?/GR/iPbQtKgPtHge79FS8wwwHUtx2goWXpj4yp7kBd3xC3NTB9G/7UWnWk?= =?iso-8859-1?Q?XRYhs2MTwgGR6h0bGM9GwW/B88dliHJLIN187MeCb5fBb9g9N0YEsJ0dpS?= =?iso-8859-1?Q?x24d+tlaanYj9xcNUpdiYbAK8LJZGXKZFvN2IqPIDDv5VNxLmLSMA8OtHI?= =?iso-8859-1?Q?z0FUCoGvluJ8kHFVpLVrgvPoY/D9RKUnMeTaWEHDSTqv9NFg9WHvYXZjMP?= =?iso-8859-1?Q?KGc9ycSTGOWj1SaqZBC7SepQdg271uitn4IhQiETMFzWT2pCZybwUIPff1?= =?iso-8859-1?Q?t4E6Jhb9UqVJg5nDapZVm77jWOEYsbUo+k4To8y2flbpTm10vTOTMsz+42?= =?iso-8859-1?Q?ky6xtCzX+y9ibWB2FT4ggX+FvF0vAaH1kqlZxdp79p+qQHmVM9ezI4kBxj?= =?iso-8859-1?Q?T5c9jqV4gSyHYyNMxkWXnUac8T7G5ohSU6RzR2Y5XIqHZz6UHejwbZjeQd?= =?iso-8859-1?Q?LSZPsHIk2HW+TnVXIkc54nnsvaW03Xj5w1hV1URKU4yY0PAB+YmMA99Vd0?= =?iso-8859-1?Q?+7oW3i0EXb3QaOsuq9Sye7hBVycSg5rS6NrNoVG9Ys/x7RDgqHO6u/UZbI?= =?iso-8859-1?Q?cjgXoMlNtr57xF7HOk7IIYN2mOQJMmiarKib6R6wMITlLPwsZncuJDY9a0?= =?iso-8859-1?Q?6og0dR8uYQKVpripK4jXgoitcWfgs/Ha2FGpmm1YE3VRQL0dtnqL0G5XbG?= =?iso-8859-1?Q?mcuBJ8lkptSKJp9IbMtC4RpdjfqfFtnqyi4fmlTAwx9+Z16SGzciaNtqZQ?= =?iso-8859-1?Q?HnYTzIwj9Ck2CFMjyGS1+7iV5HanmXe9JQ1Wd/wzT1H9fqkOsEqA7cgBMN?= =?iso-8859-1?Q?ogYzmDp/o1zPgWuZLJb6UMzyeBQvQhbPnySdKK1NOG0a0hNJQqAODfZVqJ?= =?iso-8859-1?Q?IGaiWcOQp2EcvSFrMxuulo7lXzdumfhy/ugn6FPQjYIX3nDlRFnFwfubJ8?= =?iso-8859-1?Q?hof9IlM0uEgblGugE3tY8PIE40OBogMhSfZ9bDsPol3SI189jKV9gqndzJ?= =?iso-8859-1?Q?FN4bLJJCTYbcpZKZ6HPT4K7ieJqo8x9i1B3VPunEW3bjCTu2wXMPuEPe/R?= =?iso-8859-1?Q?HtpslV5EFNGUOlacFoFiwKT1qvPQF5Twl4sXPgT2effCifgQlTBwX1hvrb?= =?iso-8859-1?Q?KZyOCisZxXjSBxmkoBne6DQokiUosbJA57O3YASe5L/oRNrBMqMI4hoMCW?= =?iso-8859-1?Q?Eq0iSL6IRpC7pJjVc0lznFVMWbjAaUO/o2AJmPl+h9plBTNHYYSoKBgkbc?= =?iso-8859-1?Q?7/+hfJRzKtad3qoe+q9P5lgIc0bBQD3kinXwUGIsexhTxiFhtcPOjvmrKs?= =?iso-8859-1?Q?2X3NCGj9sUN2nyb7nHP/rqUHPfA89cGLckiIuUEG9CP2IKYiaVBYo6/eYh?= =?iso-8859-1?Q?3o9lNJ1st5X0B52pqQRKgPEAsvLbX982KwiPspfvqHVeII?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Exchange-RoutingPolicyChecked: AfDnLNxq1xEgp3NKAd34dUFeb9kHCTC+xjygfsiXsPgzzQtEIEBSYWZwbDVpqAjK4z3QZ1ULF49g1VrOc4wuEVLccymyWfpCbOSF9VZO5TaE1lZnAXgBfsPPlZivjn7+jTaiIoXwY1IfJX10gtD0k51VSHUASlToINNjZa6QEH6eHyjtNjJwXRdPNtNh1oGB0Wvb0j4RQVckAFt8+mS/43diQZ8vrcBVlD8C6Ufo55kAmg7MVdjYXYuhotiTMxVq9f7U9QL3IoJwz1d9qpPpXYCZdHbP8UUp2/HBP4ThKDItoD9uy/L9D8YnfsOgilCepnPmNpspwFHzCiTq0IWNMA== X-OriginatorOrg: sitime.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: LVWPR20MB994915.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6a6ad259-88ca-4802-ea79-08df500618f3 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Dec 2026 23:52:02.7971 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8fb55916-cf10-4b0d-96f4-cf3952657263 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: eqKPNax3/vww4CK+WbFW77s3sMMFUxX+IbLsJ3vEIfDXWGxhJGvMzR0d3vGUx0utsvEQ3ha1G2v40uEeupOSnw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR20MB6330 X-MDID: 1796169126-iKIg3-DTuRKP X-PPE-STACK: {"stack":"us1"} X-MDID-O: us1;ut7;1796169126;iKIg3-DTuRKP;;ba04557de9d2da8490f5f1e6de07b967 X-PPE-TRUSTED: V=1;DIR=OUT; This series adds a DPLL subsystem driver for the SiTime SiT95316 and=0A= SiT95317 I2C clock generators. Each device integrates four PLLs with=0A= automatic reference selection and on-chip TDC phase-offset measurement,=0A= and is used for synchronization in telecom, networking, and data-center=0A= timing.=0A= =0A= Patch 1 changes the DPLL core: phase_offset_get and phase_adjust_get=0A= may return -ENODATA, and the core then leaves the attribute out of the=0A= pin message instead of failing the dump. Patches 11 and 12 use it. The=0A= rest is the device-tree binding, the driver under=0A= drivers/dpll/sit9531x/, and the MAINTAINERS entry.=0A= =0A= v1: https://lore.kernel.org/netdev/20260511211143.19792-1-arouhi@sitime.com= /=0A= v2: https://lore.kernel.org/netdev/20260520191943.73938-1-arouhi@sitime.com= /=0A= v3: https://lore.kernel.org/netdev/20260731180951.65725-1-arouhi@sitime.com= /=0A= v4: https://lore.kernel.org/netdev/20260806232439.27551-1-arouhi@sitime.com= /=0A= v5: https://lore.kernel.org/netdev/20260810230439.22866-1-arouhi@sitime.com= /=0A= v6: https://lore.kernel.org/netdev/20260812175337.18155-1-arouhi@sitime.com= /=0A= v7: https://lore.kernel.org/netdev/20260815221919.64226-1-arouhi@sitime.com= /=0A= v8: https://lore.kernel.org/netdev/20260902214030.20955-1-arouhi@sitime.com= /=0A= v9: https://lore.kernel.org/netdev/20260915000015.80480-1-arouhi@sitime.com= /=0A= v10: https://lore.kernel.org/netdev/20260921201108.42676-1-arouhi@sitime.co= m/=0A= v11: https://lore.kernel.org/netdev/20260930233714.87679-1-arouhi@sitime.co= m/=0A= v12: https://lore.kernel.org/netdev/20261009183151.78497-1-arouhi@sitime.co= m/=0A= v13: https://lore.kernel.org/netdev/20261013224131.27149-1-arouhi@sitime.co= m/=0A= v14: https://lore.kernel.org/netdev/20261016005823.13690-1-arouhi@sitime.co= m/=0A= v15: https://lore.kernel.org/netdev/20261110202607.55744-1-arouhi@sitime.co= m/=0A= v16: https://lore.kernel.org/netdev/20261119225752.41846-1-arouhi@sitime.co= m/=0A= =0A= The changes in v17 answer the netdev AI review and the Sashiko review=0A= of v16. Each finding of the netdev AI review has a reply on its patch:=0A= a fix folded into the patch that introduces the code, or a reason it=0A= does not hold. The two items left for patches after this series is=0A= merged are listed at the end of this letter.=0A= =0A= Jiri, Ivan, Vadim, Arkadiusz: each AI review of this series raises new=0A= findings. Which open items would you want resolved before the series=0A= is merged, and would you rather review the driver as a smaller series=0A= first?=0A= =0A= Ivan Vecera's Reviewed-by on patch 1 and Rob Herring's on patch 3 are=0A= carried. Patch 1 gained documentation of the -ENODATA return and no=0A= code; the schema in patch 3 gained one sentence in a description.=0A= =0A= Oleg and I used LLM coding assistants to write parts of the driver code=0A= and of the commit messages, and reviewed and revised what they=0A= produced.=0A= =0A= 1 dpll core: omit phase attributes a driver has no value for=0A= 2 bindings: vendor prefix=0A= 3 bindings: the device schema=0A= 4 basic support: paged regmap, variant detection, probe=0A= 5 DPLL types and pin properties from system firmware=0A= 6 register the DPLL devices and pins, and keep their state=0A= 7 input pin state and operational state on a DPLL=0A= 8 input pin priority=0A= 9 pin frequency, both directions=0A= 10 output pin state (mute)=0A= 11 output phase adjust=0A= 12 phase offset through the TDC=0A= 13 the inter-PLL sync line as a pair of pins=0A= =0A= The two bindings patches come before the driver, so the driver never=0A= matches on a compatible string before the schema that describes it is=0A= in the tree.=0A= =0A= Every patch builds with only the earlier patches applied: no patch=0A= calls something a later patch introduces. This was re-checked for this=0A= posting patch by patch with W=3D1 and with sparse, and kernel-doc -Wall=0A= is clean on every driver patch. checkpatch --strict at 80 columns is=0A= clean except for the "does MAINTAINERS need updating?" hint on patches=0A= 5 and 6, which add files under drivers/dpll/sit9531x/; patch 4 already=0A= covers that directory with an F: entry.=0A= =0A= Design decisions and hardware assumptions=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= =0A= Configuration ownership. The part runs a configuration it loaded before=0A= the driver binds, from efuse or from a blob the board applies. The=0A= driver reads that configuration and never resets the part, rewrites=0A= loop-filter coefficients or touches a register the configurator sets.=0A= What it changes at runtime is what the DPLL API asks it to change:=0A= input selection and priorities, output enables, rates and delays, the=0A= inter-PLL sync source. Where the loaded configuration puts a PLL=0A= outside what the API can express, the driver reports what the part=0A= does and withholds the control rather than reconfiguring the part:=0A= a PLL in manual input select is reported in MANUAL mode with its=0A= selected input CONNECTED and no selection or priority setters; a=0A= half-armed fast lock registers without the attribute.=0A= =0A= Automatic selection. A PLL whose profile arbitrates by priority is=0A= reported AUTOMATIC: the part picks among the listed inputs by the=0A= priorities it is given, and the driver keeps the table and the active=0A= selection register in step with the priorities it was asked for. A=0A= table write latches the active selection again and restarts=0A= acquisition. The driver writes the table of a PLL in holdover once when=0A= it loses its reference, once when the best source with signal changes,=0A= and once on the first sample after probe or resume. A PLL that stays=0A= frozen with the best source unchanged is re-selected after 10 s, then=0A= at doubling intervals up to 640 s: a PLL that locks and loses its=0A= source between two samples is never seen to track. Whether a PLL=0A= returns to a higher-priority input that recovers is the profile's=0A= REVERT_EN; the DPLL API has no attribute for revertive selection and no=0A= driver exposes its setting.=0A= =0A= Qualification. The driver selects on loss of signal and reports ACTIVE=0A= from it. The frequency-drift monitors are reported as a qualification=0A= failure on an input the PLL is not on; an input the part keeps tracking=0A= while its drift flag is set is reported as the part reports it.=0A= =0A= Register access. The part shows one 256-byte page at a time, selected=0A= through the register at offset 0xFF of every page and latched on the=0A= STOP of that write. The regmap is that flat window; the driver selects=0A= the page itself under its own lock, remembers the page it selected,=0A= forgets it on any failed transfer and on resume, and re-selects on the=0A= next access. No other regmap user, debugfs included, can move the=0A= page. The I2C_SLAVE_FORCE path of i2c-dev is the=0A= documented debugging override and is not defended against.=0A= =0A= Status. The poll reads the status registers twice a second and=0A= reports what it samples; a loss of lock that begins and ends between=0A= two samples is not reported. INTRB, where wired, brings the next=0A= sample forward. The handler and the poll acknowledge each documented=0A= notification latch by writing back only the bits found set.=0A= =0A= Clocks and supplies. Probe enables vdd, vddin and each VDDO supply the=0A= board names, then waits the 10 ms start-up time of the datasheet before=0A= the first access, with or without a reset line; resume waits the same=0A= time and reads the select modes, priority tables and output routing=0A= again. The XO is taken through devm_clk_get_optional_enabled() for its=0A= rate and to hold a reference, so clk_disable_unused() cannot gate an XO=0A= the loaded configuration runs from; the enable is not what starts the=0A= XO, and the reference goes back to the provider on unbind or a failed=0A= probe. A clock or a rail the part must keep without a driver bound is=0A= the provider's property (CLK_IS_CRITICAL, regulator-always-on), as for=0A= any part that is configured before Linux runs.=0A= =0A= Clock ID. The clock_id is built from the 9-byte die ID at page 0=0A= 0x41-0x49: the last eight bytes, with the first XORed into the most=0A= significant one. A die ID of all zeros or all ones, or one another=0A= bound part holds, gives the clock_id from the SiTime OUI, the I2C bus=0A= number and the address instead.=0A= =0A= The XO pin. The XO is the reference of the inner loop of every PLL, so=0A= the XO pin is CONNECTED on every DPLL, next to the input the outer loop=0A= tracks, with no capabilities and no state setter. CONNECTED is the=0A= state the uAPI has for an input in use that the user cannot change. The=0A= XO pin has no phase offset.=0A= =0A= VCO rate. The VCO rate is derived as Fref * DIVN, the XO rate (with the=0A= doubler) times the PLL page's static divider, which is how the register=0A= map defines the inner loop; the binding describes the XO and no other=0A= reference. The estimate is bounded: a product outside the PLL's VCO=0A= band is reported once, reads as 0 Hz and refuses every frequency and=0A= delay request, and inside the band a rate is programmed only when the=0A= estimated Fvco is a whole multiple of it. The read paths report the=0A= value computed from the product.=0A= =0A= Output pads. The driver reads the pad-enable bits only to tell a CMOS=0A= output from a differential one, and mutes an output by forcing its pads=0A= off. It reports an output muted when both pads are forced off, the only=0A= state its own mute produces; a profile that forces one pad is reported=0A= as driven. Probe records the force the loaded configuration sets on=0A= each pad, and an unmute writes that record back. The force registers=0A= act when written, under the output system's debug key and without a=0A= programming sequence.=0A= =0A= Phase offset. The measurement compares the selected input against a=0A= physical output the PLL drives, as the documented procedure does, so a=0A= PLL with no routed, enabled output reports no phase offset (the=0A= attribute is omitted). The offset is negative when the input edge comes=0A= first. A sample that cannot be taken, including one taken while the=0A= input disappears, leaves the attribute out rather than failing the=0A= dump.=0A= =0A= Notifications. The driver sends again a change notification it could=0A= not build for a change it made itself (a failed request that moved=0A= hardware, a read-through that moved a value, the sync-line source). It=0A= does not retry the notifications the core sends after a successful=0A= request: dpll_pin_prio_set() and dpll_pin_state_set() discard that=0A= result for every driver, and a retry in the driver would notify the=0A= change twice.=0A= =0A= Recovery after a failed write. A sequence that fails part-way leaves=0A= the part in a state the driver records as pending: a priority table=0A= not latched, a forced holdover to release, a delay to re-time, an NVM=0A= bank update, an output realignment, open output loops, a receiver to=0A= power down, a debug window to close, a sync-line page half written.=0A= The poll retries each until the write succeeds; unbind retries once=0A= more and warns about what is left; resume drops the pending bank=0A= update, receiver power-down and realignment, since the registers it=0A= re-reads describe the part after a suspend that may have reloaded it,=0A= and keeps the sync-line ownership records until a retry resolves them.=0A= =0A= Changes in v17:=0A= =0A= - Patch 1: dpll.rst, the two callbacks in struct dpll_pin_ops and the=0A= netlink spec document the -ENODATA return.=0A= =0A= - Patch 3: the description of supported-frequencies-hz says a rate is=0A= one 32-bit cell.=0A= =0A= - Patch 4: probe enables the supplies and waits the start-up time=0A= before the first access.=0A= =0A= - Patch 5: an output without supported-frequencies-hz advertises the=0A= datasheet rates, 1 Hz to 800 MHz and 61.44 MHz times 15, 20, 24,=0A= 30, 32, 40 and 48. A 0 Hz entry is refused as malformed.=0A= =0A= - Patch 6: the clock_id comes from the die ID. The INTRB handler and=0A= the poll acknowledge every documented notification latch; an=0A= interrupt with no latch set is not handled. Resume waits the=0A= start-up time and reads the configuration again.=0A= =0A= - Patch 7: a PLL that stays frozen is re-selected, as described above.=0A= On manual input select the selected input is CONNECTED and a state=0A= request is refused with a message. A failed receiver power-down and=0A= a failed close of the PLL debug key are retried.=0A= =0A= - Patch 8: the XO pin of an automatic PLL reports its priority,=0A= read-only. A state request that succeeds is notified once.=0A= =0A= - Patch 9: the setter accepts up to 2949.12 MHz, and 250 MHz on an=0A= LVCMOS output; the getter rounds to the nearest hertz. A failed NVM=0A= bank update is retried. The flush trigger falls before the trigger=0A= select is put back.=0A= =0A= - Patch 10: an unmute writes back the force the loaded configuration=0A= set on each pad.=0A= =0A= - Patch 11: the delay getter has no value while a delay waits for its=0A= re-time or update, or while the Fvco is outside the band. A request=0A= equal to the programmed delay writes nothing. A flush after a rate=0A= change waits for a pending bank update and stays pending until its=0A= trigger falls.=0A= =0A= - Patch 12: no phase offset while the Fvco is outside the band.=0A= =0A= - Patch 13: the getters answer from the kept record when a read=0A= fails. A failed close of an EXT page debug key is retried. A=0A= disconnect whose write fails writes the register back, so a PLL=0A= that still drives the line stays its source.=0A= =0A= - Macros, helpers and struct fields move to the patch that first=0A= uses them.=0A= =0A= Left for patches on top of this series once it is merged:=0A= =0A= - reporting a loss of lock shorter than one poll period from the=0A= notification latches=0A= - deriving the VCO rate of a PLL fed from another PLL=0A= =0A= Ali Rouhi (2):=0A= dt-bindings: vendor-prefixes: add SiTime Corporation=0A= dt-bindings: dpll: add SiTime SiT95316 clock generator=0A= =0A= Oleg Zadorozhnyi (11):=0A= dpll: omit pin phase attributes the driver has no value for=0A= dpll: add basic SiTime SiT9531x support=0A= dpll: sit9531x: read DPLL types and pin properties from system=0A= firmware=0A= dpll: sit9531x: register DPLL devices and pins=0A= dpll: sit9531x: implement input pin state on a DPLL=0A= dpll: sit9531x: add support to get and set priority on input pins=0A= dpll: sit9531x: add support to get and set frequency on pins=0A= dpll: sit9531x: implement output pin state on a DPLL=0A= dpll: sit9531x: add support to adjust output phase=0A= dpll: sit9531x: add support to get phase offset on the connected input=0A= dpll: sit9531x: model the inter-PLL sync line as a pair of pins=0A= =0A= .../bindings/dpll/sitime,sit95316.yaml | 215 +=0A= .../devicetree/bindings/vendor-prefixes.yaml | 2 +=0A= Documentation/driver-api/dpll.rst | 11 +-=0A= Documentation/netlink/specs/dpll.yaml | 6 +=0A= MAINTAINERS | 7 +=0A= drivers/dpll/Kconfig | 2 +=0A= drivers/dpll/Makefile | 1 +=0A= drivers/dpll/dpll_netlink.c | 14 +-=0A= drivers/dpll/sit9531x/Kconfig | 17 +=0A= drivers/dpll/sit9531x/Makefile | 4 +=0A= drivers/dpll/sit9531x/core.c | 5816 +++++++++++++++++=0A= drivers/dpll/sit9531x/core.h | 496 ++=0A= drivers/dpll/sit9531x/dpll.c | 1632 +++++=0A= drivers/dpll/sit9531x/dpll.h | 64 +=0A= drivers/dpll/sit9531x/prop.c | 406 ++=0A= drivers/dpll/sit9531x/prop.h | 37 +=0A= drivers/dpll/sit9531x/regs.h | 353 +=0A= include/linux/dpll.h | 2 +=0A= 18 files changed, 9079 insertions(+), 6 deletions(-)=0A= create mode 100644 Documentation/devicetree/bindings/dpll/sitime,sit95316.= yaml=0A= create mode 100644 drivers/dpll/sit9531x/Kconfig=0A= create mode 100644 drivers/dpll/sit9531x/Makefile=0A= create mode 100644 drivers/dpll/sit9531x/core.c=0A= create mode 100644 drivers/dpll/sit9531x/core.h=0A= create mode 100644 drivers/dpll/sit9531x/dpll.c=0A= create mode 100644 drivers/dpll/sit9531x/dpll.h=0A= create mode 100644 drivers/dpll/sit9531x/prop.c=0A= create mode 100644 drivers/dpll/sit9531x/prop.h=0A= create mode 100644 drivers/dpll/sit9531x/regs.h=0A= =0A= =0A= base-commit: fa5196392691051963726787944db872420dfa75=0A= -- =0A= 2.39.2 (Apple Git-143)=0A= =0A=